# BTC Network Fees API (x402 Pay-Per-Call)

> BTC Network Fees API (x402 Pay-Per-Call) is a paid API for AI agents from workspace-x402-paywall.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Returns current Bitcoin network fee estimates via a pay-per-call endpoint requiring $0.005 USDC payment via x402 on Base or Solana mainnet.

## Facts

- Endpoint: GET https://workspace-x402-paywall.onrender.com/btc/fees?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/btc-network-fees-api-x402-pay-per-call-741cdc0a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PWoKfYP7AOp6QaOHIKG8n

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-network-fees-api-x402-pay-per-call-741cdc0a
```

Example prompt: What are the current Bitcoin network fees? I need the recommended sat/vbyte rates for low, medium, and high priority transactions — pay the $0.005 USDC fee via x402 to get the live data.

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.005 USDC) pay-per-call Bitcoin fee lookup without committing to a subscription-based API. Ideal for AI agents operating in x402-enabled payment flows on Base or Solana mainnet that need on-demand BTC fee data without managing API keys.

## Known failure modes

- Payment not received or malformed x402 payment header returns 402 Payment Required
- Invalid 'fields' parameter value may return an error or be ignored
- Service may be unavailable on the Render free tier (cold start delays or downtime)
- Stale fee data if the underlying BTC mempool data source is lagging
- No response schema guaranteed — output structure may change without notice

## How this service works

66 pay-per-call APIs: AI text/image generation ($0.01), Polymarket odds, crypto prices, DeFi yields, FX rates, weather, IP/geo, FBI wanted, SEC tickers, clinical trials, 250M academic papers, Stack Overflow, meme-coin launchpads (pump.fun, Clanker, Four.meme, SunPump), tokenized stocks, Solana top 100, and 40+ more. $0.005/call standard. USDC on Base and Solana via x402.

## Output

Returns a JSON object containing current Bitcoin network fee estimates, likely including fee rates in sat/vbyte for different confirmation speed tiers (e.g. slow, average, fast/high priority). Specific fields can be filtered using the optional comma-separated 'fields' query parameter.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/btc-network-fees-api-x402-pay-per-call-741cdc0a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workspace-x402-paywall.onrender.com](https://www.zero.xyz/host/workspace-x402-paywall.onrender.com/llms.txt)
