GET /data/etl2/price_charts/{coin_id}/derivatives.json

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/coingecko/data/etl2/price_charts/{coin_id}/derivatives.jsonCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Historical open interest and funding rate series for a coin.

Parameters

nameintypedescription
coin_idpathstrrequiredCoin id (slug).
default: bitcoin
example: bitcoin
rangequerystr
24h | 7d | 1m | 3m | 1y | max
optionalDerivatives chart range.
default: 24h
example: 24h

Response

type: object
data key: open_interest
pagination: none
sample: {
  "open_interest": "array[24]",
  "funding_rate": "array[24]"
}

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/coingecko/data/etl2/price_charts/bitcoin/derivatives.json?range=24h"