GET /overview/open-interest
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/defillama/overview/open-interestCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeAggregate perpetuals open interest across protocols and chains.
Parameters
No parameters documented.
Response
type: object
data key: protocols
pagination: none
sample: {
"totalDataChart": "array[0]",
"totalDataChartBreakdown": "array[0]",
"breakdown24h": "null",
"breakdown30d": "null",
"chain": "null",
"allChains": "array[72]",
"total24h": "float",
"total48hto24h": "float",
"totalLastFullDay": "float",
"total7d": "float",
"total14dto7d": "float",
"total30d": "float",
"total60dto30d": "int",
"total1y": "float",
"total7DaysAgo": "floa
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/overview/open-interest"