Skip to main content
GET
/
v2
/
api
curl "https://api.etherscan.io/v2/api?chainid=1&module=account&action=tokenbalance&contractaddress=0x57d90b64a1a57749b0f932f1a3395792e12e7055&address=0xe04f27eb70e025b78871a2ad7eabe85e61212761&tag=latest&apikey=YourApiKeyToken"
{
  "status": "1",
  "message": "OK",
  "result": "135499"
}

Query Parameters

apikey
string
default:"YourApiKeyToken"
Your Etherscan API key.
chainid
string
default:"1"
Chain ID to query, eg 1 for Ethereum, 8453 for Base from our supported chains.
module
string
default:"account"
Set to account for this endpoint.
action
string
default:"tokenbalance"
Set to tokenbalance for this endpoint.
contractaddress
string
default:"0x57d90b64a1a57749b0f932f1a3395792e12e7055"
Contract address of the ERC-20 token.
address
string
default:"0xe04f27eb70e025b78871a2ad7eabe85e61212761"
Address to check for token balance.
tag
string
default:"latest"
Use latest for the last block number of the chain.
curl "https://api.etherscan.io/v2/api?chainid=1&module=account&action=tokenbalance&contractaddress=0x57d90b64a1a57749b0f932f1a3395792e12e7055&address=0xe04f27eb70e025b78871a2ad7eabe85e61212761&tag=latest&apikey=YourApiKeyToken"
{
  "status": "1",
  "message": "OK",
  "result": "135499"
}
I