Full Snapshot
What is this endpoint for?
This endpoint uses our Bids and Asks as source data and enhances its raw data with the following metrics:
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.
Price Slippage - calculates the potential slippage for a market buy order if it were placed at the time the Order Book Snapshot was taken.
Bid-ask Spread - The bid-ask spread is the difference between the highest price that a buyer is willing to pay for an asset (the bid) and the lowest price that a seller is willing to accept (the ask). A smaller spread implies more liquidity.
Endpoint
Parameters
Parameter | Required | Description |
---|---|---|
| Yes | |
| Yes | |
| Yes | |
| No | See Pagination |
| No | Ending time in ISO 8601 (exclusive). Automatically included in continuation tokens. |
| No | Number of orders to return on bid and ask side per snapshot.
To retrieve the best bid/ask, set this parameter to |
| No | Number of snapshots to return (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: |
| No | Price point for which to calculate slippage from. Either from the mid-price ( |
Fields
Field | Description |
---|---|
| The timestamp at which the raw data snapshot was taken. |
| The date at which the raw data snapshot was taken. |
| The timestamp provided by the exchange. |
| The volume of bids placed within 0 and x% of the best bid. This is what we call "Market Depth" |
| The volume of asks placed within 0 and x% of the best ask. This is what we call "Market Depth" |
| The difference between the best bid and the best ask at the time the snapshot was taken. This is what we call "Bid Ask Spread" |
| The mid price between the best bid and the best ask. |
| The percentage price slippage for a market buy order placed at the time that the order book snapshot was taken. |
| The percentage price slippage for a market sell order placed at the time that the order book snapshot was taken. |
| The sell orders in the snapshot. If the |
| The buy orders in the snapshot. If the |
Request example
Response example
Last updated