# TokenGuard BTC Stats

> TokenGuard BTC Stats is a paid API for AI agents from eltociear-tokenguard.hf.space, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns real-time Bitcoin network statistics including price, transaction volume, block count, hash rate, and average block time over the last 24 hours

## Facts

- Endpoint: POST https://eltociear-tokenguard.hf.space/btc_stats
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenguard-btc-stats-c7fa2d18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TP9fZOoRi_6mAdLgmK_eY

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 tokenguard-btc-stats-c7fa2d18 -d '<json body>'
```

Example prompt: What are Bitcoin's current network stats — price, hash rate, how many transactions and blocks in the last 24 hours, and the average block time?

## When to prefer this

Use this endpoint when you need a quick, low-cost ($0.005) snapshot of Bitcoin network health metrics including price, hash rate, block production, and transaction throughput in a single call. Prefer this over broader blockchain explorers when you only need aggregate 24h BTC stats without per-transaction or per-address detail.

## Known failure modes

- Upstream data source unavailable — may return 5xx or stale data
- x402 micropayment not processed — returns 402 Payment Required
- Invalid request body format — returns 400 Bad Request
- Hugging Face Space cold start latency or timeout

## How this service works

Bitcoin network statistics: price, hash rate, daily tx count, block time, total supply mined — via blockchain.info, no API key.

## Output

A JSON object containing: BTC price in USD, number of transactions in the last 24 hours, number of blocks mined in the last 24 hours, network hash rate in exahashes per second (EH/s), and average block time in minutes.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tx_24h": 580636,
  "price_usd": 59892.78,
  "blocks_24h": 126,
  "hash_rate_eh": 838.49,
  "avg_block_time_min": 10.81
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenguard-btc-stats-c7fa2d18/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-tokenguard.hf.space](https://www.zero.xyz/host/eltociear-tokenguard.hf.space/llms.txt)
