curl --request GET \
--url https://api.amberdata.com/markets/derivatives/analytics/futures-perpetuals/volumes \
--header 'x-api-key: <api-key>'
{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"data": [
{
"timestamp": "1706659200000.000000",
"exchange": "binance",
"underlying": "BTC",
"totalDailyVolume": "370916.7",
"totalDailyVolumeMilUSD": "15800.9",
"totalDailyVolumeNative": "370916.7"
},
{
"timestamp": "1706659200000.000000",
"exchange": "bitmex",
"underlying": "BTC",
"totalDailyVolume": "1128347366.9",
"totalDailyVolumeMilUSD": "421.1",
"totalDailyVolumeNative": "9901.8"
},
{
"timestamp": "1706659200000.000000",
"exchange": "bybit",
"underlying": "BTC",
"totalDailyVolume": "168972.8",
"totalDailyVolumeMilUSD": "7196.2",
"totalDailyVolumeNative": "168972.8"
},
{
"timestamp": "1706659200000.000000",
"exchange": "deribit",
"underlying": "BTC",
"totalDailyVolume": "13917.3",
"totalDailyVolumeMilUSD": "593.7",
"totalDailyVolumeNative": "13917.3"
},
{
"timestamp": "1706659200000.000000",
"exchange": "ftxus",
"underlying": "BTC",
"totalDailyVolume": null,
"totalDailyVolumeMilUSD": null,
"totalDailyVolumeNative": null
},
{
"timestamp": "1706659200000.000000",
"exchange": "huobi",
"underlying": "BTC",
"totalDailyVolume": "15451.3",
"totalDailyVolumeMilUSD": "658.8",
"totalDailyVolumeNative": "15451.3"
},
{
"timestamp": "1706659200000.000000",
"exchange": "kraken",
"underlying": "BTC",
"totalDailyVolume": "3908651.8",
"totalDailyVolumeMilUSD": "174.9",
"totalDailyVolumeNative": "4107.2"
},
{
"timestamp": "1706659200000.000000",
"exchange": "okex",
"underlying": "BTC",
"totalDailyVolume": "40064594.0",
"totalDailyVolumeMilUSD": "6700.6",
"totalDailyVolumeNative": "157175.2"
},
{
"timestamp": "1706572800000.000000",
"exchange": "binance",
"underlying": "BTC",
"totalDailyVolume": "301377.0",
"totalDailyVolumeMilUSD": "12927.0",
"totalDailyVolumeNative": "301377.0"
},
{
"timestamp": "1706572800000.000000",
"exchange": "bitmex",
"underlying": "BTC",
"totalDailyVolume": "1052392849.8",
"totalDailyVolumeMilUSD": "400.2",
"totalDailyVolumeNative": "9332.4"
},
{
"timestamp": "1706572800000.000000",
"exchange": "bybit",
"underlying": "BTC",
"totalDailyVolume": "136513.9",
"totalDailyVolumeMilUSD": "5853.9",
"totalDailyVolumeNative": "136513.9"
},
{
"timestamp": "1706572800000.000000",
"exchange": "deribit",
"underlying": "BTC",
"totalDailyVolume": "12887.8",
"totalDailyVolumeMilUSD": "554.2",
"totalDailyVolumeNative": "12887.8"
},
{
"timestamp": "1706572800000.000000",
"exchange": "ftxus",
"underlying": "BTC",
"totalDailyVolume": null,
"totalDailyVolumeMilUSD": null,
"totalDailyVolumeNative": null
},
{
"timestamp": "1706572800000.000000",
"exchange": "huobi",
"underlying": "BTC",
"totalDailyVolume": "12169.3",
"totalDailyVolumeMilUSD": "522.3",
"totalDailyVolumeNative": "12169.3"
},
{
"timestamp": "1706572800000.000000",
"exchange": "kraken",
"underlying": "BTC",
"totalDailyVolume": "6986109.9",
"totalDailyVolumeMilUSD": "186.8",
"totalDailyVolumeNative": "4352.7"
},
{
"timestamp": "1706572800000.000000",
"exchange": "okex",
"underlying": "BTC",
"totalDailyVolume": "32367069.0",
"totalDailyVolumeMilUSD": "5660.8",
"totalDailyVolumeNative": "131876.6"
},
{
"timestamp": "1706486400000.000000",
"exchange": "binance",
"underlying": "BTC",
"totalDailyVolume": "290724.5",
"totalDailyVolumeMilUSD": "12567.6",
"totalDailyVolumeNative": "290724.5"
},
{
"timestamp": "1706486400000.000000",
"exchange": "bitmex",
"underlying": "BTC",
"totalDailyVolume": "854470564.6",
"totalDailyVolumeMilUSD": "262.2",
"totalDailyVolumeNative": "6127.6"
}
]
}
}
This endpoint returns the rolling 24h volume for both futures and perpetuals of the underlying asset. The endpoint returns the USD volume in millions of dollars and the volume in units of underlying coins.
curl --request GET \
--url https://api.amberdata.com/markets/derivatives/analytics/futures-perpetuals/volumes \
--header 'x-api-key: <api-key>'
{
"status": 200,
"title": "OK",
"description": "Successful request",
"payload": {
"data": [
{
"timestamp": "1706659200000.000000",
"exchange": "binance",
"underlying": "BTC",
"totalDailyVolume": "370916.7",
"totalDailyVolumeMilUSD": "15800.9",
"totalDailyVolumeNative": "370916.7"
},
{
"timestamp": "1706659200000.000000",
"exchange": "bitmex",
"underlying": "BTC",
"totalDailyVolume": "1128347366.9",
"totalDailyVolumeMilUSD": "421.1",
"totalDailyVolumeNative": "9901.8"
},
{
"timestamp": "1706659200000.000000",
"exchange": "bybit",
"underlying": "BTC",
"totalDailyVolume": "168972.8",
"totalDailyVolumeMilUSD": "7196.2",
"totalDailyVolumeNative": "168972.8"
},
{
"timestamp": "1706659200000.000000",
"exchange": "deribit",
"underlying": "BTC",
"totalDailyVolume": "13917.3",
"totalDailyVolumeMilUSD": "593.7",
"totalDailyVolumeNative": "13917.3"
},
{
"timestamp": "1706659200000.000000",
"exchange": "ftxus",
"underlying": "BTC",
"totalDailyVolume": null,
"totalDailyVolumeMilUSD": null,
"totalDailyVolumeNative": null
},
{
"timestamp": "1706659200000.000000",
"exchange": "huobi",
"underlying": "BTC",
"totalDailyVolume": "15451.3",
"totalDailyVolumeMilUSD": "658.8",
"totalDailyVolumeNative": "15451.3"
},
{
"timestamp": "1706659200000.000000",
"exchange": "kraken",
"underlying": "BTC",
"totalDailyVolume": "3908651.8",
"totalDailyVolumeMilUSD": "174.9",
"totalDailyVolumeNative": "4107.2"
},
{
"timestamp": "1706659200000.000000",
"exchange": "okex",
"underlying": "BTC",
"totalDailyVolume": "40064594.0",
"totalDailyVolumeMilUSD": "6700.6",
"totalDailyVolumeNative": "157175.2"
},
{
"timestamp": "1706572800000.000000",
"exchange": "binance",
"underlying": "BTC",
"totalDailyVolume": "301377.0",
"totalDailyVolumeMilUSD": "12927.0",
"totalDailyVolumeNative": "301377.0"
},
{
"timestamp": "1706572800000.000000",
"exchange": "bitmex",
"underlying": "BTC",
"totalDailyVolume": "1052392849.8",
"totalDailyVolumeMilUSD": "400.2",
"totalDailyVolumeNative": "9332.4"
},
{
"timestamp": "1706572800000.000000",
"exchange": "bybit",
"underlying": "BTC",
"totalDailyVolume": "136513.9",
"totalDailyVolumeMilUSD": "5853.9",
"totalDailyVolumeNative": "136513.9"
},
{
"timestamp": "1706572800000.000000",
"exchange": "deribit",
"underlying": "BTC",
"totalDailyVolume": "12887.8",
"totalDailyVolumeMilUSD": "554.2",
"totalDailyVolumeNative": "12887.8"
},
{
"timestamp": "1706572800000.000000",
"exchange": "ftxus",
"underlying": "BTC",
"totalDailyVolume": null,
"totalDailyVolumeMilUSD": null,
"totalDailyVolumeNative": null
},
{
"timestamp": "1706572800000.000000",
"exchange": "huobi",
"underlying": "BTC",
"totalDailyVolume": "12169.3",
"totalDailyVolumeMilUSD": "522.3",
"totalDailyVolumeNative": "12169.3"
},
{
"timestamp": "1706572800000.000000",
"exchange": "kraken",
"underlying": "BTC",
"totalDailyVolume": "6986109.9",
"totalDailyVolumeMilUSD": "186.8",
"totalDailyVolumeNative": "4352.7"
},
{
"timestamp": "1706572800000.000000",
"exchange": "okex",
"underlying": "BTC",
"totalDailyVolume": "32367069.0",
"totalDailyVolumeMilUSD": "5660.8",
"totalDailyVolumeNative": "131876.6"
},
{
"timestamp": "1706486400000.000000",
"exchange": "binance",
"underlying": "BTC",
"totalDailyVolume": "290724.5",
"totalDailyVolumeMilUSD": "12567.6",
"totalDailyVolumeNative": "290724.5"
},
{
"timestamp": "1706486400000.000000",
"exchange": "bitmex",
"underlying": "BTC",
"totalDailyVolume": "854470564.6",
"totalDailyVolumeMilUSD": "262.2",
"totalDailyVolumeNative": "6127.6"
}
]
}
}
[Required] The underlying currency for which there are futures contracts/instruments.
[Examples] BTC | ETH
[Required] Payload only includes data after this date (inclusive).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
[Required] Payload only includes data before this date (exclusive).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
[Optional] Time format of the timestamps in the return payload.
[Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable
200
The response is of type object
.
Was this page helpful?