Block chain-status
GET /v1/blocks/{id}/status- who may call it
- Anyone
- no key and no session
- how fresh
- Depends on the request
- every answer carries the index's height and the node's
- how fresh, by case
- the block's status: cached for 10 seconds, and up to 30 seconds more while it is read again
- a hash in the legacy internal byte order: the 301 to the canonical address: cached for 1 day
On this page
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
id | path | string | required | Height (decimal) or canonical block hash (64 hex). |
What it answers
200 · application/json
Whether the block is in the best indexed chain and its successor.
| Field | Type | What it carries |
|---|---|---|
in_best_chain | boolean | True when the block is on the best chain the index follows; false for a block off it that the index also holds. |
height | integer | The block's height. |
hash | string | Canonical display byte order. |
next_best | string | Canonical display byte order. |
schema
in_best_chainboolean — True when the block is on the best chain the index follows; false for a block off it that the index also holds.heightinteger — The block's height.hashstring — Canonical display byte order.next_beststring — Canonical display byte order.
301
Legacy internal-order hash; Location holds the canonical URL.
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_input | invalid_input: the request is malformed: bad hex, an address of another network, a bad vout, or a value out of its range. The message says which. |
| 404 | not_found | not_found: what the path names is not known: not in the index (for a transaction, not in the node's mempool either), or no such record. The message says which. |
Each comes in the one error envelope, and none is cached: an error carries Cache-Control: no-store.
Example
curl and jq, in any shell.
curl -s https://api.btcintel.io/v1/blocks/968212/status | jq '{in_best_chain, height, hash}'The answer, read on 23 Nov 2026 at 14:56 UTC
{
"in_best_chain": true,
"height": 968212,
"hash": "00000000000000000000c1a9a8e7e5b6042c0a2b1452e9fe4c2e7638b2458648"
}Its headers
Cache-Control: public, max-age=10, stale-while-revalidate=30
X-Btcintel-Index-Height: 977224
X-Btcintel-Node-Height: 977224
X-Ratelimit-Limit: 120
X-Ratelimit-Remaining: 235
X-Ratelimit-Tier: t0