GET /fapi/api/basis/current/chart
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/fapi/api/basis/current/chartCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeCurrent futures basis curve (perpetual, weekly, quarterly) across exchanges
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | string | required | Base coin ticker symbol, e.g. BTC or ETH default: BTCexample: BTC |
Response
type: array
pagination: none
sample: [
{
"exName": "Binance",
"logo": "https://cdn.coinglasscdn.com/static/exchanges/270.png",
"WEEK": "object(0)",
"NEXT_WEEK": "object(0)",
"PERPETUAL": "object(15)",
"QUARTER": "object(14)"
}
]
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/current/chart?symbol=BTC"