cURL
curl --request GET \ --url https://solana-gateway.moralis.io/account/{network}/{address}/tokens \ --header 'X-Api-Key: <api-key>'
[ { "associatedTokenAddress": "<string>", "mint": "<string>", "name": "<string>", "symbol": "<string>", "tokenStandard": 123, "score": 123, "amount": "<string>", "amountRaw": "<string>", "decimals": 123, "logo": "<string>", "isVerifiedContract": true, "possibleSpam": true } ]
Gets token balances owned by the given address
The network to query
mainnet
devnet
The address to query
"kXB7FfzdrfZpAZEW3TZcp8a8CwQbsowa6BdfAHZ4gVs"
Should exclude spam tokens