GET /v2/metrics/derivatives
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/defillama/v2/metrics/derivativesCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freePerpetuals and derivatives volume metrics across all protocols and chains (/overview/derivatives is paid).
Parameters
No parameters documented.
Response
type: object
data key: protocols
pagination: none
sample: {
"category": "str",
"allCategories": "array[15]",
"allChains": "array[115]",
"total24h": "int",
"total48hto24h": "int",
"totalLastFullDay": "int",
"total7d": "float",
"total14dto7d": "float",
"total30d": "float",
"total60dto30d": "float",
"total1y": "float",
"total7DaysAgo": "int",
"total30DaysAgo": "int",
"totalAllTime": "float",
"change_1d": "float",
"change_7d":
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/defillama/v2/metrics/derivatives"