btcintel

Readiness probe

GET /ready
who may call it
Anyone
no key and no session
what it costs
Not counted
tiers and keys
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.

FieldTypeWhat it carries
readybooleanTrue when the index and the node answer and the index is at most 2 blocks behind the node.
index_heightintegerThe height of the index's tip. Absent when the index did not answer.
node_heightintegerThe node's tip height. Absent when the index or the node did not answer.
lag_blocksintegerHow many blocks the index trails the node. Absent with node_height.
reasonstringWhy it is not ready: the index or the node did not answer, or the index trails. Absent when ready.
schema Ready
  • ready boolean required — 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.

Errors

StatusCodeWhen
503the contract names no codeIndex 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
}