Get Order Book
Order Book
Get Order Book
Fetch a historical orderbook snapshot at any point in time.
GET
Get Order Book
Returns the full L2 orderbook (bids + asks at all price levels) for an outcome token.Documentation Index
Fetch the complete documentation index at: https://docs.polydata.live/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Bearer pd_live_xxxxxQuery Parameters
Outcome token ID (Polymarket’s CLOB token ID).
Unix timestamp in milliseconds. Returns the snapshot at or before this time. If omitted, returns the most recent available.
Maximum number of price levels to return per side. Range: 1-100.
Response
Market condition ID
Outcome token ID
Snapshot timestamp (ms)
ISO datetime string
Highest bid price
Lowest ask price
Array of
{price, size}, sorted descending by priceArray of
{price, size}, sorted ascending by priceExample
Sample response
Errors
| Status | Error | Cause |
|---|---|---|
| 401 | invalid_api_key | Missing or wrong API key |
| 403 | data_access_denied | Your plan can’t access this timestamp |
| 404 | (no error code) | No snapshot available for this asset_id/timestamp |