Logo
New RPC users get 35% off their first monthView the offer
Polygon logo

Polygon RPC Endpoint & API

An Ethereum scaling network for low-cost, high-throughput DeFi, games, wallets, and consumer applications.

Polygon PoS is an Ethereum scaling network for low-cost, high-throughput DeFi, games, wallets, and consumer applications. Its EVM compatibility lets teams use familiar Ethereum tooling while serving users with fast transactions and lower fees.

Chain ID137
CurrencyPOL
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://polygon.api.onfinality.io/public'
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}' 'https://polygon.api.onfinality.io/public'
HTTPs
https://polygon.api.onfinality.io/public
https://polygon.api.onfinality.io/public
Websocket
wss://polygon.api.onfinality.io/public-ws
wss://polygon.api.onfinality.io/public-ws
GET CONNECTED

Connect to Polygon

Index Polygon PoS contract logs and inspect DeFi transactions with OnFinality RPC. Query archive state, use paid Trace APIs or deploy dedicated Polygon nodes.

Try the public interface

First request
curl 'https://polygon.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 Polygon
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

Polygon RPC details

Network
Polygon PoS Mainnet
Mainnet Chain ID
137
Native token
POL
Testnet
Polygon Amoy — Chain ID 80002
Transport
HTTPS / WebSocket
Public endpoint
https://polygon.api.onfinality.io/public
WebSocket endpoint
wss://polygon.api.onfinality.io/public-ws
Region
N. Virginia
Archive access
Available
Trace / Debug
Available on paid plans
Independent benchmark
Polygon RPC benchmark
NETWORK REFERENCE

How Bor, Heimdall, and Polygon PoS RPC relate

Polygon PoS separates execution from consensus. Bor is the EVM execution and block-production layer that processes transactions and serves the Ethereum-compatible RPC methods used by applications. Heimdall is the validator and consensus layer that validates Bor blocks, coordinates block producers, and checkpoints Bor state to Ethereum. The Polygon PoS RPC endpoint is the developer-facing gateway to Bor: when an app calls eth_call, eth_getLogs, or submits a transaction, Bor handles the request while Heimdall provides validator coordination, finality, and Ethereum anchoring behind the scenes.

BUILT FOR YOUR WORKLOAD

Build with Polygon

Plan access around the requests, operational requirements and release workflow your application needs.

Integration

Start with a connection check, then validate the reads, transactions or data workflows required by your application.

Usage planning

Review method-specific limits, plan allowances and usage before increasing traffic. Different methods can consume different response units.

Operations

Use your real client region and request pattern when evaluating latency, retries and service availability.

Never Worry about Infrastructure Again

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

Get Started