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 Native Token Balance by Wallet

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

Gets native balance owned by the given address

PATH PARAMS
networkstringrequired
The network to query
addressstringrequired
The address to query
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/balance' \
--header 'accept: application/json' \
--header 'X-API-Key: YOUR_API_KEY'
Response Example
{
"solana": "",
"lamports": ""
}