Archive RPC

Standard JSON-RPC with full archive state and debug and trace methods, on supported mainnet and testnet networks. Point an existing client at the endpoint URL and read historical state or trace a call without running a node.

Base URL

The chain and the API key are both in the path:

textCopy code
1https://rpc.routescan.io/evm/{chainId}/{apiKey}
  • {chainId} is the numeric chain id, for example 1 for Ethereum.
  • {apiKey} is your API key. JSON-RPC requests count against the account’s RPC allowance.

Chains

See supported chains for Archive RPC availability. Filter by mainnet or testnet to find the network and EVM chain ID to use.

Authentication

Put your API key in the path. Paid plans include debug and trace methods. Compare the plans on the pricing page.

Free API keys can call eth_* methods, without debug, trace or Beacon access: 86,400 RU per day and 1 RU/s.

Without an API key, only eth_blockNumber is available at /evm/{chainId}: 86,400 RU per day and 1 RU/s, counted per client IP (per /64 for IPv6).

bashCopy code
1curl "https://rpc.routescan.io/evm/1/YourApiKeyToken" \
2 -H "Content-Type: application/json" \
3 -d '{
4 "jsonrpc": "2.0",
5 "id": 1,
6 "method": "eth_getBalance",
7 "params": ["0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae", "0x1"]
8 }'

Methods and Request Units

Archive RPC supports the methods below. Availability also depends on the selected chain and node client. RPC usage is measured in Request Units (RU). Every JSON-RPC call costs 1 RU, including trace and debug. A batch of N calls costs N RU.

JSON-RPC has an RU allowance separate from indexed API request limits, shared across all keys and chains of the same user. Paid JSON-RPC quotas use fixed 30-day windows, independent of calendar months and Stripe billing cycles. Rate limits are measured in RU and enforced over one-minute windows. Each JSON-RPC call counts toward the rate limit: a batch of N calls uses N RU. Failed requests are not refunded.

JSON-RPC methodRU per call
debug_getBadBlocks1
debug_getRawBlock1
debug_getRawHeader1
debug_getRawReceipts1
debug_getRawTransaction1
debug_traceBlock1
debug_traceBlockByHash1
debug_traceBlockByNumber1
debug_traceCall1
debug_traceTransaction1
eth_blockNumber1
eth_call1
eth_chainId1
eth_coinbase1
eth_estimateGas1
eth_feeHistory1
eth_gasPrice1
eth_getBalance1
eth_getBlockByHash1
eth_getBlockByNumber1
eth_getBlockReceipts1
eth_getBlockTransactionCountByHash1
eth_getBlockTransactionCountByNumber1
eth_getCode1
eth_getFilterChanges1
eth_getFilterLogs1
eth_getLogs1
eth_getProof1
eth_getRawTransactionByHash1
eth_getStorageAt1
eth_getTransactionByBlockHashAndIndex1
eth_getTransactionByBlockNumberAndIndex1
eth_getTransactionByHash1
eth_getTransactionCount1
eth_getTransactionReceipt1
eth_getUncleByBlockHashAndIndex1
eth_getUncleByBlockNumberAndIndex1
eth_getUncleCountByBlockHash1
eth_getUncleCountByBlockNumber1
eth_maxPriorityFeePerGas1
eth_mining1
eth_newBlockFilter1
eth_newFilter1
eth_newPendingTransactionFilter1
eth_protocolVersion1
eth_sendRawTransaction1
eth_syncing1
eth_uninstallFilter1
trace_block1
trace_call1
trace_callMany1
trace_filter1
trace_get1
trace_rawTransaction1
trace_replayBlockTransactions1
trace_replayTransaction1
trace_transaction1
txpool_content1

Beacon API operations

Beacon API operations keep separate weighted units and counters. The one-call, one-RU rule applies only to JSON-RPC.

Beacon operationWeighted units per operation
genesis1
headers1
block2
block_parts1
blob_sidecars2
state1
validator1
validators25
validator_balances25
committees10
light_client2
config1
node1

Trace a transaction

bashCopy code
1curl "https://rpc.routescan.io/evm/1/YourApiKeyToken" \
2 -H "Content-Type: application/json" \
3 -d '{
4 "jsonrpc": "2.0",
5 "id": 1,
6 "method": "debug_traceTransaction",
7 "params": ["0x3d60…c511", { "tracer": "callTracer" }]
8 }'

Limits

  • eth_getLogs spans at most 10,000 blocks per query. Split a wider range into several requests.
  • HTTP only. There is no WebSocket endpoint, so eth_subscribe and other subscription methods are not available.

Usage counts against the limits of your plan. See Rate limits for the numbers of each plan.

Questions? Contact us