For the complete documentation index, see llms.txt. This page is also available as Markdown.

fundingRates

Stream per-coin funding rates. Broadcasts once per hour when funding is applied.

Every live data message includes both routing identifiers with the same value:

{"type": "fundingRates", "channel": "fundingRates"}

Other payload fields are omitted above. Existing clients may continue routing on either field.

New endpoint - this endpoint is not a part of original Hyperliquid API and is added by us for builder convenience.

Broadcasts the funding rate for every coin once per hour (~290 coins per event). Clients can calculate per-user funding payments as funding_rate * position_size.

Subscribe

{
    "method": "subscribe",
    "subscription": {
        "type": "fundingRates"
    }
}

Unsubscribe

{
    "method": "unsubscribe",
    "subscription": {
        "type": "fundingRates"
    }
}

Update data format

One message per hour containing all coins and their funding rates for that period.

Field reference

Field
Type
Description

timestamp

number

Block timestamp when funding was applied (milliseconds since epoch)

rates

array

Array of per-coin funding rate objects

rates[].coin

string

Coin/market name, including DEX prefix (e.g. "ETH", "hyna:BTC", "xyz:GOLD")

rates[].funding_rate

string

Funding rate as a decimal string with full precision (e.g. "0.0000125", "-0.0007643369")

Examples

Common errors

Last updated