OnFinality
New RPC users get 35% off their first monthView the offer
Ethereum logo

Ethereum Mainnet RPC Endpoints & API

Free public endpoints and authenticated RPC for wallets, dApps and backends.

Connect to Ethereum Mainnet over HTTPS or WebSocket. Copy a free public RPC URL for a first check, or create an authenticated endpoint for your wallet, dApp or backend. Archive access is supported; Trace and Debug require a paid plan.

Chain ID1
CurrencyETH
Create a free API key for 400,000 response units per day and up to 40 response units/second. Method weights apply.

Public endpoint rate limit: 5 req/sec

Quick Start
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}' 'https://eth.api.onfinality.io/public'
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}' 'https://eth.api.onfinality.io/public'
HTTPs
https://eth.api.onfinality.io/public
https://eth.api.onfinality.io/public
Websocket
wss://eth.api.onfinality.io/public-ws
wss://eth.api.onfinality.io/public-ws
GET CONNECTED

Connect to Ethereum

Connect to Ethereum Mainnet with OnFinality RPC over HTTPS or WebSocket. Copy a free public URL, set up MetaMask, or choose archive and paid Trace access.

Try the public interface

First request
curl 'https://eth.api.onfinality.io/public' \
  -H 'Content-Type: application/json' \
  --data '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}'

Use the interface and request shown above for an initial check, then test the methods and traffic pattern your application actually needs.

02

Create your own access

  1. Open the dashboard and select this network.
  2. Create an endpoint and copy the access details supplied by the dashboard.
  3. Validate your application's methods, peak traffic and error handling before production.
Create an RPC endpoint for Ethereum
RPC API

RPC API plans & response units

Choose a shared RPC plan by response-unit allowance and peak throughput. Method weights and network-specific availability still apply.

Developer

Free
Included response units
400,000/day
Rate limit
Up to 40 RU/s
Extra RU
Not available

Accelerate

$249/month
Included response units
100 million/month
Rate limit
500 RU/s
Extra RU
$3.75/million
Compare RPC plans

Plan figures checked 8 November 2026. RU are not always raw requests; WebSocket responses also count toward limits. Check the current pricing and this network's method documentation. Node charges and applicable taxes are additional.

NETWORK REFERENCE

Ethereum RPC URL & MetaMask settings

Use the Add to wallet button above, or set OnFinality as the RPC provider for your existing Ethereum Mainnet network. The chain remains Ethereum, with chain ID 1.

Network name
Ethereum Mainnet
RPC URL
https://eth.api.onfinality.io/public
Chain ID
1 (0x1)
Currency symbol
ETH
Block explorer
Etherscan
  1. Open MetaMask's network menu, choose Manage networks, then edit Ethereum Mainnet.
  2. In the RPC URL dropdown, choose Add RPC URL and enter the public HTTPS URL above. Give it a recognizable name and save.
  3. Select the saved RPC URL. If you are entering a custom network, use the chain ID, ETH symbol and explorer shown here.

For browser-extension and mobile instructions, including how a custom RPC affects MetaMask Smart Transactions, see MetaMask's network guide. Use Sepolia for test ETH; its chain ID is 11155111.

Verify Ethereum Mainnet

bash
curl 'https://eth.api.onfinality.io/public' \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'

A successful chain check returns {"jsonrpc":"2.0","id":1,"result":"0x1"}. Then run the eth_blockNumber Quick Start above to read a changing block height. If the public endpoint returns 429, create an authenticated endpoint and retry within its RU/s allowance.

NETWORK REFERENCE

Public, authenticated or dedicated Ethereum RPC

Choose access for your application rather than relying on an anonymous endpoint for sustained traffic.

AccessBest fitWhat to check
Public HTTPS / WSSConnection checks and prototypesNo API key; shared public limits. Use authenticated access when throttled.
Authenticated RPCWallets, dApps and production backendsFree Developer plan or paid plans; usage analytics, RU allowances and archive support. Trace/Debug requires a paid plan.
Dedicated nodesWorkloads that need isolated resources or custom configurationSeparate deployment and node charges; verify node type and capacity.

Use your authenticated endpoint

