# Bitcoin Network Stats & Price Feed

> Bitcoin Network Stats & Price Feed is a paid API for AI agents from automatom.matt-d59.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Returns real-time Bitcoin network data including price in multiple currencies, block height, mempool state, mining difficulty, fee estimates, and blocks to next halving.

## Facts

- Endpoint: GET https://automatom.matt-d59.workers.dev/btc?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-network-stats-price-feed-9a7bf301
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mktDMV9E7XFGPdEQrDlwr

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-network-stats-price-feed-9a7bf301
```

Example prompt: What's the current Bitcoin price in USD and EUR, and what's the fastest fee rate I should use to get a transaction confirmed quickly?

## When to prefer this

Use this endpoint when you need a comprehensive Bitcoin network snapshot in a single call — covering price, fees, mempool, difficulty, and halving countdown simultaneously. Prefer this over individual data sources when you want multi-currency pricing combined with on-chain network metrics without assembling multiple API calls yourself.

## Known failure modes

- Upstream mempool.space outage returns stale or error data
- Payment not received via x402 results in 402 response before data is returned
- Network timeout if mempool.space is slow to respond
- Stale data if the worker cache hasn't been refreshed recently

## How this service works

Fetches a public web page and returns its title, meta description, outbound links and readable plain text as JSON.

## Output

A JSON object containing: current timestamp, BTC price in AUD/CAD/CHF/EUR/GBP/JPY/USD, current block height, mempool vsize and tx count and total fees, difficulty adjustment ETA/progress/estimated change, fee estimates at fastest/half-hour/hour/economy/minimum sat-per-vbyte levels, and blocks remaining until the next halving. All sourced from mempool.space.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "time": "2026-10-17T17:47:28.264Z",
  "price": {
   "AUD": 116913,
   "CAD": 114814,
   "CHF": 66909,
   "EUR": 72288,
   "GBP": 61122,
   "JPY": 12868482,
   "USD": 81186,
   "time": 1792259105
  },
  "height": 971893,
  "source": "mempool.space",
  "mempool": {
   "vsize": 40211698,
   "tx_count": 79666,
   "total_fee_sats": 7772633
  },
  "difficulty": {
   "eta": "2026-10-30T06:39:42.440Z",
   "progress_pct": 8.978174603174603,
   "est_change_pct": 1.851385795896165,
   "remaining_blocks": 1835
  },
  "fees_sat_vb": {
   "hourFee": 1,
   "economyFee": 1,
   "fastestFee": 2,
   "minimumFee": 1,
   "halfHourFee": 1
  },
  "blocks_to_halving": 78107
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-network-stats-price-feed-9a7bf301/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from automatom.matt-d59.workers.dev](https://www.zero.xyz/host/automatom.matt-d59.workers.dev/llms.txt)
