get https://api.amberdata.com/markets/spot/exchanges/information
Retrieves information about supported exchange-pairs for these types of data:
• ohlcv (open-high-low-close-volume)
• order book snapshot
• order book event
• ticker
• trade
Important Update
The old endpoint
https://api.amberdata.com/market/exchanges
has been updated tohttps://api.amberdata.com/markets/spot/exchanges/information
. The old endpoint will be deprecated on 2024-10-31. 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 calledinstrument
- 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/Path | Value 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 the next set of data. Pagination |
payload.metadata.api-version | string | The version of the API being used, indicated as a date string. |
payload.data.{exchange} | string | The name of the exchange, such as "binance." |
payload.data.{exchange}.{instrument} | object | The trading pair or instrument being referenced, such as "btc_usd." |
payload.data.{exchange}.{instrument}.{feature} | object | Feature object, contains information about this feature. |
payload.data.{exchange}.{pair}.{feature}.startDate | number | First 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}.endDate | number | Last 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. |