Find the best RPC endpoints and data APIs for building on Avalanche C-Chain
Avalanche is one of the fastest blockchain networks with sub-second finality. Choose the right API provider for your AVAX dApp.
High-performance Avalanche RPC
Enterprise-grade Avalanche infrastructure
Free public RPC for Avalanche
Reliable infrastructure with Avalanche
| Provider | RPC URL | Network ID |
|---|---|---|
| Ankr | https://rpc.ankr.com/avalanche |
43114 |
| Avax Network | https://api.avax.network/ext/bc/C/rpc |
43114 |
| QuickNode | https://avalanche-mainnet.g.quiknode.pro/... |
43114 |
| All That Nodes | https://avalanche-mainnet.public.blastapi.io |
43114 |
const { ethers } = require('ethers');
const provider = new ethers.JsonRpcProvider(
'https://rpc.ankr.com/avalanche'
);
const balance = await provider.getBalance('0x...');
const Web3 = require('web3');
const web3 = new Web3('https://rpc.ankr.com/avalanche');
const balance = await web3.eth.getBalance('0x...');