Skip to main content
GET
Get Book History
Request Weight: 10
Cached 2s — a request served from cache costs 1

Query Parameters

instrument_id
integer<int64>
required

Instrument ID

Required range: 0 <= x <= 4294967295
start_timestamp
integer
required

Start timestamp in milliseconds

Example:

1767225600000

end_timestamp
integer

End timestamp in milliseconds

Example:

1767229200000

depth
integer
default:20

Maximum number of levels per side in each snapshot. Levels are already limited to 100 bps from the best price, so a side may hold fewer.

Required range: 1 <= x <= 100
cursor
string

Opaque keyset pagination cursor over snapshot timestamp. Present while more is true; pass it as cursor on the next request with the same instrument_id, window, depth and sort.

Example:

"eyJ0cyI6MTc2NzIyNTYwMDAwMH0"

sort
enum<string>
default:asc

Time sort direction. asc (default) returns oldest snapshots first; desc returns newest first.

Available options:
asc,
desc

Response

Book history response.

data
object[]
required
Maximum array length: 360
more
boolean
required

More data available

cursor
string

Opaque keyset pagination cursor over snapshot timestamp. Present while more is true; pass it as cursor on the next request with the same instrument_id, window, depth and sort.

Example:

"eyJ0cyI6MTc2NzIyNTYwMDAwMH0"