githubEdit

How to Get a Polygon RPC Endpoint

Step-by-step guide to getting a fast, reliable Polygon RPC endpoint.

Polygon PoS is one of the most widely used Ethereum scaling solutions, powering DeFi protocols, NFT marketplaces, gaming applications, and enterprise solutions.

Available Service on GetBlock

  • Archive data: query historical state at any block (all plans)

  • Trace & Debug: debug_traceTransaction, trace_block (Starter+)

  • WebSocket: real-time subscriptions via wss://go.getblock.io/<TOKEN>/

  • Multi-region: Frankfurt, New York, Singapore

  • Dedicated Nodes: unlimited RPS, from $1,000/mo

This guide shows you how to get a reliable Polygon RPC endpoint — from free development access to production-grade infrastructure.

Step-by-Step: Get Your Polygon RPC Endpoint

1

Create a GetBlock Account

Go to GetBlock Dashboardarrow-up-right and sign up. You can register with email or via Google/GitHub OAuth.

2

Create a Polygon Endpoint

Once logged in:

  1. Click "Shared Nodes" in the left sidebar

  2. Click "Create New Endpoint" or the "+" button

  1. Select:

    • Protocol: Polygon

    • Network: Mainnet or Amoy(test network)

    • API Interface: JSON-RPC or WebSocket

    • Region: Frankfurt (EU), New York (US), or Singapore (APAC)

  2. Click "Create": Your endpoint URL will be generated immediately.

3

Copy Your Endpoint URL

Your endpoint URL looks like this:

https://go.getblock.io/a1b2c3d4e5f6789012345678abcdef01/
circle-exclamation
4

Test the Connection

curl -X POST https://go.getblock.io/<YOUR-ACCESS-TOKEN>/ \
  -H "Content-Type: application/json" \
  -d '{
 "jsonrpc":"2.0",
 "method":"eth_chainId",
 "params":[],
 "id":1
}'

Code Example

import { JsonRpcProvider } from "ethers";

const provider = new JsonRpcProvider("https://go.getblock.io/<YOUR-ACCESS-TOKEN>/");
const block = await provider.getBlockNumber();
console.log("Latest Polygon block:", block);

Plans

Use Case
Plan
CU
RPS

Learning

Free

50K/day

20

Side project

Starter ($49/mo)

50M/mo

100

Production

Advanced ($199/mo)

220M/mo

300

High-traffic

Pro ($499/mo)

600M/mo

500

Enterprise

Dedicated ($1K+/mo)

Unlimited

Unlimited

You can learn more about our pricing herearrow-up-right

What's Next?

Need enterprise Polygon infrastructure? Contact usarrow-up-right.

Last updated

Was this helpful?