Stale blocks and forks the node knows
GET /v1/blocks/stale- who may call it
- Anyone
- no key and no session
- how fresh
- Cached for 30 seconds
- and up to 1 minute more while it is read again · every answer carries the index's height and the node's
- MCP tool
- None
The node's chain tips other than the active one (Bitcoin Core's getchaintips), newest first. Each carries its branch length and the active chain's block at its fork point (fork_point.height is height − branchlen); a valid-fork tip, whose block the node holds, adds its header's time. The API computes no fork of its own. Read from the node at most every 30 s.
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
limit | query | integer | optional | How many tips, newest first: 20 by default, 1 to 50. Any other value is a 400. |
What it answers
The tips, newest first.
| Field | Type | What it carries |
|---|---|---|
tips | array | The node's chain tips other than the active one, the highest first, at most limit. Empty when the node knows no fork. |
tips[].height | integer | The height of the tip's block. |
tips[].hash | string | Canonical display byte order. |
tips[].branchlen | integer | The branch's length from the tip back to the active chain. |
tips[].status | string | The node's own word for the branch (getchaintips). |
tips[].fork_point | object | The active chain's block the branch forks from. |
tips[].time | string | The header's time; only on a valid-fork tip. |
as_of | string | When the API read the tips from the node. A read is reused for 30 seconds. |
schema
tipsarray of StaleTip required — The node's chain tips other than the active one, the highest first, at mostlimit. Empty when the node knows no fork.heightinteger required — The height of the tip's block.hashstring required — Canonical display byte order.branchleninteger required — The branch's length from the tip back to the active chain.statusstring required — The node's own word for the branch (getchaintips). · one of "valid-fork", "valid-headers", "headers-only", "invalid"fork_pointobject required — The active chain's block the branch forks from.heightinteger required — Its height: the tip'sheightminusbranchlen.hashstring required — Canonical display byte order.
timestring (date-time) — The header's time; only on avalid-forktip.
as_ofstring (date-time) required — When the API read the tips from the node. A read is reused for 30 seconds.
Absent and empty
| The case | In the answer |
|---|---|
| The node knows no fork. | tips is an empty list. |
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_input | Malformed input (invalid_input). |
| 503 | index_unavailable | index_unavailable: the node did not answer. |
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/stale?limit=20' | jqThe answer, read on 23 Nov 2026 at 14:56 UTC
{
"as_of": "2026-11-23T14:56:07.887229464Z",
"tips": [
{
"branchlen": 1,
"fork_point": {
"hash": "00000000000000000000ed967992625f2d2009d06eb085bb124d81dded974042",
"height": 975624
},
"hash": "00000000000000000000a5897610c16b81d023839a071a75a46eceefac6c68bc",
"height": 975625,
"status": "valid-fork",
"time": "2026-11-13T03:07:32Z"
},
{
"branchlen": 1,
"fork_point": {
"hash": "00000000000000000001c920345e04ab6db93265d3357023afd8b4c0bcc4c33c",
"height": 974399
},
"hash": "000000000000000000005c1f917e558adf7d182c64a5f397241bbae68829be6c",
"height": 974400,
"status": "valid-fork",
"time": "2026-11-03T15:27:19Z"
},
{
"branchlen": 1,
"fork_point": {
"hash": "000000000000000000015d107b83951e2324625c6befd178d8f72d9993d1a711",
"height": 971344
},
"hash": "0000000000000000000142719d3f352f5680b80874d73c380a88e9762cda3ee5",
"height": 971345,
"status": "valid-headers"
},
{
"branchlen": 1,
"fork_point": {
"hash": "000000000000000000001355c37c4ec038dc9b876af5a435343ac3e261250f2f",
"height": 969887
},
"hash": "0000000000000000000211bf2a86723faaf24b3b1e8101af93016cf575ccb611",
"height": 969888,
"status": "valid-headers"
},
{
"branchlen": 1,
"fork_point": {
"hash": "000000000000000000006630da727d0555f118f3da9107a3a4acf0683a3a98b7",
"height": 969297
},
"hash": "00000000000000000001528dc9a469e93509a1e7a9d75a75c1285ff0f3a18d9e",
"height": 969298,
"status": "headers-only"
},
{
"branchlen": 1,
"fork_point": {
"hash": "00000000000000000001b7b4e149553402f44180f8b750811e670ed7edd4065f",
"height": 967142
},
"hash": "000000000000000000008e0c9e34ebe57c450b3ca5537c0da6a946ad32df314c",
"height": 967143,
"status": "valid-fork",
"time": "2026-09-15T15:35:52Z"
},
{
"branchlen": 1,
"fork_point": {
"hash": "00000000000000000001fa0a13758853bdc1d9386d0ec7e1fdf28e268ab987b7",
"height": 966499
},
"hash": "000000000000000000011ada8812e1b93daabaea5f4f90b1920e8212a11a36ca",
"height": 966500,
"status": "valid-fork",
"time": "2026-09-11T11:35:19Z"
},
{
"branchlen": 8,
"fork_point": {
"hash": "00000000000000000000807f9dc917442a67910426d79ebb2f8aa2149327ce8a",
"height": 961631
},
"hash": "00000000000000000001bbc439e13f749dca850d32c7a2834165338713027e65",
"height": 961639,
"status": "valid-headers"
}
]
}Its headers
Cache-Control: public, max-age=30, stale-while-revalidate=60
X-Btcintel-Index-Height: 977224
X-Btcintel-Node-Height: 977224
X-Ratelimit-Limit: 120
X-Ratelimit-Remaining: 236
X-Ratelimit-Tier: t0