Market depth (snapshot)
Last updated
Last updated
This endpoint uses our Bids and asks (snapshot) as source data and enhances its raw data with the Market Depth metric.
Market Depth provides insight into the "depth" of an exchange's order book by aggregating the volume of bids and asks within 0-10% of the best bid or ask, respectively. A higher volume of bids and asks at each level implies more liquidity.
We are unable to collect the full 10% snapshot from all exchanges we cover. Thus, for some exchanges, 'Market Depth' does not accurately portray the exchange's order book volume.
region
Yes
Choose between eu
and us
.
exchange
Yes
Exchange code.
instrument_class
Yes
instrument
Yes
continuation_token
No
start_time
No
Starting time in ISO 8601 (inclusive). Automatically included in continuation tokens.
end_time
No
Ending time in ISO 8601 (exclusive). Automatically included in continuation tokens.
page_size
No
sort
No
Return the data in ascending asc
or descending desc
order.
Default: desc.
Automatically included in continuation tokens.
poll_timestamp
The timestamp at which the raw data snapshot was taken.
poll_date
The date at which the raw data snapshot was taken.
timestamp
The timestamp provided by the exchange. null
when not provided.
bid_volume_x
The volume of bids placed within 0 and x% of the best bid. This is what we call "Market Depth".
ask_volume_x
The volume of asks placed within 0 and x% of the best ask. This is what we call "Market Depth"
See
Instrument class
.
See
Instrument code
.
See
See
Number of snapshots to return data for. (default: 10, max: 100). See Automatically included in continuation tokens.
"Snapshots" show a point-in-time view generated every 30 seconds, whereas "aggregations" show an aggregation of all 30-second snapshots from the period requested.