GET /fapi/api/basis/v2/chart

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

Historical futures basis chart for a coin and exchange

Parameters

nameintypedescription
symbolquerystringrequiredBase coin ticker symbol, e.g. BTC or ETH
default: BTC
example: BTC
intervalquerystringrequiredCandle interval
default: 1h
example: 1h
exNamequerystringrequiredExchange name, e.g. Binance or OKX
default: Binance
example: Binance

Response

type: object
pagination: none
sample: {
  "data": "list(3)",
  "dateList": "list(1000)"
}

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/basis/v2/chart?symbol=BTC&interval=1h&exName=Binance"