Information

Retrieves information about supported exchange-pairs for ohlcv. Includes data for both centralized and decentralized exchange data.

⚠️

Important Update

The old endpoint https://api.amberdata.com/market/spot/ohlcv/information has been updated to https://api.amberdata.com/markets/spot/ohlcv/information. The old endpoint will be deprecated on 2024-09-30. Please update your integrations accordingly.

See changes here
  • Endpoint URL Change:
    • Old: https://api.amberdata.com/market/spot/ohlcv/information
    • New: https://api.amberdata.com/markets/spot/ohlcv/information
  • Metadata Changes:
    • A new field called api-version is introduced in the metadata object.
  • Data Structure Changes:
    • The data object has been changed from nested JSON objects to an array of JSON objects.
    • New fields exchange, instrument, startDate, and endDate are introduced.
  • Other
    • The includeDates parameter is no longer supported in the new endpoint
    • Include the Accept-Encoding: header in your API requests to take advantage of compressed responses.
RESPONSE DATA
fieldtypecontextdescription
payload.metadata.nextstring
payload.data.{exchange}objectExchange object, contains a list of pairs supported by the exchange.
payload.data.{exchange}.{pair}objectPair object, contains information about the pair.
payload.data.{exchange}.{pair}.addressstringThe address of the token (if applicable).
payload.data.{exchange}.{pair}.startDatenumberFirst available data point.
payload.data.{exchange}.{pair}.endDatenumberLast available data point.
Language
Authorization
Header
Click Try It! to start a request and see the response here!