Etherscan
communityEthereum blockchain explorer and analytics platform. Transaction history, contract verification, and token tracking.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api.etherscan.io/apiGet ETH balance for an address
Parameters
actionbalance (stringrequiredapikeyAPI key (stringrequiredmoduleaccount (stringrequiredaddressEthereum address (stringrequiredReturns
result (balance in wei)GET
https://api.etherscan.io/apiGet transaction list
Parameters
sortasc|desc (stringoptionalactiontxlist (stringrequiredapikeyAPI key (stringrequiredmoduleaccount (stringrequiredaddressEthereum address (stringrequiredendblockend block (integeroptionalstartblockstart block (integeroptionalReturns
result[] with hash, from, to, value, gas, gasPrice, timeStamp, blockNumber, isErrorGET
https://api.etherscan.io/apiGet current gas prices
Parameters
actiongasoracle (stringrequiredapikeyAPI key (stringrequiredmodulegastracker (stringrequiredReturns
result with SafeGasPrice, ProposeGasPrice, FastGasPrice, suggestBaseFee, gasUsedRatio