Skip to main content
POST
/
info
info (userBorrowLendInterest)
curl --request POST \
  --url https://api.hyperliquid.xyz/info \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "userBorrowLendInterest",
  "user": "0x1442ad477ded1b0028b57621aa7b6f7eadb8f568"
}
'
[
  {
    "time": 123,
    "token": "<string>",
    "borrow": "<string>",
    "supply": "<string>"
  }
]
You can only use this endpoint on the official Hyperliquid public API. It is not available through Chainstack, as the open-source node implementation does not support it yet. See Hyperliquid methods for the full availability breakdown.
The info endpoint with type: "userBorrowLendInterest" returns a user’s borrow and lend interest accrual records, per token. Use it to track interest earned on supplied balances and paid on borrowed balances.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

Request body

  • type (string, required) — The request type. Must be "userBorrowLendInterest".
  • user (string, required) — Address in 42-character hexadecimal format.

Response

Returns an array of interest records. Each record contains:
  • time (integer) — Timestamp of the update (milliseconds since epoch).
  • token (string) — Token symbol (for example, USDC).
  • borrow (string) — Borrow interest amount.
  • supply (string) — Supply interest amount.

Example request

curl -X POST \
  -H "Content-Type: application/json" \
  -d '{"type": "userBorrowLendInterest", "user": "0x1442ad477ded1b0028b57621aa7b6f7eadb8f568"}' \
  https://api.hyperliquid.xyz/info

Example response

[
  {
    "time": 1710000000000,
    "token": "USDC",
    "borrow": "0.0",
    "supply": "1.234567"
  }
]

Use cases

The info endpoint with type: "userBorrowLendInterest" is useful for:
  • Tracking interest earned and paid over time
  • Accounting and tax reporting for borrow/lend activity
  • Analyzing the cost and yield of positions

Body

application/json
type
enum<string>
default:userBorrowLendInterest
required

Request type

Available options:
userBorrowLendInterest
user
string
default:0x1442ad477ded1b0028b57621aa7b6f7eadb8f568
required

User address in 42-character hexadecimal format.

Response

200 - application/json

The user's borrow/lend interest accrual records.

time
integer

Timestamp of the update (ms since epoch).

token
string

Token symbol (e.g., USDC).

borrow
string

Borrow interest amount.

supply
string

Supply interest amount.

Last modified on June 24, 2026