Stale blocks and forks the node knows
GET /v1/blocks/stale- quién puede llamarla
- Cualquiera
- sin clave y sin sesión
- cuán reciente
- En caché 30 segundos
- y hasta 1 minuto más mientras se vuelve a leer · cada respuesta lleva la altura del índice y la del nodo
- Herramienta MCP
- Ninguna
En esta página
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.
Parámetros
| Nombre | Dónde | Tipo | Obligatorio | Qué hace |
|---|---|---|---|---|
limit | consulta | integer | opcional | How many tips, newest first: 20 by default, 1 to 50. Any other value is a 400. |
Qué responde
The tips, newest first.
| Campo | Tipo | Qué lleva |
|---|---|---|
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. |
esquema
tipsarray de StaleTip obligatorio — The node's chain tips other than the active one, the highest first, at mostlimit. Empty when the node knows no fork.heightinteger obligatorio — The height of the tip's block.hashstring obligatorio — Canonical display byte order.branchleninteger obligatorio — The branch's length from the tip back to the active chain.statusstring obligatorio — The node's own word for the branch (getchaintips). · uno de "valid-fork", "valid-headers", "headers-only", "invalid"fork_pointobject obligatorio — The active chain's block the branch forks from.heightinteger obligatorio — Its height: the tip'sheightminusbranchlen.hashstring obligatorio — Canonical display byte order.
timestring (date-time) — The header's time; only on avalid-forktip.
as_ofstring (date-time) obligatorio — When the API read the tips from the node. A read is reused for 30 seconds.
Ausente y vacío
| El caso | En la respuesta |
|---|---|
| The node knows no fork. | tips is an empty list. |
Errores
| Estado | Código | Cuándo |
|---|---|---|
| 400 | invalid_input | Malformed input (invalid_input). |
| 503 | index_unavailable | index_unavailable: the node did not answer. |
Cada uno llega en el sobre de error único, y ninguno se guarda en caché: un error lleva Cache-Control: no-store.
Ejemplo
curl y jq, en cualquier shell.
curl -s 'https://api.btcintel.io/v1/blocks/stale?limit=20' | jqLa respuesta, leída el 23 nov 2026 a las 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"
}
]
}Sus cabeceras
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