Readiness probe
GET /ready- who may call it
- Anyone
- no key and no session
- how fresh
- No cache header
- MCP tool
- None
On this page
200 only when the index (vigia, on a deployment that reads it; else the database) and the node answer, each with a height under 3 s old or within the 2 s of a new read, and the index is within 2 blocks of the node.
Parameters
It takes no parameters.
What it answers
Serving honest data.
| Field | Type | What it carries |
|---|---|---|
ready | boolean | True when the index and the node answer and the index is at most 2 blocks behind the node. |
index_height | integer | The height of the index's tip. Absent when the index did not answer. |
node_height | integer | The node's tip height. Absent when the index or the node did not answer. |
lag_blocks | integer | How many blocks the index trails the node. Absent with node_height. |
reason | string | Why it is not ready: the index or the node did not answer, or the index trails. Absent when ready. |
schema Ready
readyboolean required — True when the index and the node answer and the index is at most 2 blocks behind the node.index_heightinteger — The height of the index's tip. Absent when the index did not answer.node_heightinteger — The node's tip height. Absent when the index or the node did not answer.lag_blocksinteger — How many blocks the index trails the node. Absent withnode_height.reasonstring — Why it is not ready: the index or the node did not answer, or the index trails. Absent when ready.
Errors
| Status | Code | When |
|---|---|---|
| 503 | the contract names no code | Index or node unreachable, or index lagging; reason explains (index (vigia) unreachable when vigia gives no tip, node unreachable when the node gives no height). |
Example
curl and jq, in any shell.
curl -s https://api.btcintel.io/ready | jq '{ready, index_height, node_height}'The answer, read on 23 Nov 2026 at 14:56 UTC
{
"ready": true,
"index_height": 977224,
"node_height": 977224
}