Free Public TRON Mainnet RPC URLs
These JSON-RPC endpoints are publicly accessible and compatible with wallets like MetaMask (via custom network) and development tools like TronWeb and ethers.js.
| Provider | RPC URL | Network |
|---|---|---|
| TronGrid (official) | https://api.trongrid.io/jsonrpc | Mainnet |
| DRPC | https://tron.drpc.org | Mainnet |
| Ankr | https://rpc.ankr.com/tron_jsonrpc | Mainnet |
| Alchemy | https://tron-mainnet.g.alchemy.com/v2/<key> | Mainnet |
| Dwellir | https://api-tron-mainnet.n.dwellir.com/…/jsonrpc | Mainnet |
| Fastnode | https://public-trx-mainnet.fastnode.io/ | Mainnet |
TRON Testnets (Nile & Shasta)
For development and testing, TRON provides two testnets:
- Nile Testnet:
https://nile.trongrid.io - Shasta Testnet:
https://api.shasta.trongrid.io
How to Add TRON to MetaMask
- Open MetaMask → Settings → Networks → Add Network.
- Enter: Network Name = TRON Mainnet
- RPC URL =
https://api.trongrid.io/jsonrpc - Chain ID = 728126428
- Currency Symbol = TRX
- Block Explorer =
https://tronscan.org
TronGrid is rate-limited for free accounts. For high-throughput applications, register a free API key at trongrid.io or use a paid provider like Alchemy or Ankr.