Wallets
Get wallet holdings
Get a wallet’s token balances and native coin balance on one chain, valued in USD, filtered and sorted by value.
GET
Returns the ERC-20 tokens and the native coin (for example ETH) held by a wallet on one chain. Each holding is valued in USD and given its share of the wallet’s total. Spam tokens and tokens with little liquidity are hidden by default.
How the result is built
- Token balances. The wallet’s non-zero token balances are loaded from indexed data, highest-liquidity tokens first. At most 5,000 token balances are considered; for a wallet with more, the lowest-liquidity ones are ignored.
-
Native balance. The native coin balance is read live from a node and cached for 5 seconds, so repeated calls within 5 seconds return the same native balance. If the node can’t be reached, the request fails with
503. -
Filters, applied to tokens only, never to the native coin:
- With
filterSpam=true, tokens flagged as spam are hidden and counted inhidden.spam. - Remaining tokens with liquidity below
minLiquidityUSDare hidden and counted inhidden.belowMinLiquidity. Tokens with no liquidity data count as0liquidity, so they only appear withminLiquidityUSD=0.
- With
-
Native holding. Added when the native balance is greater than 0. It always uses the address
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeand hasnative: true. It is priced at the USD price of the chain’s wrapped native token (for example WETH); if the chain has no wrapped native token, itspriceUSDandbalanceUSDare0. -
Totals, then limit.
totalBalanceUSD,holdingsCountand eachallocationare computed over every holding that passed the filters. Holdings are then sorted bybalanceUSD, highest first, and only then cut tolimit. So the totals describe the whole wallet, not just the returned list.
limit (up to 500) to control how many holdings are returned.
Query parameters
Chain id, as a number (
1) or with the evm: prefix (evm:1). A well-formed id for a chain ChainQuery doesn’t support returns 400 Unsupported chain. See Chains and identifiers.true hides tokens flagged as spam; false shows them. Only the exact lowercase strings true and false are accepted.Hide tokens whose liquidity in USD is below this value. Must be 0 or more; decimals are allowed. Set
0 to turn off the liquidity filter, so tokens with no liquidity data are shown too. Spam tokens are still hidden unless filterSpam=false.Maximum number of holdings to return, from 1 to 500. Does not affect
totalBalanceUSD or holdingsCount.