GET /capi/api/index/optionVsFuturesByOi
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/capi/api/index/optionVsFuturesByOiCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing freeHistorical BTC and ETH options open interest vs futures open interest ratio
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | string | optional | Optional coin ticker symbol filter default: BTCexample: BTC |
Response
type: object
pagination: none
sample: {
"btc": "list(2339)",
"timeList": "list(2339)",
"eth": "list(2339)",
"btcPrice": "list(2339)"
}
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/index/optionVsFuturesByOi?symbol=BTC"