GET /fapi/api/openInterest/info
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/fapi/api/openInterest/infoCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeOpen interest breakdown by exchange (coin-margined and stablecoin-margined)
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | string | required | Base coin ticker symbol, e.g. BTC or ETH default: BTCexample: BTC |
Response
type: array
pagination: none
sample: [
{
"symbol": "BTC",
"h1VolChangePercent": 5.38,
"openInterestAmountByCoinMargin": 17092.95,
"openInterest": 8503249310.13043,
"openInterestAmountByStableCoinMargin": 125694.2863,
"h4VolChangePercent": 21.58
}
]
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/coinglass/fapi/api/openInterest/info?symbol=BTC"