get https://api.amberdata.com/markets/spot/ohlcv/information
Provides availability details for Spot market OHLCV (Open, High, Low, Close, Volume) data across supported exchanges, including trading pairs and data coverage periods.
⚠️ IMPORTANT UPDATE ⚠️
Important Update
The old endpoint
https://api.amberdata.com/market/spot/ohlcv/information
has been updated tohttps://api.amberdata.com/markets/spot/ohlcv/information
and is no longer being supported. 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
JSON Field/Path | Field Type | Description |
---|---|---|
payload.metadata.next | string | The URL for the next page of results, if there are more results to fetch. It is a paginated cursor that allows the client to retrieve subsequent data. |
payload.metadata.api-version | string | The version of the API being used, indicated as a date string in the format YYYY-MM-DD. |
payload.data[{index}].address | string | The blockchain address associated with the instrument, typically representing a token contract address. Can be null if not applicable. |
payload.data[{index}].exchange | string | The name of the exchange where the data originates, such as "binance". |
payload.data[{index}].instrument | string | The trading pair or instrument identifier, such as "1000sats_fdusd". |
payload.data[{index}].startDate | number | The timestamp in milliseconds indicating when OHLCV data collection for the specified instrument began. |
payload.data[{index}].endDate | number | The timestamp in milliseconds indicating the most recent data point collected for the specified instrument. |