Get Book History
Get historical L2 order book snapshots for an instrument, one every 30 seconds.
Each snapshot is the resting book aggregated by price level across all
accounts: price and total size only, with no account or order detail.
Levels are limited to those within 100 bps of the best price on their own
side, then truncated to depth levels per side.
timestamp is the start of the 30-second window the snapshot belongs to,
so snapshots fall on an exact :00 / :30 grid. The book is captured once at
an unspecified moment inside each window. Only closed windows are served:
the window the current time falls in never appears, even when
end_timestamp is later, so the newest snapshot is at most about 60
seconds old.
Windows with no snapshot (for example during maintenance) are omitted,
not filled. A side with no resting orders within range is an empty array.
If no end time is provided, the current time will be used.
Maximum of 360 snapshots (3 hours) returned per request. To page through
longer windows, pass the cursor returned by the previous page, keeping
instrument_id, the window, depth and sort the same across pages.
History starts 2026-05-05. Timestamps are inclusive Unix milliseconds.
After a stock split, snapshots recorded before it are returned in current share units: prices divided by the split ratio and sizes multiplied by it.
Cached 2s — a request served from cache costs 1
Query Parameters
Response
Book history response.