Market Orderbook
Data Freshness & Historical Coverage
For data freshness and historical coverage, see Data Coverage by Chain; this endpoint follows it except where noted below.
Returns a current, point-in-time snapshot of the full bid/ask order book — there is no date-range parameter or historical look-back, and it reflects the latest available state within the standard live latency.
Get the full bid/ask orderbook for a Polymarket prediction market. Data is polled from the Polymarket CLOB API every ~60 seconds with MD5 change detection.
What it helps to answer:
What is the current bid/ask depth for a prediction market?
How much liquidity is available at each price level?
What is the current spread?
API key for authentication
Request for orderbook endpoint.
Polymarket market ID
654412Orderbook data
Bad Request
Unauthorized
Payment Required
Forbidden
Not Found
Unprocessable Content
Too Many Requests
Internal Server Error
Bad Gateway
Service Unavailable
Gateway Timeout
POST /api/v1/prediction-market/orderbook HTTP/1.1
Host: api.nansen.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 60
{
"market_id": "654412",
"pagination": {
"page": 1,
"per_page": 10
}
}{
"pagination": {
"page": 1,
"per_page": 10,
"is_last_page": true
},
"data": [
{
"market_id": "654412",
"event_id": "text",
"outcome": "Yes",
"outcome_index": 1,
"asset_id": "71321045679252212",
"side": "buy",
"price": 0.52,
"size": 1000,
"cumulative_size": 5000,
"snapshot_timestamp": "2024-11-01T12:00:00"
}
]
}Last updated
Was this helpful?