→ Interested in running an IoTeX RPC Node? Checkout the dedicated section to learn how to run an IoTeX full node if you want to spin up an IoTeX RPC endpoint.→ Setup an IoTeX RPC Node
Official Ethereum JSON-APIPlease refer to the official Ethereum Documentation for the RPC JSON API: → Ethereum JSON RPC API
IoTeX Mainnet
EVM Chain ID: 4689
Full Node
| Endpoint | Type | Provider | More |
|---|---|---|---|
| https://babel-api.mainnet.iotex.io | HTTP | IoTeX Foundation | iotex.io |
| wss://babel-api.mainnet.iotex.io/ws | WSS | IoTeX Foundation | iotex.io |
| https://babel-api.mainnet.iotex.one | HTTP | IoTeX Foundation | iotex.io |
| https://babel-api.fastblocks.io | HTTP | Fastblocks | fastblock.io |
| https://iotexrpc.com | HTTP | Ankr | iotexrpc.com |
| https://rpc.ankr.com/iotex | HTTP | Ankr | ankr.com |
| https://4689.rpc.thirdweb.com | HTTP | Thirdweb | Thirdweb |
Archive Node
| Endpoint | Type | Provider | More |
|---|---|---|---|
| https://archive-mainnet.iotex.io | HTTP | IoTeX Foundation | iotex.io |
IoTeX Testnet
EVM Chain ID: 4690
| Endpoint | Type | Provider | More |
|---|---|---|---|
| https://babel-api.testnet.iotex.io | HTTP | IoTeX Foundation | iotex.io |
| wss://babel-api.testnet.iotex.io/ws | WSS | IoTeX Foundation | iotex.io |
| https://babel-api.testnet.iotex.one | HTTP | IoTeX Foundation | iotex.io |
| https://babel-api.testnet.iotex.one/wss | WSS | IoTeX Foundation | iotex.io |
Archive Node
| Endpoint | Type | Provider | More |
|---|---|---|---|
| https://archive-testnet.iotex.io | HTTP | IoTeX Foundation | iotex.io |
Examples
Query an IoTeX full node to get the current IOTX balance for an address
The code below utilizescurl to query the public IoTeX RPC full-node endpoint to check the balance of 0xE584...C5D46 on the IoTeX Blockchain:
0x10f0cf064dd59200000 (decimal 5000¹⁸ , equivalent to 5000 IOTX).

