Logo

Optimism RPC Endpoints & API | OnFinality

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.

What is Optimism?

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 pioneered the OP Stack, an open-source framework powering an ecosystem of Layer 2 chains called the 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.

Why Use an Optimism RPC Provider?

An Optimism RPC endpoint is the gateway for applications to read blockchain data, submit transactions, and connect backend services to Optimism. Whether you are building a wallet, DeFi product, analytics tool, game, bot, or backend service, a reliable RPC provider ensures stable access without the overhead of running your own node.

Public RPC endpoints are often rate-limited and lack observability. For production workloads, authenticated endpoints from a managed provider like OnFinality offer clearer usage limits, request analytics, and a path to higher capacity.

Optimism RPC on OnFinality

OnFinality provides managed Optimism RPC API endpoints with support for:

  • EVM JSON-RPC – Standard Ethereum-compatible methods.
  • HTTP and WebSocket – Choose the transport that fits your application.
  • Archive and trace access – Query historical state and debug transactions where supported.
  • Observability – Monitor request usage, errors, and limits through the OnFinality dashboard.

OnFinality endpoints are suitable for production dApps, wallets, DeFi products, analytics tools, games, bots, and backend services.

How to Connect to Optimism with OnFinality

  1. Create or sign in to an OnFinality account.
  2. Choose Optimism from the supported networks list.
  3. Create an API endpoint (or deploy a dedicated node if needed).
  4. Test the endpoint with the example method eth_blockNumber.
  5. Monitor request usage, errors, and limits before moving critical traffic.

Optimism RPC vs Public RPC

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

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

Latest Optimism Updates!

Never Worry about Infrastructure Again

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

Get Started