Skip to main content
v1 stays where it is, at 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, or polymarket:<slug>. See Venues and IDs.
  • Tokens are gone. There is one book per market, the YES side, and outcome=no gives the other outcome. Each outcome’s token ID is still in the market’s outcomes. See The YES-side book.
  • Coarse prices are closes, not averages. At 10m, 1h, 6h and 1d, 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, /stats gives the venue’s own figures (source: venue_reported): volume_cum is the running total in US dollars, volume per interval is given at 1d only, and liquidity and spread are 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.