Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key

Get Token Balances by Wallet

GEThttps://solana-gateway.moralis.io/account/:network/:address/tokens

Gets token balances owned by the given address

PATH PARAMS
networkstringrequired
The network to query
addressstringrequired
The address to query
QUERY PARAMS
excludeSpamboolean
Should exclude spam tokens
Responses
200
400Bad Request
404Not Found
429Too Many Requests
500Internal Server Error
API KEY
curl --request GET \
--url 'https://solana-gateway.moralis.io/account/mainnet/kXB7FfzdrfZpAZEW3TZcp8a8CwQbsowa6BdfAHZ4gVs/tokens?excludeSpam=true' \
--header 'accept: application/json' \
--header 'X-API-Key: YOUR_API_KEY'
Response Example
Empty