Get market order book history
Get historical order book snapshots for market tokens.
This endpoint always returns order books for all tokens in the market.
Use /v1/tokens/{token_id}/books for single-token queries.
Pagination limits:
- Default
limit: 100 points per page - Maximum
limit: 200 points per page - Use
cursorfrommetadata.next_cursorto fetch the next page
Aggregation: The last (most recent) order book in each interval is returned.
Format: JSON only.
Authorizations
Path Parameters
Market ID or market slug.
1 - 200"618831"
Query Parameters
Inclusive range start. Accepts ISO 8601 timestamp or Unix seconds.
"2025-09-04T00:00:00Z"
"1756944000"
Exclusive range end. Accepts ISO 8601 timestamp or Unix seconds.
"2025-09-05T00:00:00Z"
"1757030400"
Aggregation bucket size.
1s, 1m, 5m, 10m, 15m, 1h, 6h, 1d Maximum number of points to return in this page. Default: 100, max: 200.
x >= 1100
Opaque cursor from a previous response metadata.next_cursor.
Response
Historical order book snapshots for all market tokens.
Response for GET /markets/{id_or_slug}/books.
Canonical market ID.
"618831"
Applied resolution.
"1h"
Mapping of token label to token ID.
Order book snapshots grouped by token label.
Pagination metadata for this history page.