# BTC Transaction Fee Rates

> BTC Transaction Fee Rates is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns recommended Bitcoin transaction fee-rates in sat/vByte across five confirmation horizons plus a live mempool congestion snapshot with block backlog estimate.

## Facts

- Endpoint: GET https://payai.agentstools.dev/btc/fees
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/btc-transaction-fee-rates-6462435e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LUNjgR8HHlGYx95Hef45N

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 btc-transaction-fee-rates-6462435e
```

Example prompt: What are the current Bitcoin transaction fee rates across all confirmation speeds — fastest, half-hour, one-hour, economy, and minimum — and is the mempool congested right now?

## When to prefer this

Choose this endpoint when you need real-time Bitcoin fee-rate recommendations across multiple confirmation horizons in a single call, especially when also needing mempool congestion context. Prefer this over manual mempool explorers when automating Bitcoin transaction preparation or wallet UX decisions.

## Known failure modes

- Upstream mempool data source unavailable, returning stale or error response
- Network timeout if Bitcoin node or mempool API is unreachable
- Payment required error (402) if x402 payment header is missing or invalid
- Unexpected fee spike during high mempool activity may look like data errors

## How this service works

Recommended Bitcoin transaction fee-rates in sat per vByte across five confirmation horizons (fastest, half hour, hour, economy, minimum) plus a live mempool congestion snapshot with an estimated block backlog. Informational, not advice.

## Output

A structured response containing five fee-rate tiers in sat/vByte (fastest, half-hour, hour, economy, minimum) and a live mempool snapshot including a congestion indicator and estimated number of blocks currently backed up.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "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/btc-transaction-fee-rates-6462435e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
