btcintel

Stale blocks and forks the node knows

GET /v1/blocks/stale
who may call it
Anyone
no key and no session
what it costs
1 request of the quota
tiers and keys
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
On this page

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

NameWhereTypeRequiredWhat it does
limitqueryintegeroptionalHow many tips, newest first: 20 by default, 1 to 50. Any other value is a 400.

What it answers

The tips, newest first.

FieldTypeWhat it carries
tipsarrayThe node's chain tips other than the active one, the highest first, at most limit. Empty when the node knows no fork.
tips[].heightintegerThe height of the tip's block.
tips[].hashstringCanonical display byte order.
tips[].branchlenintegerThe branch's length from the tip back to the active chain.
tips[].statusstringThe node's own word for the branch (getchaintips).
tips[].fork_pointobjectThe active chain's block the branch forks from.
tips[].timestringThe header's time; only on a valid-fork tip.
as_ofstringWhen the API read the tips from the node. A read is reused for 30 seconds.
schema
  • tips array of StaleTip required — The node's chain tips other than the active one, the highest first, at most limit. Empty when the node knows no fork.
    • height integer required — The height of the tip's block.
    • hash string required — Canonical display byte order.
    • branchlen integer required — The branch's length from the tip back to the active chain.
    • status string required — The node's own word for the branch (getchaintips). · one of "valid-fork", "valid-headers", "headers-only", "invalid"
    • fork_point object required — The active chain's block the branch forks from.
      • height integer required — Its height: the tip's height minus branchlen.
      • hash string required — Canonical display byte order.
    • time string (date-time) — The header's time; only on a valid-fork tip.
  • as_of string (date-time) required — When the API read the tips from the node. A read is reused for 30 seconds.

Absent and empty

The caseIn the answer
The node knows no fork.tips is an empty list.

Errors

StatusCodeWhen
400invalid_inputMalformed input (invalid_input).
503index_unavailableindex_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' | jq

The 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