IoTeXscan API
Last updated
Was this helpful?
Last updated
Was this helpful?
At IoTeX, we provide a powerful block explorer, IoTeXScan, which allows users and developers to easily query data on the IoTeX blockchain. To make it even easier for developers familiar with Ethereum tools, weโve implemented the same Etherscan API on IoTeXScan.
This guide provides a quick overview of how to get started with our IoTeXScan API and the available endpoints.
You can use IoTeXScanโs API just as you would use the Etherscan API. The API allows developers to retrieve blockchain data programmatically, such as transaction details, block information, account balances, and much more.
Here are the key steps to start using the API:
Base URL: https://index.iotexscan.io/api
API Key: To interact with the IoTeXScan API, no API key is required. However, queries are rate-limited to 1 request per second.
Example endpoint:
?module=contract&action=getabi
Eth Address or Io Address
0x883cb2e2d9c5d4d9af5b0d37fc39fa2284405682
?module=contract&action=getcontractcreation
Eth Address or Io Address
0x883cb2e2d9c5d4d9af5b0d37fc39fa2284405682
No body
?module=contract&action=getsourcecode
Eth Address or Io Address
0x883cb2e2d9c5d4d9af5b0d37fc39fa2284405682
No body
?module=contract&action=checkverifystatus
No body
?module=contract&action=verifysourcecode
Eth Address or Io Address
No body
?module=transaction&action=getstatus
Hash
0xbe9126db27c58dd5df01340d7c3cd209481440920bddc2b7314b7123a065dda6
No body
?module=token&action=addresstokenbalance
Eth Address or Io Address
0x53bdd401a871bd0f84e94619edcc0c24489d4aab
Page number, default 1
1
Number of items per page, default 10
10
No body
?module=token&action=tokeninfo
Eth Address or Io Address
0x9756e951dd76e933e34434db4ed38964951e588b
No body
?module=token&action=tokenholderlist
Eth Address or Io Address
0x6fbcdc1169b5130c59e72e51ed68a84841c98cd1
Page number, default 1
1
Number of items per page, default 10
10
No body
?module=stats&action=iotxdailyprice
Start date
2025-02-28
End date
2025-03-07
Sort order, default 'asc
asc
, desc
No body
?module=stats&action=dailytx
Start date
2025-02-28
End date
2025-03-07
Sort order, default 'asc
asc
, desc
No body
?module=stats&action=dailynewaddress
Start date
2025-02-28
End date
2025-03-07
Sort order, default 'asc
asc
, desc
No body
?module=stats&action=dailytxnfee
Start date
2025-02-28
End date
2025-03-07
Sort order, default 'asc
asc
, desc
No body
?module=stats&action=iotxprice
No body
?module=stats&action=dailyblockrewards
Start date
2025-02-28
End date
2025-03-07
Sort order, default 'asc
asc
, desc
No body
?module=stats&action=dailyblkcount
Start date
2025-02-28
End date
2025-03-07
Sort order, default 'asc
asc
, desc
No body
?module=stats&action=tokensupply
Eth Address or Io Address
0x6fbcdc1169b5130c59e72e51ed68a84841c98cd1
No body
?module=log&action=getLogs
Eth Address or Io Address
Block number
10000
Block number
10000
Page number, default 1
1
Number of items per page, default 10
10
No body
?module=block&action=getblocknobytime
Unix timestamp
1741323239
Before timestamp or after timestamp, default 'before'
before
, after
No body
?module=block&action=getblockreward
Block number
10000
No body
?module=account&action=addresstokennftinventory
Eth Address or Io Address
Eth Address or Io Address
Page number, default 1
1
Number of items per page, default 10
10
No body
?module=account&action=addresstokennftbalance
Eth Address or Io Address
Page number, default 1
1
Number of items per page, default 10
10
No body
?module=account&action=tokenbalancehistory
Eth Address or Io Address
Eth Address or Io Address
Block number
10000
No body
?module=account&action=tokensupplyhistory
Eth Address or Io Address
Block number
10000
No body
?module=account&action=tokenbalance
Eth Address or Io Address
Eth Address or Io Address
No body
?module=account&action=token1155tx
Eth Address or Io Address
0x36fb3f6d43460293419bd58655f675f2fce17fef
Eth Address or Io Address
0x9564dfb4f3c85f5604c6bd862de6f1b172caa982
Page number, default 1
1
Number of items per page, default 10
10
Sort order, default 'asc
asc
, desc
Start block number
End block number
No body
?module=account&action=tokennfttx
Eth Address or Io Address
0xec0cd5c1d61943a195bca7b381dc60f9f545a540
Eth Address or Io Address
0xd16a5552e51941486deb36109586ae4afc1d6946
Page number, default 1
1
Number of items per page, default 10
10
Sort order, default 'asc
asc
, desc
Start block number
End block number
No body
?module=account&action=tokentx
Eth Address or Io Address
0x6c0bf4b53696b5434a0d21c7d13aa3cbf754913e
Eth Address or Io Address
0xe4650c74dfd5c20fee8dbb9beaf61820aa39ad8a
Page number, default 1
1
Number of items per page, default 10
10
Sort order, default 'asc
asc
, desc
Start block number
End block number
No body
?module=account&action=txlistinternal
Eth Address or Io Address
Hash
0xbe9126db27c58dd5df01340d7c3cd209481440920bddc2b7314b7123a065dda6
Page number, default 1
1
Number of items per page, default 10
10
Sort order, default 'asc
asc
, desc
Start block number
End block number
No body
?module=account&action=txlist
Eth Address or Io Address
0xa00744882684c3e4747faefd68d283ea44099d03
Page number, default 1
1
Number of items per page, default 10
10
Sort order, default 'asc
asc
, desc
Start block number
End block number
No body
?module=account&action=balancemulti
Eth Address or Io Address
Block tag, default 'latest
latest
, earliest
, pending
, safe
, finalized
No body
?module=account&action=balance
Eth Address or Io Address
0xa00744882684c3e4747faefd68d283ea44099d03
Block tag, default 'latest
latest
, earliest
, pending
, safe
, finalized
No body
?module=proxy&action=eth_estimateGas
0x0
^0x[0-9a-fA-F]+$
Eth Address or Io Address
0x0
^0x[0-9a-fA-F]+$
0x0
^0x[0-9a-fA-F]+$
0x0
^0x[0-9a-fA-F]+$
No body
?module=proxy&action=eth_gasPrice
No body
?module=proxy&action=eth_getStorageAt
Eth Address or Io Address
0x0
^0x[0-9a-fA-F]+$
Block tag, default 'latest
latest
, earliest
, pending
, safe
, finalized
No body
?module=proxy&action=eth_getCode
Eth Address or Io Address
Block tag, default 'latest
latest
, earliest
, pending
, safe
, finalized
No body
?module=proxy&action=eth_call
Eth Address or Io Address
0x0
^0x[0-9a-fA-F]+$
Block tag, default 'latest
latest
, earliest
, pending
, safe
, finalized
No body
?module=proxy&action=eth_getTransactionReceipt
Hash
0xbe9126db27c58dd5df01340d7c3cd209481440920bddc2b7314b7123a065dda6
No body
?module=proxy&action=eth_sendRawTransaction
0x0
^0x[0-9a-fA-F]+$
No body
?module=proxy&action=eth_getTransactionCount
Eth Address or Io Address
Block tag, default 'latest
latest
, earliest
, pending
, safe
, finalized
No body
?module=proxy&action=eth_getTransactionByBlockNumberAndIndex
block height in hex string
0x0
^0x[0-9a-fA-F]+$
0x0
^0x[0-9a-fA-F]+$
No body
?module=proxy&action=eth_getTransactionByHash
Hash
0xbe9126db27c58dd5df01340d7c3cd209481440920bddc2b7314b7123a065dda6
No body
?module=proxy&action=eth_getBlockTransactionCountByNumber
block height in hex string
0x0
^0x[0-9a-fA-F]+$
No body
?module=proxy&action=eth_getUncleByBlockNumberAndIndex
block height in hex string
0x0
^0x[0-9a-fA-F]+$
0x0
^0x[0-9a-fA-F]+$
No body
?module=proxy&action=eth_getBlockByNumber
block height in hex string
0x0
^0x[0-9a-fA-F]+$
If true, returns the full transaction objects, if false only the hashes of the transactions, default 'false
false
No body
?module=proxy&action=eth_blockNumber
No body
?module=transaction&action=gettxreceiptstatus
Hash
0xbe9126db27c58dd5df01340d7c3cd209481440920bddc2b7314b7123a065dda6
No body