# Bitcoin Network Fee & Mempool Stats

> Bitcoin Network Fee & Mempool Stats is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Returns live Bitcoin network fee estimates (sat/vB) for multiple confirmation targets along with mempool size and transaction data

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/btc-fees?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-network-fee-mempool-stats-68d8c5c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aQzLNOn1MrBQqREYWRTfP

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-fee-mempool-stats-68d8c5c7
```

Example prompt: What are the current Bitcoin fee rates — how much per sat/vB do I need to pay for next-block, half-hour, and hour confirmation, and how congested is the mempool right now?

## When to prefer this

Use this endpoint when an AI agent needs real-time Bitcoin fee rate data without setting up an account or API key, and is willing to pay $0.002 USDC per call via x402 on Base. Prefer this over self-hosted mempool APIs when simplicity and pay-per-use economics matter. Good for agents that need occasional fee lookups rather than high-frequency polling.

## Known failure modes

- Payment not received or invalid USDC payment on Base — returns HTTP 402 with payment instructions
- Upstream Bitcoin node/mempool data source unavailable — may return 5xx error or stale data
- Network timeout from Cloudflare Worker — returns 5xx
- No input parameters required so malformed requests are unlikely, but unexpected query params are ignored

## How this service works

Pay-per-call tools for AI agents: web page text extraction and summaries, screenshots, image generation, speech-to-text, image description, domain and email-auth intelligence, and live Base token and wallet lookups. No account or API key; pay per request in USDC on Base via x402.

## Output

A JSON object containing fee estimates in sat/vB for multiple confirmation targets (nextBlock, halfHour, hour, economy, minimum), the current Bitcoin block height, mempool statistics (vsize in vBytes, total fees in BTC, transaction count), and typical payment cost in sats for hour and next-block confirmation targets.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "fees": {
   "hour": 1,
   "economy": 1,
   "minimum": 1,
   "halfHour": 3,
   "nextBlock": 4
  },
  "unit": "sat/vB",
  "mempool": {
   "vsize": 42066150,
   "totalFeesBtc": 0.1093664,
   "transactions": 83832
  },
  "network": "bitcoin",
  "blockHeight": 970000,
  "typicalPaymentSats": {
   "hour": 141,
   "nextBlock": 564
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-network-fee-mempool-stats-68d8c5c7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
