Pairs Historical

Retrieves the historical TWAP for the specified pair - this is the global TWAP across all exchanges which supports this pair, including all cross rates pairs.

Price is calculated as a time weighted moving average across all exchanges.

If the parameter exchange is specified, the data returned is the TWAP for that pair on that exchange.

📘

Time Range Limit

The maximum time range (difference between startDate and endDate) is:

  • 1 day with minutely data
  • 31 days with hourly data
  • 1 year with daily 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 24 hours with a 1 minute frequency.

🚧

Volume Field

For accurate volume information, please refer to our 'OHLCV - Historical' endpoints instead. As an alternative, the 'Metrics - Asset Volume Historical' endpoint can be used to obtain asset volume per exchange.

Response Data

FieldTypeDescription
timestampnumber | stringThe time at which the event occured.
pairstringThe name of the pair.
pricenumberThe price of the pair.
volumenumberThe volume of the pair at this point in time.

*Note: this field will soon be deprecated

For accurate volume information, please refer to our 'OHLCV - Historical' endpoints instead. As an alternative, the 'Metrics - Asset Volume Historical' endpoint can be used to obtain asset volume per exchange.
twapnumberThe Time Weighted Average Price.
Language
Credentials
Header
Click Try It! to start a request and see the response here!