Get Book Depth History
Get a time series of order book liquidity for an instrument: mid price, spread, and resting notional within 5, 10, 20, 50 and 100 bps of mid on each side.
Built from the same 30-second snapshots as /v1/info/book-history. At the
30s interval each row is one snapshot; at coarser intervals each value is
the mean over the snapshots in the bucket, and samples says how many
there were. Snapshots where either side of the book is empty have no mid,
so they count toward samples but not toward mid, spread_bps or the
depth bands. A bucket with no two-sided snapshot returns those fields as
null.
timestamp is the bucket open time. Buckets with no snapshot are omitted.
Only closed 30-second windows are included: the window the current time
falls in never contributes, even when end_timestamp is later.
If no end time is provided, the current time will be used.
Maximum of 1000 entries returned per request. History starts 2026-05-05.
Timestamps are inclusive Unix milliseconds.
After a stock split, mid values recorded before it are returned in
current share units (divided by the split ratio). Notional and bps values
do not change with a split.
Cached 2s — a request served from cache costs 1