GET /public/get_trade_volumes
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/deribit/public/get_trade_volumesCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeTrading volumes per currency: futures, calls, puts and their 7-day and 30-day totals.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
extended | query | bool | optional | Include 7-day and 30-day volume fields. example: True |
Response
type: object
data key: result
pagination: none
sample: {
"jsonrpc": "str",
"result": "array[52]",
"usIn": "int",
"usOut": "int",
"usDiff": "int",
"testnet": "bool"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/deribit/public/get_trade_volumes?extended=True"