Historical orderbook
Polymarket
Historical orderbook
Full orderbook snapshots with bids, asks, and derived best bid/ask per token.
GET
Historical orderbook
Full orderbook snapshots with bids, asks, and derived best bid/ask per token. Without
start_time/end_time, returns the most recent snapshots.
Polymarket markets have two tokens (YES and NO) per condition. Each snapshot row is for a single token. Use the
asset_id parameter to filter to a specific token, or omit it to get both.Parameters
string
required
Polymarket condition ID (
0x...).string
Filter by specific token ID. Omit to get both YES and NO tokens.
integer
Start time in Unix ms. Omit with
end_time to get latest data.integer
End time in Unix ms. Omit with
start_time to get latest data.string
default:"1m"
Snapshot interval:
1m or 5m.integer
default:"100"
Max rows per page (1-200).
string
Cursor from previous response for next page.