# btcnode.uk Chain Info

> btcnode.uk Chain Info is a paid API for AI agents from btcnode.uk, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Returns full Bitcoin chain state including block height, disk size, prune status, and active softforks

## Facts

- Endpoint: GET https://btcnode.uk/api/chain/info?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/btcnode-uk-chain-info-6e4663e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lKbwW4DL6-ABkezqicz8m

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 btcnode-uk-chain-info-6e4663e2
```

Example prompt: What's the current Bitcoin chain state — give me the block height, how much disk space the chain is using, whether it's pruned, and which softforks are active?

## When to prefer this

Use this endpoint when you need a comprehensive snapshot of Bitcoin chain state in a single call — particularly when you need block height, disk usage, prune status, and softfork data together. Prefer this over the separate node-status endpoint (which focuses on peers/connections) when your goal is chain-level metadata rather than network-level health.

## Known failure modes

- Node temporarily unavailable returns a 5xx error
- Payment not processed via x402 protocol returns 402 Payment Required
- Rate limiting or quota exceeded returns 429
- Malformed request returns 400 Bad Request

## How this service works

Full chain state: height, size on disk, prune flag, softforks — flat $0.001 per call, USDC on Base, no signup.

## Output

Returns a flat JSON object containing the current Bitcoin blockchain state: block height (chain tip), total chain size on disk in bytes, a boolean prune flag indicating whether the node is running in pruned mode, and an enumeration of active and pending softforks with their statuses.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/btcnode-uk-chain-info-6e4663e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from btcnode.uk](https://www.zero.xyz/host/btcnode.uk/llms.txt)
