GET /fapi/api/fundingRate/avg
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/fapi/api/fundingRate/avgCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeAverage BTC and ETH funding rates weighted by open interest and volume
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | string | optional | Optional coin ticker symbol filter default: BTCexample: BTC |
Response
type: object
pagination: none
sample: {
"btcFundingByVol": 0.00716,
"btcFundingByOi": 0.008216,
"ethFundingByOi": 0.004135,
"ethFundingByVol": 0.005052
}
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/avg?symbol=BTC"