Accounts

Get Ether Balance for a Single Address

Returns the Ether balance of a given address.

https://api-sepolia.etherscan.io/api
   ?module=account
   &action=balance
   &address=0x382b4ca2c4a7cd28c1c400c69d81ec2b2637f7dd
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

Get Ether Balance for Multiple Addresses in a Single Call

Returns the balance of the accounts from a list of addresses.

https://api-sepolia.etherscan.io/api
   ?module=account
   &action=balancemulti
   &address=https://api-sepolia.etherscan.io/api?module=account&action=balance&address=0x382b4ca2c4a7cd28c1c400c69d81ec2b2637f7dd,0x382b4ca2c4a7cd28c1c400c69d81ec2b2637f7dd,0x8a5847fd0e592b058c026c5fdc322aee834b87f5&tag=latest&apikey=YourApiKeyToken,0x63a9dbCe75413036B2B778E670aaBd4493aAF9F3,0xd82b6aB1f20A21484fA5E28221B95425dddC5E8E
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'Normal' Transactions By Address

Returns the list of transactions performed by an address, with optional pagination.

https://api-sepolia.etherscan.io/api
   ?module=account
   &action=txlist
   &address=0x382b4ca2c4a7cd28c1c400c69d81ec2b2637f7dd
   &startblock=0
   &endblock=99999999
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'Internal' Transactions by Address

Returns the list of internal transactions performed by an address, with optional pagination.

https://api-sepolia.etherscan.io/api
   ?module=account
   &action=txlistinternal
   &address=0xa4fadaa5e8577fee5799e2bd9615014013b45c5d
   &startblock=0
   &endblock=99999999
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get 'Internal Transactions' by Transaction Hash

Returns the list of internal transactions performed within a transaction.

Note : This API endpoint returns a maximum of 10000 records only.

https://api-sepolia.etherscan.io/api
   ?module=account
   &action=txlistinternal
   &txhash=0xb730ee4dc8d0274be31d1e31ed7fe9749d7a67c0e35b297f3c2d10b06c1f6f1e
   &apikey=YourApiKeyToken

Query Parameters

Get "Internal Transactions" by Block Range

Returns the list of internal transactions performed within a block range, with optional pagination.

https://api-sepolia.etherscan.io/api
   ?module=account
   &action=txlistinternal
   &startblock=484887
   &endblock=765371
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'ERC20 - Token Transfer Events' by Address

Returns the list of ERC-20 tokens transferred by an address, with optional filtering by token contract.

https://api-sepolia.etherscan.io/api
   ?module=account
   &action=tokentx
   &contractaddress=0xa808b14492AC6E33419ac16112154D40D0A4AEBA
   &address=0x105083929bf9bb22c26cb1777ec92661170d4285
   &page=1
   &offset=100
   &startblock=0
   &endblock=99999999
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

  • ERC-20 transfers from an address, specify the address parameter

  • ERC-20 transfers from a contract address, specify the contract address parameter

  • ERC-20 transfers from an address filtered by a token contract, specify both address and contract address parameters.

Query Parameters

Get a list of 'ERC721 - Token Transfer Events' by Address

Returns the list of ERC-721 ( NFT ) tokens transferred by an address, with optional filtering by token contract

https://api-sepolia.etherscan.io/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0x31225ffF34ebB599D018A22d2430c2e4fdE32eCa
   &address=0x8a5847fd0e592b058c026c5fdc322aee834b87f5
   &page=1
   &offset=100
   &startblock=0
   &endblock=99999999
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

  • ERC-721 transfers from an address, specify the address parameter

  • ERC-721 transfers from a contract address, specify the contract address parameter

  • ERC-721 transfers from an address filtered by a token contract, specify both address and contract address parameters.

Query Parameters

Get list of Blocks Mined by Address

Returns the list of blocks mined by an address.

https://api-sepolia.etherscan.io/api
   ?module=account
   &action=getminedblocks
   &address=0x3d080421c9DD5fB387d6e3124f7E1C241ADE9568
   &blocktype=blocks
   &page=1
   &offset=10
   &apikey=YourApiKeyToken

Query Parameters

Last updated