Full Aggregation
Read more about how the aggregation period works: Order Book Aggregations
What is this endpoint for?
This endpoint returns the following metrics, averaged for the requested period.
Bid volume
Ask volume
Bid-ask spread
Price Slippage
Read more about how the aggregation period works here: Order Book Aggregations.
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.
Endpoint
Parameters
Parameter | Required | Description |
---|---|---|
| Yes | |
| Yes | |
| Yes | |
| No | Ending time in ISO 8601 (exclusive). Automatically included in continuation tokens. |
| No | See Pagination |
| No | The interval parameter is suffixed with |
| No | Number of snapshots to return data for. (default: 10, max: 100). See Pagination Automatically included in continuation tokens. |
| No | Return the data in ascending |
| No | Starting time in ISO 8601 (inclusive). Automatically included in continuation tokens. |
| No | Order size (in quote asset) for which to calculate the percentage of slippage. Default: 0. When |
| No | Price point for which to calculate slippage from. Either from the mid price ( |
Fields
Field | Description |
---|---|
| The timestamp at which the interval begins. |
| The average volume of bids placed within 0 and x% of the best bid over a specified interval. |
| The average volume of asks placed within 0 and x% of the best ask over a specified interval. |
| The average difference between the best bid and the best ask over a specified interval. |
| The average mid price between the best bid and the best ask over a specified interval |
| The average percentage of price slippage for a market buy order over a specified interval. |
| The average percentage of price slippage for a market sell order over a specified interval. |
Request examples
Response example
Last updated