EVM network documentation
Polygon RPC API reference
Polygon mainnet RPC endpoint: https://triport.io/polygon (HTTPS) and wss://triport.io/ws/poly (WebSocket), chain ID 137. Requests need a Triport API key in the x-token header; the Free plan is a 7-day trial. Endpoint, plans and limits: Polygon RPC endpoint.
https://triport.io/polygonAll Polygon reference pages 57
JSON-RPC · polygon bor
JSON-RPC · polygon trace
JSON-RPC · polygon read rpc
- eth_blockNumber
- eth_call
- eth_chainId
- eth_estimateGas
- eth_feeHistory
- eth_gasPrice
- eth_getBalance
- eth_getBlockByHash
- eth_getBlockByNumber
- eth_getBlockReceipts
- eth_getBlockTransactionCountByHash
- eth_getBlockTransactionCountByNumber
- eth_getCode
- eth_getFilterChanges
- eth_getLogs
- eth_getProof
- eth_getStorageAt
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
- eth_getTransactionByHash
- eth_getTransactionCount
- eth_getTransactionReceipt
- eth_maxPriorityFeePerGas
- eth_newBlockFilter
- eth_protocolVersion
- eth_syncing
- eth_uninstallFilter
- net_listening
- net_peerCount
- net_version
- web3_clientVersion
- web3_sha3
JSON-RPC · polygon send tx
JSON-RPC · polygon txpool
REST
Streams
Guides & operations
Contracts
Capabilities
- JSON-RPC readsAvailableFree+
- Transaction submissionAvailableFree+
- Trace and debugAvailablePro+
- txpool (routed node view)AvailablePro+Pool of the routed node, not the whole network mempool.
- Bor validator methodsAvailablePro+
- WebSocket newPendingTransactionsAvailableFree+
- WebSocket logsAvailableBasic+
- WebSocket newHeads, syncingAvailablePro+
Statuses reflect checks up to 2026-10-10. Rate limits are plan policy, not measured capacity.
One key covers the Ethereum-compatible surface, Polygon-native bor_* methods, trace_* and debug_* tracing, the Heimdall consensus-layer REST proxy, and WebSocket Pub/Sub.
| Method / Endpoint | Network | Chain ID | Authentication | Required scope | Tier / rate limit |
|---|---|---|---|---|---|
POST https://triport.io/polygon | Polygon mainnet | 137 | x-token: $TRIPORT_API_KEY | polygon:rpc | Category-specific RPS; see Limits |
Endpoints
| Surface | Endpoint | Reference |
|---|---|---|
| HTTPS | https://triport.io/polygon | Backend path /rpc |
| WSS | wss://triport.io/ws/poly | Registry path /ws/poly |
| REST | Product routes | REST catalog |
| Stream contract | poly ws | AsyncAPI |
Quickstart
curl https://triport.io/polygon \
-H "x-token: $TRIPORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'What's available
50 JSON-RPC methods in the OpenRPC catalog:
polygon_bor: 7polygon_trace: 7polygon_read_rpc: 32polygon_send_tx: 1polygon_txpool: 3
The Polygon surface adds Bor validator and sprint introspection, Heimdall data, tracing, mempool data, and firehose-related REST operations.
Limits
See network limits and Rate Limits & Tiers.
Finite request-rate budgets include a 2× burst buffer at no extra cost. It refills at sustained RPS; there is no quota on the number of bursts. Interval categories use seconds and have no RPS burst. See Burst capacity.
| Category | Free | Basic | Pro | Business | Enterprise |
|---|---|---|---|---|---|
polygon_read_rpc | 15 RPS sustained · up to 30 burst | 20 RPS sustained · up to 40 burst | 100 RPS sustained · up to 200 burst | 250 RPS sustained · up to 500 burst | unlimited |
polygon_send_tx | 3 RPS sustained · up to 6 burst | 5 RPS sustained · up to 10 burst | 30 RPS sustained · up to 60 burst | 80 RPS sustained · up to 160 burst | unlimited |
polygon_trace | — | — | 3 RPS sustained · up to 6 burst | 10 RPS sustained · up to 20 burst | unlimited |
polygon_txpool | — | — | 1 RPS sustained · up to 2 burst | 2 RPS sustained · up to 4 burst | unlimited |
polygon_txpool_snapshot_min_interval_sec | — | — | 5 | 2 | unlimited |
bor_*, trace, and txpool operations have category-specific tier gates.
Errors
See network-specific errors and the shared error reference.
Methods
polygon bor (7)
bor_getAuthorbor_getCurrentProposerbor_getCurrentValidatorsbor_getRootHashbor_getSignersbor_getSnapshoteth_getRootHash
polygon trace (7)
debug_traceBlockByNumberdebug_traceCalltrace_blocktrace_calltrace_filtertrace_replayBlockTransactionstrace_transaction
polygon read rpc (32)
eth_blockNumbereth_calleth_chainIdeth_estimateGaseth_feeHistoryeth_gasPriceeth_getBalanceeth_getBlockByHasheth_getBlockByNumbereth_getBlockReceiptseth_getBlockTransactionCountByHasheth_getBlockTransactionCountByNumbereth_getCodeeth_getFilterChangeseth_getLogseth_getProofeth_getStorageAteth_getTransactionByBlockHashAndIndexeth_getTransactionByBlockNumberAndIndexeth_getTransactionByHasheth_getTransactionCounteth_getTransactionReceipteth_maxPriorityFeePerGaseth_newBlockFiltereth_protocolVersioneth_syncingeth_uninstallFilternet_listeningnet_peerCountnet_versionweb3_clientVersionweb3_sha3
polygon send tx (1)
polygon txpool (3)
Streams
JavaScript (fetch)
The same request from JavaScript (Node 18+ or the browser):
const res = await fetch("https://triport.io/polygon", {
method: "POST",
headers: {
"x-token": process.env.TRIPORT_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}),
});
const { result } = await res.json();
console.log(result);Related
Tutorial: stream pending Ethereum and Polygon transactions — Polygon's hash-only stream, and fetching bodies within your plan's read budget.