Skip to main content
POST
userFunding | Hyperliquid Info API

Credit Cost

1 per call

Processing

Realtime
The Hyperliquid info endpoint with type: "userFunding" is used to fetch a user’s per-coin funding payment history within a time window for funding-only P&L attribution.
Estimate your monthly cost for this API using the Pricing Calculator.
  • Wire-equal to POST api.hyperliquid.xyz/info with {"type": "userFunding", "user": "..."}.
  • Use userNonFundingLedgerUpdates for deposits, withdrawals, transfers, vault flows, liquidations, and other balance-moving events.
Returns a single user’s funding payment history within a [startTime, endTime) window. Each entry is one funding application: a coin, the rate that was applied, the position size at the time, and the resulting USDC delta (negative = paid, positive = received). User-keyed. Use this for funding-only P&L attribution; use userNonFundingLedgerUpdates for everything else.

Endpoint

Request

string
required
Always "userFunding".
string
required
The wallet address (lowercase 0x-prefixed hex).
int
Unix timestamp in milliseconds. Inclusive lower bound for the window.
int
Unix timestamp in milliseconds. Inclusive upper bound. Defaults to current server time when omitted.

Example

Response

An array of funding event objects, one per applied funding interval and coin.

Field descriptions

All numeric delta fields are returned as decimal strings. Do not parse them as floats - keep them as strings or use a fixed-precision decimal type.
int
Unix timestamp in milliseconds when the funding payment was applied.
string
L1 transaction hash that included the funding application.
object
Funding-event payload.

userNonFundingLedgerUpdates

fetch a user’s non-funding USDC ledger history (deposits, withdrawals, transfers, vault flows) within a time…

fundingHistory

fetch a coin’s historical funding rates and premiums over a time window for funding analytics and basis…

userFills

fetch a user’s most recent trade fills without specifying a time window.

userFillsByTime

fetch a user’s trade fills within a time window for P&L recaps and tax ledger reconstruction.
Last reviewed: 2026-06-13