GET /public/get_funding_rate_value
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/deribit/public/get_funding_rate_valueCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeAverage funding rate for one perpetual over a millisecond window.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
instrument_name | query | str | required | Perpetual instrument name. example: BTC-PERPETUAL |
start_timestamp | query | int | required | Window start in milliseconds since epoch. example: 1795278108832 |
end_timestamp | query | int | required | Window end in milliseconds since epoch. example: 1795882908832 |
Response
type: object
pagination: none
sample: {
"jsonrpc": "str",
"result": "float",
"usIn": "int",
"usOut": "int",
"usDiff": "int",
"testnet": "bool"
}
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/deribit/public/get_funding_rate_value?instrument_name=BTC-PERPETUAL&start_timestamp=1795278108832&end_timestamp=1795882908832"