{"uid":"cap_-vpaXei5z1hu0Crg2ErJO","slug":"bitcoin-network-health-d6a7dcc3","name":"Bitcoin Network Health","description":"Bitcoin network health: tip height, block pace vs 10 minutes, difficulty retarget forecast, hashrate trend and Lightning size.","url":"https://bitcoin-network.x402tookit.com/btc-network-health?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":{"window":{"type":"string","description":"Hashrate trend window: 1m (default), 3m or 6m"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"pace":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"lightning":{"type":["null","object"],"properties":{"nodes":{"type":["null","number"]},"channels":{"type":["null","number"]},"capacityBtc":{"type":["null","number"]},"snapshotDate":{"type":["null","string"]}}},"sourceUrl":{"type":["null","string"]},"tipHeight":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"hashrateWindow":{"type":["null","string"]},"avgBlockMinutes":{"type":["null","number"]},"hashrateChangePct":{"type":["null","number"]},"hashrateEhsLatest":{"type":["null","number"]},"blocksUntilRetarget":{"type":["null","number"]},"previousRetargetPct":{"type":["null","number"]},"retargetProgressPct":{"type":["null","number"]},"estimatedRetargetDate":{"type":["null","string"]},"hashrateEhsWindowStart":{"type":["null","number"]},"estimatedDifficultyChangePct":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vrzQnA93DdCEvDDL68JOK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Bitcoin network health metrics including current tip height, block pace vs 10-minute target, difficulty retarget forecast, hashrate trend, and Lightning Network size.","exampleAgentPrompt":"Give me a full Bitcoin network health check — current block height, how block pace compares to the 10-minute target, when the next difficulty retarget is expected and by how much, the latest hashrate trend over the past month, and the current Lightning Network size.","exampleUseCases":[{"title":"Daily Bitcoin network status briefing","prompt":"What's the current state of the Bitcoin network? Give me the tip height, whether blocks are coming in on time, hashrate trend over the last month, and a summary of whether anything looks degraded."},{"title":"Difficulty retarget countdown for a mining operation","prompt":"When is the next Bitcoin difficulty retarget, how far through the current epoch are we, and what percentage change is currently estimated? Use a 3-month hashrate window."},{"title":"Lightning Network size snapshot","prompt":"How large is the Lightning Network right now? I need the number of nodes, channels, and total capacity in BTC."}],"resultDescription":"Returns a JSON object with: current tip height, average block time in minutes, block pace description, hashrate in EH/s at latest and window start, hashrate change percent, blocks until next retarget, estimated retarget date, estimated difficulty change percent, previous retarget percent, retarget progress percent, Lightning Network node/channel/capacity snapshot, a boolean degraded flag, a human-readable verdict and summary, a list of reasons for any degradation, data source URL, snapshot timestamp, and a disclaimer.","failureModes":["Upstream data source unavailable — fields may be null","Invalid window parameter value (must be 1m, 3m, or 6m) — may return error or default","Lightning Network snapshot data stale or unavailable — lightning object fields may be null","Network timeout from external Bitcoin data provider — degraded flag may be set with incomplete data"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, single-call snapshot of Bitcoin network health covering block production pace, hashrate trends, upcoming difficulty changes, and Lightning Network size. Prefer this over raw blockchain explorers when you want a pre-computed verdict and human-readable summary rather than raw block data. Ideal for monitoring dashboards, agent briefings, or any workflow that needs to detect network anomalies without querying multiple separate APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:11:18.235Z","isFirstParty":false,"canonicalSlug":"bitcoin-network-health-d6a7dcc3"}