# BTC/LTC Halving Countdown

> BTC/LTC Halving Countdown is a paid API for AI agents from x402.swaphunt.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns the number of blocks remaining and estimated date of the next Bitcoin or Litecoin halving event.

## Facts

- Endpoint: GET https://x402.swaphunt.dev/v1/market/halving
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/btc-ltc-halving-countdown-5675f2ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_goD5RCiCORL25o5vADbJB

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 btc-ltc-halving-countdown-5675f2ac
```

Example prompt: How many blocks are left until the next Bitcoin halving, and what's the estimated date? I want to use this for a supply-shock timing narrative.

## When to prefer this

Use this endpoint when you need a quick, lightweight halving countdown for Bitcoin or Litecoin — specifically the blocks remaining and an estimated calendar date — for use in cycle-timing narratives, supply-shock context, or crypto market analysis. Prefer this over manual block explorer lookups when you need a structured, programmatic response.

## Known failure modes

- Unsupported coin value (anything other than BTC or LTC) may return an error or default response
- Estimated date may drift as actual block times vary from the assumed average
- Payment failure (402) if USDC balance is insufficient
- Network timeout if upstream block data is unavailable

## How this service works

BTC or LTC halving countdown: blocks remaining and the estimated date of the next halving. Use for cycle-timing narratives and supply-shock context. Estimate (block-time based), not an exact timestamp.

## Output

Returns the number of blocks remaining until the next halving event and a block-time-based estimated date for when it will occur, for the specified coin (BTC or LTC). This is an estimate, not an exact timestamp.

## Request schema (JSON Schema)

```json
{
 "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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "coin": {
       "type": "string",
       "default": "BTC",
       "description": "Coin (BTC or LTC)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/btc-ltc-halving-countdown-5675f2ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.swaphunt.dev](https://www.zero.xyz/host/x402.swaphunt.dev/llms.txt)
