To monitor a JSON-RPC or blockchain node, send it a real RPC call, require a result in the answer and check that the block height keeps going up. A plain uptime check isn't enough, because the RPC server answers HTTP 200 while the node behind it is stuck, still syncing or returning an error object inside valid JSON.
Say you point a standard uptime monitor at your Ethereum node. It gets a 200 and reports the node up, while the node has been on the same block for two hours. Everything that depends on it is failing and the dashboard is green.
Why HTTP 200 says little about node health
An RPC endpoint, whether it's an Ethereum execution client, a Solana RPC node or Bitcoin Core, is an HTTP server in front of the node software. A plain uptime check only talks to that HTTP server, and the server returns 200 OK in all of these broken states:
- The node is still syncing, so every query returns data from an old block. The responses succeed and the data is wrong.
- The node was synced, then lost its peers or fell out of consensus. The block height is frozen while the RPC server still answers instantly.
- The call failed. The JSON-RPC spec puts errors inside the body as an
errorobject with a 200 around it, so a check that reads the status code never sees them. - A hosted endpoint is throttling you and returns 200 with a rate-limit message in the body.
In each case the information you need is inside the JSON, and the only way to get it is to send a real RPC call and read the answer.
What to check on an RPC node
There are three checks, and each one tells you more than the one before.
1. The call returns a result
Send a real JSON-RPC request, a POST with a JSON body, and require that the answer contains result. That alone catches JSON-RPC errors and broken responses that a 200 hides. A request for the current Ethereum block number:
# POST to the RPC endpoint, JSON body:
{
"jsonrpc": "2.0",
"method": "eth_blockNumber",
"params": [],
"id": 1
}
# Healthy answer (result is a hex string):
{ "jsonrpc": "2.0", "id": 1, "result": "0x14a2f3c" }
# Unhealthy: HTTP 200, but an error object instead of a result:
{ "jsonrpc": "2.0", "id": 1, "error": { "code": -32000, "message": "..." } }
Each chain has its own methods. Solana has getSlot and getHealth, and Bitcoin Core has getblockchaininfo, but the rule is the same: send a real call and require a result.
2. The block height keeps going up
This is the check that catches a stalled node, and few monitors do it. One call tells you the node answered; it can't tell you the node is keeping up. For that you have to compare over time: record the height (or slot) at each check and confirm it has changed since the last one.
Most uptime tools look at each check on its own. They can require that a value is above a fixed number, but they don't remember the previous value, so a height that's frozen above your number passes every time. The usual workaround was a script on a cron job that stored the height and compared it on each run.
failover.io does the comparison for you. Give a monitor a value path (the JSON path to the height, like result for eth_blockNumber) and a stall window in seconds. On every check it reads the value, decodes hex when needed and compares it with the last reading. When the value stays the same for longer than the window, the check fails and the alert chain starts, even though the endpoint still answers 200 in 30 milliseconds. In our tests against a 120-second window, the check at 119 seconds of stall passed and the one at 179 seconds failed with Tracked value stalled: result = 1 unchanged for 179s. The details are in how to detect a stalled blockchain node.
3. The node doesn't report itself as syncing
Most clients tell you their sync state. Ethereum execution clients answer eth_syncing with false when fully synced, or with an object that describes progress when they aren't. Solana has getHealth, and Bitcoin Core reports progress in getblockchaininfo. Asking the node directly catches the case where it's up but serving old data because it's still catching up.
| Check | Catches | Misses |
|---|---|---|
| HTTP 200 only | Server or port down | Everything below |
| Result in the answer | JSON-RPC errors, broken responses | Stalled and syncing nodes |
| Height above a fixed number | A node far behind | A frozen height above the number |
| Height keeps changing | Stalled node, lost consensus | A node that moves but slowly |
| Sync state | Node serving old data while catching up | Nodes that misreport their state |
What your monitoring tool has to support
A monitor can only run these checks if it can send a POST with a custom JSON body, because JSON-RPC doesn't work over GET. It also needs custom headers, since hosted RPC providers often want an API key in a header, and it has to read the response body rather than stopping at the status code. Checks have to run often enough to see the height move (minutes, not hours), and a failure has to reach a person: a broken node at 3 a.m. matters as much as a down website.
A failover.io HTTP monitor can send POST with a request body, up to 20 custom headers and JSON assertions on the response: a path exists, equals, doesn't equal, contains or is greater or less than a number. For RPC nodes, require that result exists; an answer with an error object has no result, so the check fails. You can also add "error" as text that must not appear. Value tracking covers the stalled height, and presets fill in the call and path for Bitcoin Core, EVM chains, Solana, Tendermint and Cosmos, Polkadot, XRPL and NEAR. Test your paths first with the JSONPath tester.
A monitoring setup for one node
- Create an HTTP monitor that sends a real call to the RPC endpoint (
eth_blockNumber,getSlotor your chain's equivalent) withPOSTand any auth headers it needs. - Add a JSON assertion that
resultexists. - Set a check interval short enough that a frozen height shows up within minutes.
- Turn on value tracking for the height with a stall window that fits your chain's block time.
- Build an alert chain on the monitor so the alert reaches someone; see alert escalation for small teams.
- If you run several nodes behind a load balancer, monitor each node directly, because the balancer can hide one bad node behind the healthy ones.
Frequently asked questions
How do I monitor an Ethereum RPC endpoint?
Send a real JSON-RPC call such as eth_blockNumber with POST, check that the response has a result and no error, and track the block number so a stalled node fails even when it answers 200.
Why does my node monitor say up when the node is broken?
A plain uptime check only reads the HTTP status. RPC nodes return 200 with an error object inside the JSON, or with stale data while syncing, so the check has to read the response body.
Can I monitor an RPC endpoint that needs an API key?
Yes. Put the key in a custom header (up to 20 per monitor) or, for providers that use keys in the URL path, in the URL itself.