{"uid":"cap_s72y8N4Wk490D3Y-eJQEZ","slug":"bitcoin-chain-tips-via-bitcoin-core-getchaintips-eb112a86","name":"Bitcoin Chain Tips via Bitcoin Core getchaintips","description":"Recent stale/orphaned Bitcoin blocks and sidechain forks via Bitcoin Core getchaintips. Returns active tip, sidechain tips with height, hash, status, branch length, and block timestamp.","url":"https://api.chainmarket-api.workers.dev/api/crypto/btc-chain-tips?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"limit":{"type":"string","description":"Maximum fork tips to return (1-50, default 10)"},"status":{"enum":["all","valid-fork","valid-headers","headers-only","invalid"],"type":"string","description":"Filter by fork tip status (default 'all')"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e3__cF6pRLQe7lWTBpLb-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns active and stale/orphaned Bitcoin chain tips (sidechains, forks) using Bitcoin Core's getchaintips, including height, hash, status, branch length, and block timestamp.","exampleAgentPrompt":"Can you pull the latest Bitcoin chain tips and show me all stale or orphaned blocks — I want to see their height, hash, status, and how long each fork branch is? Limit the results to 20.","exampleUseCases":[{"title":"Monitor Bitcoin orphaned block activity","prompt":"Show me all orphaned and stale Bitcoin chain tips right now — I want to see the block height, hash, and branch length for each one, up to 25 results."},{"title":"Check for valid-fork chain splits","prompt":"Are there any valid-fork Bitcoin chain tips at the moment? Filter to just valid-fork status and give me the details including timestamps and branch lengths."},{"title":"Audit Bitcoin network chain health","prompt":"Give me a full picture of Bitcoin chain health — pull all chain tips including invalid and headers-only ones so I can see if there are any unusual forks or reorganizations happening."}],"resultDescription":"A list of Bitcoin chain tip objects, each containing: block height, block hash, fork status (active/valid-fork/valid-headers/headers-only/invalid), branch length (number of blocks in the fork), and block timestamp. Includes the active chain tip and all stale/orphaned/fork tips up to the requested limit.","failureModes":["Upstream Bitcoin Core node unavailable — returns 5xx error","Invalid status filter value — returns 400 validation error","Limit out of range (outside 1-50) — returns 400 validation error","Payment required if x402 header not provided — returns 402","Stale data if upstream node is lagging behind the network"],"whenToPreferThis":"Use this endpoint when you need real-time Bitcoin chain fork and orphan data sourced from Bitcoin Core's getchaintips RPC — ideal for monitoring chain health, detecting reorganizations, or analyzing stale/orphaned block activity. Prefer this over block explorer scrapers when you need structured status and branch-length data for all fork types.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:31:20.327Z","isFirstParty":false,"canonicalSlug":"bitcoin-chain-tips-via-bitcoin-core-getchaintips-eb112a86"}