POST /info/fundingHistory

Auth X-Hub-Key from API_HUB_KEYExecute POST /run/hyperliquid/info/fundingHistoryCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing free

Funding-rate history for one perpetual coin in a time window: funding rate, premium and timestamp.

Parameters

nameintypedescription
coinbodystrrequiredExchange perpetual coin symbol.
example: BTC
startTimebodyintrequiredStart of the window in milliseconds since epoch.
example: 1795278108822
endTimebodyintoptionalEnd of the window in milliseconds (default: now).
example: 1795882908822

Response

type: array
pagination: none
sample: {
  "[0]": "object"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sX POST "https://openapihub.dev/run/hyperliquid/info/fundingHistory" \
  -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
  -d '{"coin": "BTC", "startTime": 1795278108822, "endTime": 1795882908822}'