Skip to main content

Get token balances for all lending assets

GET 

/v1/data/token/balances/lending

Fetches token balances for all available lending assets on a chain for a given account. Combines the available-assets lookup with balance fetching in a single call.

How it works:

  1. Fetches all available lending asset addresses from origin (optionally filtered by lender)
  2. Fetches token balances for those assets via multicall
  3. Enriches with token metadata, prices, and USD values

Response Structure:

  • balances: Array of non-zero balance entries (same format as /token/balances)
  • count: Number of tokens with non-zero balance

Balance Entry includes:

  • address: Token contract address (zeroAddress for native)
  • symbol: Token symbol
  • name: Token name
  • decimals: Token decimals
  • balanceRaw: Raw balance as string (wei/smallest unit)
  • balance: Formatted balance as decimal string
  • balanceUSD: Balance value in USD

Note: Zero-balance entries are excluded. The native token balance is included only if non-zero.

Request

Responses

Token balances for all lending assets with USD values