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 freeHistorical open interest and funding rate series for a coin.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
coin_id | path | str | required | Coin id (slug). default: bitcoinexample: bitcoin |
range | query | str24h | 7d | 1m | 3m | 1y | max | optional | Derivatives chart range. default: 24hexample: 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"