rpc-radar
Inspect, benchmark, and continuously monitor EVM-compatible RPC endpoints. Detects chain ID, measures latency, checks supported methods, and assigns a health score — useful for selecting reliable public RPCs or auditing private node performance.
Quick Scan
# Single endpoint
rpc-radar scan https://eth.llamarpc.com
# Multiple endpoints from file
rpc-radar scan --file endpoints.txt
# Output as JSON
rpc-radar scan https://mainnet.infura.io/v3/KEY --json
What It Checks
| Check |
Method |
Pass Condition |
| Chain ID |
eth_chainId |
Returns expected chain |
| Block height |
eth_blockNumber |
Non-zero, synced |
| Latency |
timed request |
< 500ms = good |
| Batch support |
batch JSON-RPC |
Response array |
| Archive depth |
eth_getBalance (old block) |
Returns value |
| Filter support |
eth_newFilter |
No error |
| WebSocket |
ws:// upgrade |
Handshake success |
Benchmark Mode
# 100 requests, measure p50/p95/p99
rpc-radar bench https://eth.llamarpc.com --requests 100
# Compare two endpoints
rpc-radar compare https://eth.llamarpc.com https://rpc.ankr.com/eth
Monitor Mode (continuous)
# Poll every 30s, alert if latency > 1000ms or block falls behind
rpc-radar monitor https://eth.llamarpc.com --interval 30 --alert-latency 1000
# Monitor multiple and export to CSV
rpc-radar monitor --file endpoints.txt --output monitor.csv
Health Score
Each endpoint gets a 0–100 score:
- Latency (40 pts): < 200ms = 40, < 500ms = 20, > 500ms = 0
- Uptime (30 pts): based on consecutive successful checks
- Block sync (20 pts): within 2 blocks of best known
- Method support (10 pts): supports batch + filters + archive
Supported Chains
Auto-detected by chain ID: Ethereum, Polygon, BSC, Arbitrum, Optimism, Avalanche, Base, Fantom, and any other EVM-compatible chain.
Output Example
Endpoint: https://eth.llamarpc.com
Chain: Ethereum Mainnet (1)
Block: 19,845,231 ✅
Latency: 87ms ✅
Batch: supported ✅
Archive: supported ✅
Health Score: 94/100 🟢
1---2name: rpc-radar3description: "Inspect, benchmark, and monitor Web3 RPC endpoints — latency checks, method support, chain detection, and health scoring."4version: 1.0.05author: Lord1Egypt6license: MIT7platforms: [linux, macos, windows]8category: blockchain9tags: [web3, rpc, ethereum, evm, monitoring, latency, health-check, endpoints, blockchain]10compatible: [claude-code, openai-agents, hermes-agent, autogen, langchain, any-llm]11source: lord1egypt12source_url: https://github.com/Lord1Egypt/rpc-radar13metadata:14 source: https://skillmd.com/skills/lord1egypt/rpc-radar15---1617# rpc-radar1819Inspect, benchmark, and continuously monitor **EVM-compatible RPC endpoints**. Detects chain ID, measures latency, checks supported methods, and assigns a health score — useful for selecting reliable public RPCs or auditing private node performance.2021## Quick Scan2223```bash24# Single endpoint25rpc-radar scan https://eth.llamarpc.com2627# Multiple endpoints from file28rpc-radar scan --file endpoints.txt2930# Output as JSON31rpc-radar scan https://mainnet.infura.io/v3/KEY --json32```3334## What It Checks3536| Check | Method | Pass Condition |37|-------|--------|----------------|38| Chain ID | `eth_chainId` | Returns expected chain |39| Block height | `eth_blockNumber` | Non-zero, synced |40| Latency | timed request | < 500ms = good |41| Batch support | batch JSON-RPC | Response array |42| Archive depth | `eth_getBalance` (old block) | Returns value |43| Filter support | `eth_newFilter` | No error |44| WebSocket | ws:// upgrade | Handshake success |4546## Benchmark Mode4748```bash49# 100 requests, measure p50/p95/p9950rpc-radar bench https://eth.llamarpc.com --requests 1005152# Compare two endpoints53rpc-radar compare https://eth.llamarpc.com https://rpc.ankr.com/eth54```5556## Monitor Mode (continuous)5758```bash59# Poll every 30s, alert if latency > 1000ms or block falls behind60rpc-radar monitor https://eth.llamarpc.com --interval 30 --alert-latency 10006162# Monitor multiple and export to CSV63rpc-radar monitor --file endpoints.txt --output monitor.csv64```6566## Health Score6768Each endpoint gets a 0–100 score:69- **Latency** (40 pts): < 200ms = 40, < 500ms = 20, > 500ms = 070- **Uptime** (30 pts): based on consecutive successful checks71- **Block sync** (20 pts): within 2 blocks of best known72- **Method support** (10 pts): supports batch + filters + archive7374## Supported Chains7576Auto-detected by chain ID: Ethereum, Polygon, BSC, Arbitrum, Optimism, Avalanche, Base, Fantom, and any other EVM-compatible chain.7778## Output Example7980```81Endpoint: https://eth.llamarpc.com82Chain: Ethereum Mainnet (1)83Block: 19,845,231 ✅84Latency: 87ms ✅85Batch: supported ✅86Archive: supported ✅87Health Score: 94/100 🟢88```