Free Polygon RPC endpoint and Chain ID
Polygon uses chain ID 137; its keyless public RPC endpoint is https://api.blockvectra.com/v1/polygon_mainnet/public (3 requests per second per IP), while eth_getLogs requires an API key.
Connect wallets and build applications with HTTP APIs for developers and AI Agents.
RPC endpoints and network parameters
Mainnet
https://api.blockvectra.com/v1/polygon_mainnet/public
Try RPC without an API key
curl -sS 'https://api.blockvectra.com/v1/polygon_mainnet/public' \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'Add a network to your wallet
Copy these values into your wallet’s custom network form.
{
"networkName": "Polygon",
"rpcUrl": "https://api.blockvectra.com/v1/polygon_mainnet/public",
"chainId": 137,
"currencySymbol": "POL",
"blockExplorerUrl": "https://polygonscan.com"
}Incoming transfer Webhooks
Receive address activity at your HTTPS endpoint. Follow the guide to create a subscription, verify signatures and deduplicate deliveries.
Polygon
Incoming transfer WebhooksIntegration tutorials
Endpoints
No API key required. Wallet methods only, rate-limited per IP. Check GET /v1/chains for current methods and limits.
https://api.blockvectra.com/v1/polygon_mainnet/publiccurl -X POST 'https://api.blockvectra.com/v1/polygon_mainnet/public' -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'Public methods
- eth_chainId
- net_version
- eth_blockNumber
- eth_getBalance
- eth_getTransactionCount
- eth_getCode
- eth_getStorageAt
- eth_call
- eth_estimateGas
- eth_gasPrice
- eth_maxPriorityFeePerGas
- eth_feeHistory
- eth_getBlockByNumber
- eth_getBlockByHash
- eth_getTransactionByHash
- eth_getTransactionReceipt
- eth_syncing
- web3_clientVersion
- eth_sendRawTransaction
https://api.blockvectra.com/v1/polygon_mainnet/{api_key}https://api.blockvectra.com/v1/polygon_mainnetx-api-key: {api_key}https://api.blockvectra.com/v1/data/polygon_mainnetx-api-key: {api_key}WebSocket
wss://api.blockvectra.com/v1/polygon_mainnet/{api_key}wss://api.blockvectra.com/v1/polygon_mainnetx-api-key: {api_key}
Authorization: Bearer {api_key}newHeadslogs(filter must include address or topic0)
Network Parameters
| Chain ID | 137 |
|---|---|
| Free public RPC endpoint | https://api.blockvectra.com/v1/polygon_mainnet/public |
| Methods with an API key | 43 |
| Data API | Supported |
| WebSocket Support | Supported |
| Webhook push | Supported · Confirmations 1–200 (default 200) Webhook push guide |
| Send Transactions | Supported |
| Send Transactions (Keyless Public Endpoint) | Supported |
| State History Window | Historical state for the most recent 126 blocks |
| eth_getLogs Max Block Range | 1,000 blocks |
| Data API Datasets | Blocks, Transactions, Address Transactions, Transfers, Token Metadata, Data Freshness |
| Supported Subscription Types | newHeads, logs |
| Related testnets | Unknown |
| Related guides | Unknown |
Quick Example
curl -X POST https://api.blockvectra.com/v1/polygon_mainnet \
-H "Content-Type: application/json" \
-H "x-api-key: {api_key}" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'Limits
| State History Window | Historical state for the most recent 126 blocks |
|---|---|
| eth_getLogs Max Block Range | 1,000 blocks |
| Method Policy | Allow: debug_traceBlockByHash, debug_traceBlockByNumber, debug_traceCall, debug_traceTransaction, eth_blobBaseFee, eth_blockNumber, eth_call, eth_chainId, eth_createAccessList, eth_estimateGas, eth_feeHistory, eth_gasPrice, eth_getBalance, eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockReceipts, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getCode, eth_getHeaderByHash, eth_getHeaderByNumber, eth_getLogs, eth_getProof, eth_getRawTransactionByBlockHashAndIndex, eth_getRawTransactionByBlockNumberAndIndex, eth_getRawTransactionByHash, eth_getStorageAt, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByBlockNumberAndIndex, eth_getTransactionByHash, eth_getTransactionCount, eth_getTransactionReceipt, eth_getUncleByBlockHashAndIndex, eth_getUncleByBlockNumberAndIndex, eth_getUncleCountByBlockHash, eth_getUncleCountByBlockNumber, eth_maxPriorityFeePerGas, eth_sendRawTransaction, eth_simulateV1, eth_syncing, net_version, web3_clientVersion, web3_sha3 |
Data API
Check the chain's data freshness
curl -s "https://api.blockvectra.com/v1/data/polygon_mainnet/status/freshness" -H "x-api-key: {api_key}"Choose a task
Monitor stablecoin transfers
Partially availableDeveloper and AI Agent integration
AvailableFrequently Asked Questions
What are the Polygon RPC endpoint and Chain ID?
Polygon uses chain ID 137; its keyless public RPC endpoint is https://api.blockvectra.com/v1/polygon_mainnet/public (3 requests per second per IP), while eth_getLogs requires an API key.
Can I try Polygon RPC without an API key?
Yes. Call eth_chainId at the public endpoints above without a key. Current methods and per-IP limits are listed in GET /v1/chains.
Does Polygon RPC support WebSocket?
Polygon RPC supports WebSocket connections. Supported subscription types: newHeads, logs.
Does Polygon RPC support debug methods?
Polygon RPC supports debug methods, including: debug_traceBlockByHash, debug_traceBlockByNumber, debug_traceCall, debug_traceTransaction.
Can I broadcast transactions through Polygon RPC?
Polygon: Supported.
How much historical state can I query on Polygon?
Polygon: Historical state for the most recent 126 blocks.
What is the eth_getLogs block-range limit for Polygon?
Polygon: 1,000 blocks, while eth_getLogs requires an API key.
Which Data API datasets are available on Polygon?
Polygon: Blocks, Transactions, Address Transactions, Transfers, Token Metadata, Data Freshness.
Pricing
Get 30,000,000 CU on sign-up, refilled every 30 days (balances and rate limits are pooled across chains; no credit card required); priced per million calls: eth_blockNumber $0.10, eth_call $1.50, eth_getLogs $3.00.