Free / public RPC URLs
Public RPC URLs for OP Mainnet
These endpoints are free, anonymous, and rate limited. They are useful for development, wallet reads, and one off scripts. For production traffic or indexer workloads, pair them with a paid provider so the public list becomes your fallback rather than your primary.
| RPC URL | Hosted by | Notes |
|---|---|---|
| https://mainnet.optimism.io | Optimism Foundation | Recommended in official docs. |
| https://optimism-rpc.publicnode.com | Allnodes (publicnode) | |
| https://rpc.ankr.com/optimism | Ankr | |
| https://optimism.drpc.org | dRPC | |
| https://1rpc.io/op | 1RPC |
Paid RPC providers
Paid RPC providers for OP Mainnet
Production dapps, indexers, and trading systems should use a managed provider with a private API key, archive history, and an SLA. These providers list OP Mainnet support on their public pricing pages.
- Alchemy
Supernode RPC plus enhanced APIs across 40+ chains.
Free tier: 30M compute units per month on the Free plan.
- Infura
ConsenSys backed RPC, deeply integrated with MetaMask.
Free tier: 6M credits per day, ~2,000 credits per second throughput.
- QuickNode
Globally distributed RPC across 50+ chains.
Free tier: Seven day free trial with full feature access.
- Ankr
Public RPC for 80+ chains plus a Premium tier.
Free tier: Free public endpoints (rate limited) for 80+ chains, no signup required.
- GetBlock
Shared and dedicated nodes across 50+ chains.
Free tier: Free plan with a daily request cap shared across chains.
- BlockPI
Pay as you go RPC with no monthly minimums.
Free tier: Free public endpoints per chain with shared rate limits.
- Chainstack
Region selectable elastic and dedicated nodes.
Free tier: Free Developer plan with 3M requests per month.
- Tenderly
RPC with first class simulation and debugging.
Free tier: Free plan with simulator access and a small RPC quota.
- dRPC
Decentralised RPC across 100+ chains.
Free tier: Free public endpoints per chain plus a generous metered free tier.
- NodeReal
MegaNode RPC with deep BNB Chain support.
Free tier: Free plan with 3M compute units per day.
Block explorers and docs
OP Mainnet explorers and documentation
- Optimistic Etherscan — https://optimistic.etherscan.ioEIP 3091
- OP Mainnet Blockscout — https://optimism.blockscout.comEIP 3091
- Official documentation — https://docs.optimism.io/
- Canonical bridge — https://app.optimism.io/bridge
When the answer is real
Caveats and things to verify
- OP Mainnet is an optimistic rollup. Withdrawals to Ethereum take seven days through the canonical bridge.
- OP Stack chains (Base, Mode, World Chain, etc.) share the same architecture but each has its own chain ID.
FAQ
Frequently asked questions
What is the OP Mainnet chain ID?
OP Mainnet (Optimism) chain ID is 10 (hex 0xa). The OP Sepolia testnet is chain ID 11155420.
What is the official Optimism RPC URL?
The Optimism Foundation lists https://mainnet.optimism.io as the public RPC. It is rate limited and intended for development and wallet usage. Production dapps should use a paid provider.
Sources
- Optimism docs networks — https://docs.optimism.io/superchain/networks
- ChainList chain 10 — https://chainlist.org/chain/10