Skip to main content
One call, every token the wallet owns. This endpoint queries the SPL Token program for all token accounts owned by a given wallet and returns each account’s pubkey, mint, decimals, and balance. Perfect for portfolio views, airdrop eligibility filters, and giving an autonomous agent visibility into its own holdings.
Paid endpoint. Pass your key in the x-api-key header. See Get an API key.

Why agents use this

  • One call replaces N ATA lookups. Instead of guessing what tokens a wallet might hold and checking each, list them all.
  • Balances are already parsed. No decimal math required, amount is already scaled.
  • Feeds every portfolio feature. Whatever you’re building (dashboard, tax export, airdrop check) starts here.
  • Agent self-inventory. Autonomous bots need to know what they hold before deciding what to sell.

Use cases

  • Wallet portfolio dashboard. Show all tokens with balances, USD values, and 24h changes. Start here, enrich with price data.
  • Airdrop eligibility filter. Loop through candidate wallets, keep only the ones holding your qualifying mint.
  • Tax export. Combined with Transactions and Decode Tx you get a full labeled activity + holdings snapshot.
  • Agent “what do I own?” check. Autonomous swap bot lists its holdings, decides which token to trim to rebalance.
  • Whitelist verification. Users prove they hold a token by wallet address; you list holdings and confirm.

Recipe: filter wallets holding a specific mint

filter-holders.ts
Pair with Token Profile to warn users when one of their holdings has flipped risky (e.g., freeze authority just came online).