# Bitcoin Fee Estimates

> Bitcoin Fee Estimates is a paid API for AI agents from diamond.btc-intel.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-21).

Returns current Bitcoin transaction fee estimates in sat/vB for confirmation within 1 to 1008 blocks, plus mempool size and minimum relay fee.

## Facts

- Endpoint: GET https://diamond.btc-intel.workers.dev/api/x402/fees?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-fee-estimates-b5a3a581
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_06z6nn2xWGhTpFk1sVu8B

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-fee-estimates-b5a3a581
```

Example prompt: What are the current Bitcoin fee rates for getting confirmed within the next block, within 6 blocks, and within 24 hours — and how big is the mempool right now?

## When to prefer this

Use this endpoint when you need live, node-sourced Bitcoin fee estimates across a wide range of confirmation targets (1 to 1008 blocks) in a single call, especially if you also want mempool size and minimum relay fee in the same response. Prefer this over static fee tables or third-party aggregators when accuracy and freshness from a real Bitcoin Core node matters.

## Known failure modes

- Node temporarily unavailable — service returns an error or stale data
- Network congestion causing delayed fee estimate refresh
- Unusual mempool conditions (very low or very high) may cause estimatesmartfee to return conservative fallback values
- Rate limiting or payment failure for the $0.003 USDC x402 call

## How this service works

Bitcoin fee estimates right now: sat/vB to confirm within 1, 2, 3, 6, 12, 24, 144, 504 and 1008 blocks (Bitcoin Core estimatesmartfee on this node), plus mempool size and minimum relay fee.

## Output

A JSON object with a UTC timestamp, mempool stats (transaction count and minimum relay fee in sat/vB), and a fee_rate_sat_vb map with sat/vB rates for multiple block-confirmation targets (1, 2, 3, 6, 12, 24, 144, 504, and 1008 blocks), sourced from Bitcoin Core's estimatesmartfee on this node.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-11-07T18:00:00Z",
  "mempool": {
   "tx_count": 41230,
   "min_fee_sat_vb": 1
  },
  "product": "fee_estimates",
  "fee_rate_sat_vb": {
   "1": 6,
   "6": 3.1,
   "144": 1.2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-fee-estimates-b5a3a581/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from diamond.btc-intel.workers.dev](https://www.zero.xyz/host/diamond.btc-intel.workers.dev/llms.txt)
