# Bitcoin Fee Forecast (agentx.sale)

> Bitcoin Fee Forecast (agentx.sale) is a paid API for AI agents from agentx.sale, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Returns recommended Bitcoin transaction fee rates in sat/vB for next-block, 30-minute, 1-hour, and economy sends, sourced from mempool.space

## Facts

- Endpoint: GET https://agentx.sale/x402/btc-fees?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-fee-forecast-agentx-sale-0cf80f6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XJ5uBVY-_38Qc7E7fog8v

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-forecast-agentx-sale-0cf80f6b
```

Example prompt: What are the current Bitcoin transaction fees — specifically the sat/vB rates for next-block, 30-minute, 1-hour, and economy sends right now?

## When to prefer this

Use this endpoint when an agent needs real-time Bitcoin fee recommendations directly from mempool.space data without running a full node. Ideal for wallets, payment processors, DCA bots, or any workflow that needs to set appropriate tx fees programmatically. Prefer over manual fee estimation or stale cached fee tables.

## Known failure modes

- mempool.space upstream outage returns error or stale data
- Network timeout if Bitcoin mempool data source is temporarily unavailable
- Malformed response if mempool data is inconsistent during high congestion periods

## How this service works

Bitcoin fee forecast: recommended sat/vB for next block, 30 min, 1 hour and economy sends, from mempool.space

## Output

A JSON object with a 'satVb' field containing four fee tier estimates as integers: 'nextBlock' (fee to confirm in the next block), 'halfHour' (fee for ~30-minute confirmation), and 'economy' (lowest acceptable fee for non-urgent sends). All values are in satoshis per virtual byte (sat/vB).

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "satVb": {
   "economy": 1,
   "halfHour": 1,
   "nextBlock": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-fee-forecast-agentx-sale-0cf80f6b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentx.sale](https://www.zero.xyz/host/agentx.sale/llms.txt)
