Instruments
Changed onProvides 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.
get/spot/exchanges/information
Request
- Base URLhttps://api.amberdata.com/markets
- URLhttps://api.amberdata.com/markets/spot/exchanges/information
- AuthAPI key in header x-api-key
Query parameters
exchangestring
only return data for the given exchanges (comma separated)
instrumentstring
Only return data for the given pair.
timeFormatstring
[Optional] Time format of the timestamps in the return payload. [Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable
includeInactiveboolean
[Optional] If true, endpoint returns all instruments, including delisted ones. [Defaults] True | False*.
Headers
Accept-Encodingstring required
api-versionstring
Response
200
Example response
{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"data": {
"gdax": {
"00_usd": {
"ohlc": {
"startDate": 1665508560000,
"endDate": 1722369180000
},
"order_book_update": {
"startDate": 1665507779045,
"endDate": 1722368954000
},
"order_book": {
"startDate": 1665510000000,
"endDate": 1722369300000
},
"ticker": {
"startDate": 1665508608000,
"endDate": 1722366995000
},
"trade": {
"startDate": 1665508608000,
"endDate": 1722366995000
}
}
}
}
}
}Changes
- info
endpoint added
- info