# Bitcoin Halving Countdown API

> Bitcoin Halving Countdown API is a paid API for AI agents from mr-river10.makar52nn2016.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-19).

Returns the next Bitcoin halving date, current block height, blocks remaining, days left, and post-halving block reward

## Facts

- Endpoint: GET https://mr-river10.makar52nn2016.workers.dev/api/btc-halving?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-halving-countdown-api-449e66d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ym92A5OjhsyAWCndABk-6

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-449e66d5
```

Example prompt: Hey, when is the next Bitcoin halving — how many days away is it, what block height will it happen at, and what will the new block reward be?

## When to prefer this

Use this endpoint when you need a quick, structured, pre-computed Bitcoin halving countdown without running your own Bitcoin node. Ideal for agents that need halving date, block countdown, and reward data in a single call with no API key setup, paying only $0.02 USDC per call via x402 on Base.

## Known failure modes

- Payment not received — x402 payment required before data is returned
- Network unavailable — Bitcoin node data temporarily inaccessible
- Stale block data — block height may lag real-time by a few minutes
- Invalid payment amount — USDC amount below $0.02 threshold rejected

## How this service works

60+ agent-native micro APIs paid per call in USDC on Base via x402: fresh market data every call (market cap, top movers, funding rates, orderbook, RSI trading checklist, volatility, cycle position), funded bounty radar, honeypot trust scoring, token safety verdicts, AI chat (Llama 3.1), web reader, ERC-20 balances. No accounts, no API keys — instant on-chain settlement.

## Output

A JSON object containing: estimated halving date (eta), network name, days remaining (daysLeft, with decimal precision), current Bitcoin block height (btcHeight), blocks remaining until halving (blocksLeft), next halving block height (nextHalvingHeight), which halving number this is (halvingNumber), and the post-halving block reward string (rewardAfter, e.g. '1.5625 BTC').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "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-449e66d5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mr-river10.makar52nn2016.workers.dev](https://www.zero.xyz/host/mr-river10.makar52nn2016.workers.dev/llms.txt)
