# Current Bitcoin Block Height

> Current Bitcoin Block Height is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Returns the current Bitcoin blockchain tip (latest block height) via a pay-per-call x402 endpoint

## Facts

- Endpoint: POST https://twin.unykorn.org/btc-tip?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/current-bitcoin-block-height-b36ac672
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RwK6weAJr7oG7IMgAIkEb

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 current-bitcoin-block-height-b36ac672 -d '<json body>'
```

Example prompt: What is the current Bitcoin block height right now?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call lookup of the current Bitcoin block height without managing a full Bitcoin node or subscribing to a data plan. It is ideal for agents that need occasional on-demand BTC chain tip checks and can pay micro-amounts per query via the x402 protocol.

## Known failure modes

- Payment failure via x402 protocol if USDC balance is insufficient
- Network or upstream Bitcoin node unavailability causing stale or missing block data
- Malformed request body causing rejection
- Rate limiting or operator downtime on the UnyKorn network

## How this service works

Current Bitcoin block height — Genesis402 / UnyKorn Operator Network

## Output

A JSON object containing: ok (boolean success flag), type ('btc-tip'), the current Bitcoin block height, a receipt object with the transaction hash, USD amount paid, and a Genesis402 receipt ID, plus a generated_at ISO8601 timestamp confirming when the data was fetched.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "btc-tip",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.001,
   "receipt_id": "g402-<16hex>"
  },
  "generated_at": "<iso8601>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/current-bitcoin-block-height-b36ac672/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
