# Bitcoin Halving Countdown API

> Bitcoin Halving Countdown API is a paid API for AI agents from money-reactor.makar52nn2016.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-29).

Returns the next Bitcoin halving's current block height, blocks remaining, estimated date, halving number, and post-halving block reward in a single call

## Facts

- Endpoint: GET https://money-reactor.makar52nn2016.workers.dev/api/btc-halving?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-halving-countdown-api-74b64171
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__Fwbdrctm8-aT25U1Ht3n

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bitcoin-halving-countdown-api-74b64171
```

Example prompt: What's the current Bitcoin block height, how many blocks are left until the next halving, and what will the block reward be afterward?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Next Bitcoin halving countdown: current height, blocks left, ETA, post-halving reward — evergreen content/monitoring datapoint

## Output

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).

## Request schema (JSON Schema)

```json
{
 "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
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-halving-countdown-api-74b64171/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from money-reactor.makar52nn2016.workers.dev](https://www.zero.xyz/host/money-reactor.makar52nn2016.workers.dev/llms.txt)
