userBorrowLendInterest | Hyperliquid Info API
Info API
userBorrowLendInterest | Hyperliquid Info API
Hyperliquid userBorrowLendInterest: fetch a user’s borrow/lend interest accrual history.
POST
userBorrowLendInterest | Hyperliquid Info API
Credit Cost
1 per call
Processing
Realtime
type: "userBorrowLendInterest" is used to fetch a user’s borrow/lend interest accrual history.
- Wire-equal to
POST api.hyperliquid.xyz/infowith{"type": "userBorrowLendInterest", "user": "...", "startTime": ...}. - Bounded by a
[startTime, endTime)window in milliseconds;endTimedefaults to the current server time when omitted. - Amounts are decimal strings, one row per token per accrual point.
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.