Retrieves the historical ticker, bid/ask/mid/last, for the specified pair.
Deprecation Notice
This endpoint is now considered a legacy version and will be deprecated on June 28, 2024. We strongly encourage all users to migrate to the new version of this endpoint for improved performance, enhanced features, and better support. The new version can be found here.
For details on the new versioning, please visit this page here. We recommend updating your applications at the earliest convenience to ensure uninterrupted service and access to the latest functionalities.
For any questions or assistance during migration, please contact our support team at [email protected].
Time Range Limit
The maximum time range (difference between startDate and endDate) is 1 hour.
In order to get more than the maximum allowed, you can use the
startDate
&endDate
parameters to move the time frame window to get the next n days/hours/minutes of data.
Not specifying startDate and endDate
If the startDate and endDate query parameters are not provided, the API will return the data from the previous hour.
Response Data
Field | Type | Description |
---|---|---|
metadata | object | The metadata associated with the ticker data. |
data | object | The ticker data corresponding to the columns fields. |
columns | array | The name of the columns associated with the returned data e.g. [ timestamp, bid, ...] . |
timestamp | number or string | The timestamp at which the order was placed. |
bid | number | The bid of the market pair. |
ask | number | The ask of the market pair. |
mid | number | The mid of the market pair. |
last | number | The last of the market pair. |
sequence | number or null | The sequence for pair (equal to null if it is not provided by the exchange). |
bidVolume | number or null | It represents the requested order size of all best bids. |
askVolume | number or null | It represents the requested order size of all best asks. |