VORQ Docs
Reference

Health API

The liveness and readiness routes, GET /healthz and GET /readyz.

GET /healthz

Liveness. Answers as soon as the server listens, including during a cold start.

Auth: public · Index-backed: no

Response 200

{ "status": "ok" }

GET /readyz

Readiness: whether the index is within READY_LAG_BLOCKS of the chain head. Use it for load-balancer and orchestrator readiness checks. The result is cached for BLOCK_TIME_MS.

Auth: public · Index-backed: no

Response 200 when ready, 503 otherwise.

{ "ready": false, "reason": "trailing", "cursor": "123", "head_block": "140", "lag": "17" }
FieldMeaning
readytrue when serving.
reasonready, cold_start, trailing, reorg or chain_unreachable. See Indexing and readiness.
cursorThe last indexed block, or null before the first.
head_blockThe chain head the node sees.
laghead_block − cursor. It can be negative if the RPC endpoint is behind the index.

With reason: "chain_unreachable", cursor, head_block and lag are null. With reason: "reorg" the node stays unready until the index is rebuilt; see Recover from a reorg.

curl -s -o /dev/null -w '%{http_code}\n' https://api.vorq.co/readyz

On this page