
Complete public data for Polymarket prediction markets: discover events and markets, live odds and full order books, historical price candles, recent trades, top holders, comments, resolution state, and any wallet's positions, activity and PnL. One consistent schema — no juggling Gamma, CLOB and Data API hosts, token IDs or pagination quirks. Public market data only; this API does not place or cancel orders. Identify markets by human `slug` (from the Polymarket URL). Price endpoints use the outcome `token_id` returned by `Get Market Details`. Wallet endpoints take a Polygon address. Unknown slugs, markets, and wallets return HTTP 404. Invalid parameters return HTTP 400.
Returns a page of events with title, slug, volume, liquidity, start/end dates and nested markets. Filter by active/closed state, tag or volume. Use Get Event Details for a single event by slug.
If true, only currently active events. Default true.
If true, only resolved/closed events. Default false.
Filter by tag slug, e.g. politics, crypto, sports, pop-culture.
Sort field. One of volume, liquidity, start_date, end_date, competitive. Default volume.
Sort direction. Default false (highest first).
Results per page, 1-100. Default 20.
Number of results to skip. Default 0.
Language:
Client:
fetch('https://api.apivex.com/polymarket/api/events/list?active=True&order=volume&limit=20', {
method: 'GET',
headers: {
'x-apivex-key': 'YOUR_API_KEY'
}
})
.then(response => response.json())
.then(data => console.log(data));