Free & Public RPC Endpoints
Get immediate access to 2,000+ chains and 4,000+ public free EVM RPC endpoints:
- Run an eRPC instance:
npx start-erpc
You can also deploy it to Railway
:
- Send requests to the eRPC instance based on chainId:
curl 'http://localhost:4000/evm/42161' \
--header 'Content-Type: application/json' \
--data '{
"method": "eth_getBlockByNumber",
"params": [
"latest",
false
],
"id": 9199,
"jsonrpc": "2.0"
}'
- 🚀 Profit!
How it works?
When running eRPC without a configuration file, it will use a basic configuration using the special repository provider.
This provider automatically fetches (every 1 hour) RPC public endpoints from https://evm-public-endpoints.erpc.cloud (opens in a new tab) which is a combination of Chainlist (opens in a new tab), ChainID.Network (opens in a new tab), and Viem (opens in a new tab) public RPC endpoints.
Next steps
This setup is recommended for development and testing purposes. For production environments, we recommend extending eRPC config (opens in a new tab) with dedicated premium providers and advanced failover configs.