Price Slippage
You can also get Price Slippage from the Full Snapshot endpoint.
What is this endpoint for?
This endpoint uses our Bids and Asks as source data and enhances its raw data with the Price Slippage metric.
Price Slippage calculates the potential slippage for a market buy order if it were placed at the time the Order Book Snapshot was taken.
Endpoint
Parameters
Parameter | Required | Description |
---|---|---|
| Yes | |
| Yes | |
| Yes | |
| No | See Pagination |
| No | Number of snapshots to return data for.
Default: |
| No | Return the data in ascending (asc) or descending (desc) order.
Default: |
| No | Starting time in ISO 8601 (inclusive). Automatically included in continuation tokens. |
| No | Ending time in ISO 8601 (exclusive). 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 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. |
Request examples
Response example
Last updated