curl --request GET \
--url https://api.amberdata.com/markets/spot/twap/pairs/information \
--header 'x-api-key: <api-key>'{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"metadata": {
"next": "https://api.amberdata.com/market/spot/twap/pairs/information?cursor=N4IgLglgtgpgYgewE5QIZhALhFCAbPCAZxgGMEA7AEyJABoQAzZNDbAKyMvpAAdUA5jCwBGBkQgAvYZhEAGBQF8gA"
},
"data": [
{
"pair": "00_usd",
"startDate": 1665446400000,
"endDate": 1677866100000
},
{
"pair": "123_456",
"startDate": 1581206400000,
"endDate": 1632873600000
},
{
"pair": "18c_btc",
"startDate": 1556064000000,
"endDate": 1666915200000
},
{
"pair": "18c_eth",
"startDate": 1556064000000,
"endDate": 1666224000000
}
]
}
}Retrieves the list of all the available supported pairs and time range availability.
curl --request GET \
--url https://api.amberdata.com/markets/spot/twap/pairs/information \
--header 'x-api-key: <api-key>'{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"metadata": {
"next": "https://api.amberdata.com/market/spot/twap/pairs/information?cursor=N4IgLglgtgpgYgewE5QIZhALhFCAbPCAZxgGMEA7AEyJABoQAzZNDbAKyMvpAAdUA5jCwBGBkQgAvYZhEAGBQF8gA"
},
"data": [
{
"pair": "00_usd",
"startDate": 1665446400000,
"endDate": 1677866100000
},
{
"pair": "123_456",
"startDate": 1581206400000,
"endDate": 1632873600000
},
{
"pair": "18c_btc",
"startDate": 1556064000000,
"endDate": 1666915200000
},
{
"pair": "18c_eth",
"startDate": 1556064000000,
"endDate": 1666224000000
}
]
}
}Was this page helpful?