get https://web3api.io/api/v2/market/spot/order-book-snapshots//historical
Retrieves the order book data for the specified pair.
Time Range Limit
The maximum time range (difference between startDate and endDate) is 10 minutes.
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return the data from the previous minute.
Response Data
Field | Type | Description |
---|---|---|
metadata | object | The metadata associated with the order book data. |
data | object | The order book data corresponding to the columns fields. |
columns | array | The name of the columns associated with the returned data e.g. [ price, volume, ...] . |
ask | array | The ask price data. |
bid | array | The bid price data. |
price | string | The quote price of the asset pair. |
volume | number | The number of assets traded in a specific asset pair within a given period of time. |
numOrders | number | The number of unique orders (when available). |
timestamp | number | string | The time at which the event occurred provided by the exchange. |