GET /fapi/api/fundingRate/v2/history/chart
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/fapi/api/fundingRate/v2/history/chartCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing freeHistorical funding rate chart across exchanges for a coin
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | string | required | Base coin ticker symbol, e.g. BTC or ETH default: BTCexample: BTC |
type | query | string | optional | Margin type: U (USDT/stablecoin) or C (coin-margined) default: Uexample: U |
interval | query | string | optional | Interval: h1, h4, h8, h24 default: h8example: h8 |
Response
type: object
pagination: none
sample: {
"dataMap": "object(13)",
"dateList": "list(544)",
"frDataMap": "object(13)",
"priceList": "list(544)"
}
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/fundingRate/v2/history/chart?symbol=BTC&type=U&interval=h8"