Logo

Optimism RPC Endpoint and API Service

Optimism is a low-cost and lightning-fast Ethereum L2 blockchain

Connect to Optimism in seconds with OnFinality RPC endpoints, request analytics, scalable rate limits, and 99.99% uptime for production Web3 apps.

Optimism is a low-cost and lightning-fast Ethereum L2 blockchain

Optimism RPC Endpoint

The below example uses the public API endpoint*. This endpoint is only suitable for testing. To avoid rate limiting and service interruption, sign up now to get your own API key.
curl -H 'content-type:application/json' -d '{"id": 1, "jsonrpc": "2.0", "method": "eth_blockNumber"}' 'https://optimism.api.onfinality.io/public'
https://optimism.api.onfinality.io/public
wss://optimism.api.onfinality.io/public-ws

* The public endpoint is rate limited

RPC API Service

RPC API Features

ArchiveTrace

RPC Regions

Hong KongFranceN.Virginia

Use OnFinality for Optimism RPC endpoints, Optimism API access, and reliable Ethereum L2 infrastructure. OnFinality supports teams looking for dependable Optimism RPC providers, low-cost node hosting options, and scalable endpoints for production dApps.

Fast, stable, scalable Ethereum.

Optimism is a fast, stable, and scalable L2 blockchain built by Ethereum developers, for Ethereum developers. Built as a minimal extension to existing Ethereum software, Optimism’s EVM-equivalent architecture scales your Ethereum apps without surprises. If it works on Ethereum, it works on Optimism at a fraction of the cost.

Optimism goes Superchain

The Superchain project seeks to maximize interoperability and composability between different chains using the OP Stack, and integrate siloed L2s into a single, cohesive layer.

Built for the public good.

Optimism is more than just a blockchain. It's an experiment in sustainable ecosystem funding fueled by protocol revenue. Retroactive Public Goods Funding is simple: you build for the public good, you get paid. Join us on Discord and help build the future of Ethereum, sustainably.

RPC API SERVICE
Reliable RPC endpoints with high rate limits
Powerful RPC request analytics
99.99% uptime
Connect via HTTPS or websocket
Decentralised servers hosted globally
Full archive access at no extra cost
PRICING

Calculate Your Costs

Only pay for what you need.

Million Standard Requests
0100M200M300M400M
Total Cost
$49/ month

Recommended Plan: GROWTH

Continue with this plan

Public Optimism RPC vs OnFinality Optimism RPC

Public endpoints are useful for quick tests, while authenticated OnFinality endpoints are designed for teams that need clearer limits, request visibility, and a path to higher-capacity infrastructure.

FactorPublic RPCOnFinality RPC
Best fit

Lightweight testing and simple experiments.

Team projects, backend services, and higher-volume workloads.

Access

Usually shared by many anonymous users.

Authenticated endpoint access through the OnFinality dashboard.

Observability

Usually offers limited request visibility.

Request analytics and usage visibility for supported RPC API plans.

Scaling path

May be rate limited or unsuitable for sustained production traffic.

A path from shared RPC APIs to higher-capacity plans or dedicated nodes where supported.

Optimism RPC FAQs

Can I use OnFinality for Optimism RPC?

Yes. OnFinality supports Optimism RPC access through managed API endpoints. Developers can use it for production dApps, wallets, DeFi products, analytics tools, games, bots, and backend services without running their own node.

What is a Optimism RPC endpoint?

A Optimism RPC endpoint is a network URL that applications use to read blockchain data, submit transactions, and connect backend services to Optimism.

What are the key facts about Optimism RPC on OnFinality?

Network environment: mainnet. RPC protocol: EVM JSON-RPC. Transport: HTTP and WebSocket. Advanced access: archive, trace. Common users: production dApps, wallets, DeFi products, analytics tools, games, bots, and backend services. Regions: available through OnFinality infrastructure.

How do I connect to Optimism with OnFinality?

Create or sign in to an OnFinality account, choose Optimism from the supported networks list, create an API endpoint or deploy a dedicated node if the network supports it, test the endpoint with the example method eth_blockNumber, then monitor request usage, errors, and limits before moving critical traffic.

Is Optimism RPC suitable for production apps?

Yes, Optimism RPC can support production applications when the endpoint plan, limits, latency, and monitoring match the workload.

When should I use private Optimism RPC instead of public RPC?

Use private or authenticated Optimism RPC when your team needs stable access, clearer usage limits, request analytics, backend reliability, or support for traffic beyond lightweight testing.

Does Optimism support archive or trace access on OnFinality?

Optimism lists archive and trace capability on this page. Availability can depend on plan and network configuration.

Latest Optimism Updates!

Background

Never Worry about Infrastructure Again

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

Get Started