Delivers historical ticker data for Spot market trading pairs, providing bid, ask, mid, and last prices, along with respective volumes, timestamps, and sequencing for tracking market price changes over time.
startDate
and endDate
) is 731 days (2 years).startDate
and endDate
query parameters are not provided, the API will return the data from the previous 24 hours.The spot instrument for which data will be retrieved.
The exchange for which data should be retrieved. Only 1 exchange is allowed.
[Optional] Payload only includes data after this date (inclusive). [Defaults] Beginning of the current hour (max time range is 1 hour). [Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
[Optional] Payload only includes data before this date (exclusive). [Defaults] One hour after the beginning of the current hour (max time range is 1 hour). [Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
[Optional] Time format of the timestamps in the return payload.
milliseconds
, ms*
, iso
, iso8601
, hr
, human_readable
[Optional] Specifies the direction in which the data is sorted (by timestamp). [Defaults] asc (ascending order). [Usage Conditions] This parameter can only be used if the startDate
and endDate
timeframe is within the most recent 24 hours, or if the startDate
and endDate
parameters are not used at all. [Examples] ascending | descending | asc | desc
200
The response is of type object
.