GET /api/v5/public/funding-rate
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/web3okx/api/v5/public/funding-rateCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeCurrent perpetual funding rate
Parameters
| name | in | type | description | |
|---|---|---|---|---|
instId | query | str | required | example: BTC-USDT-SWAP |
Response
type: array
pagination: none
sample: {
"[0]": "object{formulaType:str,fundingRate:str,fundingTime:str,impactValue:str,instId:str,instType:str,interestRate:str,maxFundingRate:str,method:str,minFundingRate:str,nextFundingRate:str,nextFundingTime:str,premium:str,prevFundingTime:str,settFundingRate:str,settState:str,ts:str}"
}
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/web3okx/api/v5/public/funding-rate?instId=BTC-USDT-SWAP"