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 to https://api.amberdata.com/markets/spot/ohlcv/informationand 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, 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
JSON Field/PathField TypeDescription
payload.metadata.nextstringThe 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-versionstringThe version of the API being used, indicated as a date string in the format YYYY-MM-DD.
payload.data[{index}].addressstringThe blockchain address associated with the instrument, typically representing a token contract address. Can be null if not applicable.
payload.data[{index}].exchangestringThe name of the exchange where the data originates, such as "binance".
payload.data[{index}].instrumentstringThe trading pair or instrument identifier, such as "1000sats_fdusd".
payload.data[{index}].startDatenumberThe timestamp in milliseconds indicating when OHLCV data collection for the specified instrument began.
payload.data[{index}].endDatenumberThe timestamp in milliseconds indicating the most recent data point collected for the specified instrument.
Language
Credentials
Header
Click Try It! to start a request and see the response here!