Polygon RPC Endpoints
Mainnet
HTTPS
https://api-polygon-mainnet-full.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>
WSS
wss://api-polygon-mainnet-full.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>
Quick Start
BASH
curl -sS -X POST https://api-polygon-mainnet-full.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots> \-H 'Content-Type: application/json' \-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
JAVASCRIPT
import { JsonRpcProvider } from 'ethers';const provider = new JsonRpcProvider('https://api-polygon-mainnet-full.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>');const latest = await provider.getBlockNumber();console.log('block', latest);
PYTHON
import requestsurl = 'https://api-polygon-mainnet-full.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>'payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'eth_blockNumber', 'params': [] }resp = requests.post(url, json=payload)print(resp.json())
GO
package mainimport ("bytes""fmt""net/http""io/ioutil")func main() {url := "https://api-polygon-mainnet-full.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>"payload := []byte("{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"eth_blockNumber\",\"params\":[]}")resp, err := http.Post(url, "application/json", bytes.NewBuffer(payload))if err != nil { panic(err) }defer resp.Body.Close()body, _ := ioutil.ReadAll(resp.Body)fmt.Println(string(body))}
Polygon is a protocol and a framework for building and connecting Ethereum-compatible blockchain networks. It provides a platform for multi-chain interactions and seamless interoperability, expanding the capabilities of the Ethereum ecosystem.
Pricing
How many calls do you make per month?
/ month
Growth
$299
/month
- 500 Responses /sec
- Dedicated Account Manager
150,000,000 responses ≈ 150.0M • Base $299 + Overages $0
Polygon Dedicated Node
$2100/month
- Unlimited RPS & Responses
- HTTP & Websocket APIs
- Trace APIs
- Debug APIs
- Dedicated Account Manager
- Pay in Crypto
- Tailored load balancing
- Access to Engineering teams
- Global data centers
Developer Resources
FAQs
What are the key features of the Polygon network?
Which algorithm does Polygon use?
Requirements and benefits of Polygon dedicated nodes
What SDKs are available for developers to interact with the Polygon network?
Is there a token associated with Polygon?
Get your API key
and join other leading Web3 companies using Dwellir's infrastructure