GET /public/get_funding_chart_data

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/deribit/public/get_funding_chart_dataCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Funding-rate chart for one perpetual over the last 8 hours.

Parameters

nameintypedescription
instrument_namequerystrrequiredPerpetual instrument name.
example: BTC-PERPETUAL
lengthquerystr
8h
requiredChart length. Required in practice: the live method rejects a call without it with 'value required'.
example: 8h

Response

type: object
pagination: none
sample: {
  "jsonrpc": "str",
  "result": "object",
  "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_chart_data?instrument_name=BTC-PERPETUAL&length=8h"