Skip to main content
GET
Polymarket historical orderbook
Full orderbook snapshots with bids, asks, and derived best bid/ask per token. Polymarket markets have two tokens (YES and NO) per condition; each snapshot row is for a single token. Use asset_id to filter to one token, or omit it to return both.

Request

Query parameters

string
required
Polymarket condition ID (0x...). Also accepts the numeric source_market_id.
string
CLOB token ID. Omit to return both YES and NO tokens.
string
Range start in Unix milliseconds. Must be set with end_time.
string
Range end in Unix milliseconds.
string
default:"1m"
Bucket size for range queries: 1m or 5m.
integer
default:"100"
Max rows per page (1–200).
string
Cursor from the previous response.

Examples

Latest snapshots