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.

ProviderRPC URLNetwork
TronGrid (official)https://api.trongrid.io/jsonrpcMainnet
DRPChttps://tron.drpc.orgMainnet
Ankrhttps://rpc.ankr.com/tron_jsonrpcMainnet
Alchemyhttps://tron-mainnet.g.alchemy.com/v2/<key>Mainnet
Dwellirhttps://api-tron-mainnet.n.dwellir.com/…/jsonrpcMainnet
Fastnodehttps://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

  1. Open MetaMask → Settings → Networks → Add Network.
  2. Enter: Network Name = TRON Mainnet
  3. RPC URL = https://api.trongrid.io/jsonrpc
  4. Chain ID = 728126428
  5. Currency Symbol = TRX
  6. 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.