get https://api.amberdata.com/markets/spot/ohlcv/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 tohttps://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
, andendDate
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
field | type | context | description |
---|---|---|---|
payload.metadata.next | string | ||
payload.data.{exchange} | object | Exchange object, contains a list of pairs supported by the exchange. | |
payload.data.{exchange}.{pair} | object | Pair object, contains information about the pair. | |
payload.data.{exchange}.{pair}.address | string | The address of the token (if applicable). | |
payload.data.{exchange}.{pair}.startDate | number | First available data point. | |
payload.data.{exchange}.{pair}.endDate | number | Last available data point. |