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

Polygon RPC Endpoint & API

Bringing the world to Ethereum

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
Sign up for a Free Plan to unlock up to 40 req/sec and API Usage and Performance Insights. Get Started

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

Go to Growth Plan

  • High Performance
  • Powerful RPC Analytics
  • Up to 500 rps
  • No daily response limit
  • Priority Support
  • Decentralized Servers
Get Started

Polygon RPC details

FIELD
VALUE
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
Public rate limit
5 RPS
Private rate limit
Up to 500 RPS
Service status
Independent benchmark

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.

Build faster with Polygon RPC endpoints

Use OnFinality's Polygon RPC APIs to connect wallets, dApps, dashboards, bots, and backend services without operating your own node from day one.

Public endpoint testing

Start with the Polygon public RPC endpoint for lightweight checks, prototypes, and quick integration tests.

Authenticated API access

Move production traffic to authenticated endpoints when you need clearer limits, analytics, and operational visibility.

Standard RPC methods

Query Polygon blocks, transactions, balances, events, and chain state through HTTP and WebSocket workflows.

Operate Polygon infrastructure with more control

Production teams need more than an endpoint URL. They need observability, predictable capacity, and a path from shared RPC access to isolated infrastructure.

Request visibility

Track usage patterns and response activity so your team can understand traffic growth before it becomes an incident.

Dedicated node path

Use dedicated Polygon nodes when your workload needs isolated resources, custom operations, or stronger capacity planning.

Archive and historical data

Plan for archive access when analytics, audits, indexers, or advanced app features need older Polygon state.

Choose the right Polygon RPC setup

Different Polygon products need different infrastructure. OnFinality gives teams a practical path from public RPC testing to production-grade API and node operations.

For prototypes

Use public RPC for simple reads, connection checks, and early experiments where strict performance guarantees are not required.

For live apps

Use authenticated API endpoints when users depend on stable request handling, monitoring, and scalable access.

For heavy workloads

Use dedicated nodes for sustained traffic, latency-sensitive services, validator tooling, exchange systems, and indexing pipelines.

Never Worry about Infrastructure Again

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

Get Started