address. Rows from every wallet come back in one list, each with its own address, and wallets gives each wallet’s total. See address for the limits.
By default, tokens Goldsky has no price source for are left out. Set include_unknown_price=true to see them.
Parameters
This endpoint accepts the shared parameters, plus the following.Hide balances worth less than this many US dollars, to filter out dust. Must be
0 or more. Balances without a price are hidden too, since they have no value to compare. total_value_usd only counts the balances that pass. Can’t be combined with include_token_metadata=false or include_prices=false: the request returns 422 CONFLICTING_FILTERS.Also return zero balances: tokens the wallet held and fully sold, and native tokens it holds none of.
Solana wallets only. Set to
true to add the lamports held in the wallet’s token accounts for each token, which is their rent, plus the wrapped SOL in wrapped SOL accounts. The amounts come back in the solana object. Tokens with a zero balance whose account is still open come back too, since their rent is still held. The lookup covers at most 10 accounts per token and 20 per request; compare lamports_account_count with open_account_count to see whether the total is partial. A failed lookup leaves the fields out rather than failing the request. Ignored for an EVM wallet.Solana wallets only. Set to
true to add the rent held in the wallet’s open token accounts to native SOL’s balance_raw and value_usd, and to total_value_usd. The lookup covers the first 20 token accounts by address, and native SOL’s solana object says how much rent was added and how many accounts it covers. A failed lookup adds nothing rather than failing the request. Ignored for an EVM wallet.Response
The wallet address, in lowercase for an EVM wallet and as sent (base58) for a Solana wallet. Only on a single-wallet request: when you ask for several wallets, it’s left out, and each row’s
address says whose balance it is.Sum of
value_usd over every balance that matches your filters, across all pages and every requested wallet. Balances without a USD value add nothing, so read it as a lower bound. null when you set include_token_metadata=false or include_prices=false.One entry per requested wallet, sorted by address, on every page. Their totals add up to
total_value_usd.One entry per token balance, highest
value_usd first. Balances without a price come last. With include_token_metadata=false or include_prices=false, no balance has a value_usd, so entries are ordered by chain, then token address.See pagination.
Solana object
Each flag adds its own fields, and a field the request didn’t ask for is left out.With
include_chain_fields=true. How many of the wallet’s token accounts the balance sums over, since a wallet can own several for one token. Counts every open account with a balance above zero.With
include_chain_fields=true. The largest of those accounts, largest first, up to 10. Fewer entries than token_account_count means the list was cut. Native SOL sits in the wallet’s own account, so its one entry is the wallet itself.With
include_lamports=true, the lamports held in the token accounts the lookup covered: their rent, plus the wrapped SOL in wrapped SOL accounts. For wrapped SOL, the rent is lamports minus balance_raw. On native SOL with include_rent=true, the rent already added to its balance_raw. Left out when the lookup covered no account.How many token accounts
lamports covers. With include_lamports=true, the largest accounts by balance come first, so empty accounts are covered last. On native SOL with include_rent=true, the first 20 of the wallet’s token accounts by address.Every open token account behind the row, empty ones included: the token’s accounts with
include_lamports=true, and all of the wallet’s token accounts on native SOL with include_rent=true. Fewer accounts in lamports_account_count means lamports is partial.How the data behaves
- Latest only. You can’t ask for a wallet’s balances at a past block. To reconstruct past holdings, use Transfers.
- Native balances are read live. The API reads each chain’s native balance over RPC when you make the request. If a chain doesn’t answer, the request fails with
503 NATIVE_BALANCE_UNAVAILABLE, lists the chains inerror.chains, and setsRetry-After. To get the other chains in the meantime, leave the failing ones out ofchains. - Values move without onchain activity. Prices update on their own schedule, so two requests seconds apart can return different values for the same balances. Pages are ordered by
value_usd, so a balance whose value changes while you page through can be skipped or repeated. - Going back re-reads the wallet. A
prev_page_tokenrequest uses current values, so a balance can land on a different page than it did the first time.