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 freeFunding-rate history for one perpetual coin in a time window: funding rate, premium and timestamp.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
coin | body | str | required | Exchange perpetual coin symbol. example: BTC |
startTime | body | int | required | Start of the window in milliseconds since epoch. example: 1795278108822 |
endTime | body | int | optional | End 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}'