Historical (DEPRECATED)

Retrieves the historical (time series) trade data 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

FieldTypeDescription
dataobjectThe trade data corresponding to the columns fields.
[EXCHANGE]arrayThe array containing arrays of trade data.
metadataobjectThe metadata associated with the trade data.
columnsarrayThe name of the columns associated with the returned data e.g. [ timestamp, tradeId, ...].
timestampnumber | stringThe timestamp at which the trade was executed.
timestampNanosecondsnumberThe nanosecond part of the timestamp where applicable.
isBuybooleantrue if the trade is a buy, false otherwise.
pricenumberThe price at which the asset was traded.
volumenumberThe total amount of that asset that was traded.
tradeIdnumber | stringThe exchange provided id of the trade.
Language
Credentials
Header
Click Try It! to start a request and see the response here!