Skip to content

RPC endpoints

This guide provides an index of network details for the Polygon Amoy testnet and Polygon PoS mainnet, including their associated RPC and node endpoints.

Network details

Amoy

The Amoy testnet serves as a replica of the Polygon mainnet and is primarily used for testing. Obtain testnet tokens from the faucet. Note that these test tokens hold no real-world value.

Properties Network details
Network name Amoy
Parent chain Sepolia
Chain ID 80002
Gas token POL
Gas station AMOY gas station
RPC endpoint https://rpc-amoy.polygon.technology/
Node endpoint wss://rpc-amoy.polygon.technology/
Heimdall API https://heimdall-api-amoy.polygon.technology
Block Explorer https://amoy.polygonscan.com/

Additional information

For more details, refer to this JSON data.

Mainnet

The native token for the Polygon PoS mainnet is MATIC, which is used for transaction fees.

Properties Network details
Network name Polygon
Parent chain Ethereum
Chain ID 137
Gas token POL
Gas station PolygonScan Gas Tracker
RPC endpoint https://polygon-rpc.com/
Node endpoint wss://rpc-mainnet.matic.network
Heimdall API https://heimdall-api.polygon.technology
Block explorer https://polygonscan.com/

Additional information

For more details, refer to the JSON data.

RPC API methods

Developers can interact with on-chain data and execute various types of transactions using network endpoints. These APIs adhere to the JSON-RPC standard, a stateless, lightweight remote procedure call (RPC) protocol.

Getting started with RPC calls

For a comprehensive list of API documentation, visit Polygon JSON-RPC calls.

To explore API requests without any setup, fix failing requests, or discover new methods on the Polygon network, try the Composer App.

Infrastructure providers

Public RPCs may have rate limits or traffic restrictions. For dedicated free RPC URLs, consider the following providers:

For a complete list of public endpoints, visit Alchemy’s Chain Connect and Chainlist.