GET /capi/api/openInterest/v3/ETH-BTC/chart

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/coinglass/capi/api/openInterest/v3/ETH-BTC/chartCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing free

ETH vs BTC open interest ratio historical chart

Parameters

nameintypedescription
timeTypequeryintegeroptionalTimeframe code
default: 0
example: 0

Response

type: object
pagination: none
sample: {
  "dateList": "list(2457)",
  "firstPriceList": "list(2457)",
  "openInterestRateList": "list(2457)",
  "secondPriceList": "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/capi/api/openInterest/v3/ETH-BTC/chart?timeType=0"