Instruments

Provides detailed metadata for available trading pairs on supported Spot market exchanges, including exchange names, trading instruments, and available data types (OHLCV, Order Book Snapshots, Order Book Events, Ticker, and Trades) with respective data availability periods.

⚠️ IMPORTANT UPDATE ⚠️

⚠️

Important Update

The old endpoint https://api.amberdata.com/market/exchanges has been updated to https://api.amberdata.com/markets/spot/exchanges/information and is no longer being supported. Please update your integrations accordingly.

See changes here
  • Endpoint URL Change:
    • Old: https://api.amberdata.com/market/exchanges
    • New: https://api.amberdata.com/markets/spot/exchanges/information
  • Metadata Changes:
    • api-version field added to the response
  • Data Structure Changes:
    • The old schema data structure was a nested JSON object with exchanges and instruments
    • The new schema data structure is an array of JSON objects, each representing an exchange and instrument with detailed date ranges for different data types
  • Field Value Changes:
    • pair query parameter is now called instrument
  • Other
    • Include the Accept-Encoding: header in your API requests to take advantage of compressed responses.
    • includeDates parameter is no longer supported as dates are always provided
RESPONSE DATA
JSON Field/PathValue 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 the next set of data. Pagination
payload.metadata.api-versionstringThe version of the API being used, indicated as a date string.
payload.data.{exchange}stringThe name of the exchange, such as "binance."
payload.data.{exchange}.{instrument}objectThe trading pair or instrument being referenced, such as "btc_usd."
payload.data.{exchange}.{instrument}.{feature}objectFeature object, contains information about this feature.
payload.data.{exchange}.{pair}.{feature}.startDatenumberFirst available data point. If startDate is equal to null, this likely means the pair has been detected on the exchange, but trading has not yet begun.
payload.data.{exchange}.{pair}.{feature}.endDatenumberLast available data point. If endDate is equal to null, this likely means the pair has been detected on the exchange, but trading has not yet begun.
Language
Credentials
Header
Click Try It! to start a request and see the response here!