https://api.polymarketdata.co/v1, unchanged, with its documentation at docs.polymarketdata.co. Your API key works on both, and each API has its own rate limit, so v2 requests never count against your v1 limit.
The endpoints
The parameters
What behaves differently
- IDs carry the venue. A Polymarket market is
polymarket:3215007, orpolymarket:<slug>. See Venues and IDs. - Tokens are gone. There is one book per market, the YES side, and
outcome=nogives the other outcome. Each outcome’s token ID is still in the market’soutcomes. See The YES-side book. - Coarse prices are closes, not averages. At
10m,1h,6hand1d, a price row gives the state at the end of its interval, not the average over it. - Books are as of each interval’s end, not its start, so they line up with prices on
t. - Statistics replace metrics. On Polymarket,
/statsgives the venue’s own figures (source: venue_reported):volume_cumis the running total in US dollars,volumeper interval is given at1donly, andliquidityandspreadare the venue’s. - Errors have stable codes. Every error is
{"error": {"code", "message", "request_id", "details"}}; see Errors. - Limits are counted in units, not requests. Most requests cost 1 unit; sub-minute and tick requests cost more. See Limits.
New in v2
- Kalshi, alongside Polymarket, through the same endpoints.
- Sub-minute data: books at any millisecond, prices and books down to 100 milliseconds, and every best bid and ask change, book change and trade.
- Candles with volume, trade count and VWAP.
- Streams: a whole window in one request, as NDJSON or CSV.