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 free

Stacked per-exchange open interest chart time series

Parameters

nameintypedescription
symbolquerystringrequiredBase coin ticker symbol, e.g. BTC or ETH
default: BTC
example: BTC
timeTypequeryintegeroptionalTimeframe code (0=all/default, 1=24h, 2=7d, 3=30d)
default: 0
example: 0
exchangeNamequerystringoptionalExchange filter or ALL
default: ALL
example: ALL
typequeryintegeroptionalCurrency unit code (0=USD, 1=coin)
default: 0
example: 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"