Historical (SWAPS ONLY)

Retrieves the historical time series OHLCV data for the specified instrument and exchange(s).

❗️

Deprecation Notice

This endpoint is now considered a legacy version and will be deprecated on September 30, 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.

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].

Exchanges Supported

This endpoint supports Bitmex, Huobi, Okex, and FTX.US.

📘

Time Range Limit

The maximum time range (difference between startDate and endDate) is 1 day.

🚧

Not specifying startDate and endDate

If the startDate and endDate query parameters are not provided, the API will return the data from the previous 1 day with a 1 minute frequency.

RESPONSE DATA
FieldTypeDescription
{metadata}objectThe metadata associated with the data.
{metadata}.startDatenumber | stringThe first date/time for which data is available.
{metadata}.endDatenumber | stringThe last date/time for which data is available.
[data]arrayThe OHLCV data corresponding to the columns fields, aggregated by exchange.
[data].exchangestringThe name of the exchange.
[data].timestampnumber | stringThe timestamp associated with this record.
[data].opennumberThe value when the bar/time interval started.
[data].highnumberThe highest value within the bar/time interval.
[data].lownumberThe lowest value within the bar/time interval.
[data].closenumberThe value when the bar/time interval closed.
[data].volumenumberThe volume within the bar/time interval.
Language
Credentials
Header
Click Try It! to start a request and see the response here!