Create an Ethereum RPC endpoint, set your own key in ONFINALITY_API_KEY, then run this request. Use wss://eth.api.onfinality.io/YOUR_API_KEY for authenticated WebSocket access; replace the placeholder with your key.

bash
# Set ONFINALITY_API_KEY to the key from your dashboard.
curl "https://eth.api.onfinality.io/${ONFINALITY_API_KEY}" \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'

The returned result is a hexadecimal block height. Keep a server-side key in your environment and configure app restrictions for browser clients. See the Ethereum method reference and RPC pricing for supported methods and plan limits.

NETWORK REFERENCE

Ethereum methods, access & response units

Checked 8 November 2026 against OnFinality's Ethereum documentation. RU weights meter both billing and throughput; one RPC call is not always one RU.

Ethereum methodRU / responseAccess or transport
eth_chainId, eth_blockNumber, eth_getBalance, eth_call1Standard JSON-RPC; authenticated plans include archive access on supported state methods.
eth_estimateGas, eth_getLogs3Standard JSON-RPC; use bounded log ranges.
eth_getBlockReceipts13Block receipts.
eth_sendRawTransaction12Submit a locally signed transaction.
eth_subscribe1WebSocket; subsequent push responses also consume RU.
debug_traceTransaction, debug_traceCall30Paid plans.
debug_traceBlockByHash, debug_traceBlockByNumber50Paid plans.

For all methods and individual Trace weights, use the Ethereum support reference. Response Units explains subscription billing. For a full namespace tutorial, read the Ethereum API guide.

NETWORK REFERENCE

Estimate an Ethereum RPC workload

Example monthly workload for a DeFi backend: 4 million contract reads, 2 million log responses and 200,000 transaction traces. The table applies the Ethereum method weights above; it is a planning example.

Monthly responsesWeightMonthly RU
4,000,000 × eth_call14,000,000
2,000,000 × eth_getLogs36,000,000
200,000 × debug_traceTransaction306,000,000
Total: 6,200,000 responsesMixed methods16,000,000

This mix fits Growth's 20M RU/month at the $49/month base price. Doubling the same mix uses 32M RU: $121/month on Growth ($49 + 12 × $6). These figures exclude separately billed node usage and applicable taxes, and use standard monthly prices before promotions.

Growth also limits peak traffic to 200 RU/s. For a single-method stream, that allows up to 200 eth_call responses/s or 66 eth_getLogs responses/s; mixed traffic shares the same RU budget. An allowance calculation does not establish measured throughput. Review current plans and your dashboard usage before scaling.

NETWORK REFERENCE

Ethereum reads, events & execution traces

Wallets and contract state

Use eth_getBalance and eth_call for balances and contract reads. When you need old state, supply a specific block and validate the historical query on your authenticated endpoint. Archive state is different from merely retrieving an old transaction.

Event indexing

Use an address and bounded block ranges with eth_getLogs, then checkpoint completed ranges. This example reads USDC logs in the latest Ethereum block; a block without matching events returns an empty array.

bash
curl "https://eth.api.onfinality.io/${ONFINALITY_API_KEY}" \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_getLogs","params":[{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","fromBlock":"latest","toBlock":"latest"}]}'

Trace and Debug

Use debug_traceTransaction with a real Ethereum transaction hash and a paid-plan key. Verify the tracer options and response needed by your application before starting a backfill. For isolated resources, review dedicated Ethereum node deployments.

NETWORK REFERENCE

Ethereum RPC details

Network
Ethereum Mainnet
Chain ID
1
Transport
HTTPS / WebSocket
Regions
Hong Kong / N. Virginia
Archive access
Supported
Trace / Debug
Paid plans
Independent benchmark
CompareNodes
SERVICE EVIDENCE

Ethereum RPC service status & history

Service status

99.9%

Review reported incidents and maintenance alongside this service summary.

Check details

Compare public Ethereum endpoints

Run an independent comparison for your location and workload. Record the date, method, region and sample size when comparing results.

CompareNodes
DOCUMENTATION & SUPPORT

Developer resources

Learn guides

Never Worry about Infrastructure Again

OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.

Get Started