Wallet - Tokens Balance

Retrieve the balances of a list of tokens in a wallet.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Batch token-balance lookup for one Solana wallet.

  • Maximum request size is 500 token addresses.
  • Response is ordered by the submitted token list and returns one balance snapshot per requested token.
  • ui_amount_mode=scaled applies Solana Token-2022 scaled UI amount when the token supports the scaled UI extension.

Reading the numbers. balance is the raw balance in base units. amount is the decimal-adjusted balance, or scaled UI amount when requested and supported. price is the latest token price in USD, and value is the wallet holding value in USD.

Compute Unit ⚙️
  • Batch CU is calculated as ceil(10 * token_count^0.8).
    • With the maximum 500 tokens per request
Use Cases 💡
  • Load many token balances for one wallet in one request.
    • Power portfolio pages, treasury views, and token-watch grids.
    • Join wallet balances with prices for fast position-value displays.
How to Use 🛠️
  • Set x-chain=solana.
    • Send the wallet address and up to 50 token mints in the POST body.
    • Use ui_amount_mode=raw for raw-decimal output or ui_amount_mode=scaled for Token-2022 scaled UI amounts when supported.
Best Practices ✅
  • Deduplicate token mints before sending the batch.
    • Use this batch endpoint for known token sets; use broader wallet portfolio endpoints when discovery matters more than exact token selection.
    • Reuse one batch response across multiple UI components during the same refresh cycle.
Limitations ⚠️
  • Solana only.
    • Maximum 50 tokens per request.
Body Params
string
token_addresses
array of strings
token_addresses
Headers
string
enum
Defaults to solana

Solana network only.

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json