Skip to main content
POST
userBorrowLendInterest | Hyperliquid Info API

Credit Cost

1 per call

Processing

Realtime
The Hyperliquid info endpoint with type: "userBorrowLendInterest" is used to fetch a user’s borrow/lend interest accrual history.
Estimate your monthly cost for this API using the Pricing Calculator.
  • Wire-equal to POST api.hyperliquid.xyz/info with {"type": "userBorrowLendInterest", "user": "...", "startTime": ...}.
  • Bounded by a [startTime, endTime) window in milliseconds; endTime defaults to the current server time when omitted.
  • Amounts are decimal strings, one row per token per accrual point.
Returns a user’s borrow/lend interest accrual over a time window - the interest charged on borrowed balances and earned on supplied (lent) balances, per token. Use it for P&L attribution and accounting on Hyperliquid borrow/lend positions. User-keyed.

Endpoint

Request

string
required
Always "userBorrowLendInterest".
string
required
The wallet address (lowercase 0x-prefixed hex).
int
required
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 per-token interest accrual points within the window. Empty when the user accrued no borrow/lend interest over the range.

Field descriptions

borrow and supply are returned as decimal strings, preserving upstream precision. Do not parse them as floats.
int
Millisecond timestamp of the accrual point.
string
Token symbol the interest applies to - e.g. "USDC".
string
Borrow interest charged on the borrowed balance of this token.
string
Supply (lend) interest earned on the supplied balance of this token.
Last reviewed: 2026-07-24