{"uid":"cap__Fwbdrctm8-aT25U1Ht3n","slug":"bitcoin-halving-countdown-api-74b64171","name":"Bitcoin Halving Countdown API","description":"Next Bitcoin halving countdown: current height, blocks left, ETA, post-halving reward — evergreen content/monitoring datapoint","url":"https://money-reactor.makar52nn2016.workers.dev/api/btc-halving?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{}}}},"output":{"type":"object","properties":{"example":{"eta":"2029-03-01","network":"bitcoin","daysLeft":937.5,"btcHeight":915000,"blocksLeft":135000,"rewardAfter":"1.5625 BTC","halvingNumber":5,"nextHalvingHeight":1050000}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IIWrM9GSvxAjUDleHzV36","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the next Bitcoin halving's current block height, blocks remaining, estimated date, halving number, and post-halving block reward in a single call","exampleAgentPrompt":"What's the current Bitcoin block height, how many blocks are left until the next halving, and what will the block reward be afterward?","exampleUseCases":[{"title":"Crypto newsletter halving update","prompt":"I'm writing my weekly crypto newsletter — can you pull the latest Bitcoin halving countdown data: current block height, blocks remaining, estimated halving date, and what the reward will drop to?"},{"title":"Portfolio dashboard halving widget","prompt":"For my Bitcoin portfolio tracker, fetch the next halving ETA, current block height, and post-halving reward so I can show a live countdown widget."},{"title":"Automated halving alert monitoring","prompt":"Check the Bitcoin halving countdown right now and tell me how many days and blocks are left until the next halving, plus the halving number — I want to set an alert when we're under 100,000 blocks away."}],"resultDescription":"Returns a JSON object with: network name ('bitcoin'), current block height (btcHeight), the next halving block height (nextHalvingHeight), number of blocks remaining (blocksLeft), estimated halving date (eta), days remaining (daysLeft), the halving number (halvingNumber), and the post-halving block reward (rewardAfter).","failureModes":["Upstream Bitcoin node or block height data source unavailable — may return 5xx or stale data","Network connectivity issues with Cloudflare Worker — 502/503 errors","Payment failure via x402 protocol — 402 response if USDC payment not provided","Estimated date (eta) drifts as actual block times vary from the 10-minute target"],"whenToPreferThis":"Choose this endpoint when you need a single, ready-to-use Bitcoin halving countdown without building your own blockchain data pipeline. It aggregates current height, blocks remaining, ETA, and post-halving reward in one call, making it ideal for dashboards, newsletters, alerts, or any agent needing evergreen BTC halving status. Prefer this over raw blockchain node queries or block explorer scraping when simplicity and low cost per call matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:35:24.119Z","isFirstParty":false,"canonicalSlug":"bitcoin-halving-countdown-api-74b64171"}