curl --request GET \
--url 'https://beaconcha.in/api/v1/execution/address/{address}?apikey='{
"status": "OK",
"data": {
"address": "0x388c818ca8b9251b393131c08a736a67ccb19297",
"ether": "2.472194030644794345",
"tokens": [
{
"address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"balance": "122100",
"symbol": "TOKEN1"
}
]
}
}Retrieve the native ETH balance and ERC-20 token balances for an Ethereum address. The response includes at most 200 distinct ERC-20 tokens. To fetch all tokens beyond this limit, call /api/v1/execution/address/{address}/erc20tokens.
curl --request GET \
--url 'https://beaconcha.in/api/v1/execution/address/{address}?apikey='{
"status": "OK",
"data": {
"address": "0x388c818ca8b9251b393131c08a736a67ccb19297",
"ether": "2.472194030644794345",
"tokens": [
{
"address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"balance": "122100",
"symbol": "TOKEN1"
}
]
}
}Ethereum account address to query. Provide a 0x-prefixed, 20-byte hex string (40 hexadecimal characters after 0x).
^0x[a-fA-F0-9]{40}$"0xdAC17F958D2ee523a2206206994597C13D831ec7"
Optional ERC-20 contract address to filter the result to a single token. Provide a 0x-prefixed, 20-byte hex address.
^0x[a-fA-F0-9]{40}$"0xdAC17F958D2ee523a2206206994597C13D831ec7"
Balances were retrieved successfully. The data object contains the address, native ETH balance, and a list of ERC-20 token balances.
Standard success envelope used by all API endpoints.
Was this page helpful?