Polygon Archive Node RPC
Query the full history of Polygon — balances, contract storage, and transaction traces at any past block — with archive node access included on every paid SwiftNodes plan. No separate archive tier, no per-request fees.
Endpoint
https://rpc.swiftnodes.io/rpc/polygon?key=YOUR_API_KEYArchive queries use the same Polygon HTTP endpoint — just pass a historical block tag. The matching WebSocket endpoint is wss://rpc.swiftnodes.io/ws/polygon?key=YOUR_API_KEY.
Query historical Polygon state
// Read historical state at a past block on Polygon (archive query)
const balanceAtBlock = await client.getBalance({
address: "0x0000000000000000000000000000000000000000",
blockNumber: 1_000_000n,
});
// Replay a transaction's execution trace (requires archive data)
const trace = await fetch("https://rpc.swiftnodes.io/rpc/polygon?key=YOUR_API_KEY", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
jsonrpc: "2.0", id: 1,
method: "debug_traceTransaction",
params: ["0x<txhash>", { tracer: "callTracer" }],
}),
}).then((r) => r.json());What archive access unlocks
- eth_getBalance / eth_call at any historical block number
- eth_getStorageAt for contract storage at a past block
- debug_traceTransaction to replay and inspect old transactions
- Point-in-time analytics, accounting, and reconciliation
Polygon is an EVM sidechain / commit chain, with ~~2 seconds block times and probabilistic: ~256 block (8-10 min) for high confidence finality. Historical queries reach back across its entire chain history.
Frequently asked questions
Does SwiftNodes offer Polygon archive node access?
Yes. Archive access for Polygon — querying state at any historical block — is included on every paid plan. There is no separate, more expensive "archive tier" to upgrade to.
What's the difference between a full node and an archive node?
A full node keeps only recent state (typically the last ~128 blocks) and prunes older state. An archive node retains the complete historical state, so you can read balances, storage, and run traces at any past block on Polygon.
Is Polygon archive access an extra charge?
No. Unlike providers that gate archive behind a premium tier, SwiftNodes includes archive queries in all paid plans for supported chains, billed at the same flat monthly rate.
See the full Polygon RPC page for chain details, or the API reference for the complete method list.
Get a Polygon endpoint free
HTTP + WebSocket, flat-rate, pay with crypto, no KYC. Live in 30 seconds.
Get your API key