GET /summary/open-interest/{protocol}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/defillama/summary/open-interest/{protocol}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeOne derivatives protocol's open-interest summary and history.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
protocol | path | str | required | Perps protocol slug example: hyperliquid-perps |
Response
type: object
data key: totalDataChart
pagination: none
sample: {
"id": "str",
"name": "str",
"address": "str",
"symbol": "str",
"url": "str",
"referralUrl": "str",
"description": "str",
"chain": "str",
"logo": "str",
"audits": "str",
"gecko_id": "null",
"cmcId": "null",
"category": "str",
"chains": "array[1]",
"oracles": "array[1]",
"module": "str",
"twitter": "str",
"parentProtocol": "str",
"listedAt": "int",
"dimensio
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/summary/open-interest/hyperliquid-perps"