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 Balance for Multiple Wallets

GEThttps://deep-index.moralis.io/api/v2.2/wallets/balances

Get the native balances for a set of specific addresses

QUERY PARAMS
chainstring
The chain to query
to_blocknumber
The block number on which the balances should be checked
wallet_addressesarrayrequired
The addresses to get metadata for (max 25 addresses)
No items in the array
Responses
200Returns a collection of balances
400Bad Request
404Not Found
429Too Many Requests
500Internal Server Error
API KEY
curl --request GET \
--url 'https://deep-index.moralis.io/api/v2.2/wallets/balances?chain=eth' \
--header 'accept: application/json' \
--header 'X-API-Key: YOUR_API_KEY'
Response Example
[
{
"chain": "eth_mainnet",
"chain_id": "2",
"total_balance": "57499206466583095",
"block_number": "123456789",
"block_timestamp": "0.057",
"total_balance_formatted": "123456789",
"wallet_balances": [
{
"address": "0x123",
"balance": "28499206466583095",
"balance_formatted": "0.0285"
}
]
}
]