GET /fapi/api/openInterest/v3/chart
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/fapi/api/openInterest/v3/chartCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing freeStacked per-exchange open interest chart time series
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | string | required | Base coin ticker symbol, e.g. BTC or ETH default: BTCexample: BTC |
timeType | query | integer | optional | Timeframe code (0=all/default, 1=24h, 2=7d, 3=30d) default: 0example: 0 |
exchangeName | query | string | optional | Exchange filter or ALL default: ALLexample: ALL |
type | query | integer | optional | Currency unit code (0=USD, 1=coin) default: 0example: 0 |
Response
type: object
pagination: none
sample: {
"dataMap": "object(22)",
"dateList": "list(2457)",
"priceList": "list(2457)"
}
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/v3/chart?symbol=BTC&timeType=0&exchangeName=ALL&type=0"