# Bitcoin Fee Landscape & Send-or-Wait Advisor

> Bitcoin Fee Landscape & Send-or-Wait Advisor is a paid API for AI agents from cdp.bitcoinsapi.com, paid per call via x402, $0.005/call, status down (last checked 2026-09-15).

Returns a send-or-wait recommendation for Bitcoin transactions with current fee rates, scenario comparisons, and potential savings percentage based on mempool analysis.

## Facts

- Endpoint: GET https://cdp.bitcoinsapi.com/api/v1/fees/landscape
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cdp-bitcoinsapi-com-e004ddf8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1yyLVqEKG8e9MG03KMtxA

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 cdp-bitcoinsapi-com-e004ddf8
```

Example prompt: What's the Bitcoin fee landscape right now — should I send my transaction immediately or wait, and how much could I save by waiting?

## When to prefer this

Choose this endpoint when an AI agent or wallet needs a holistic send-or-wait decision with scenario comparison rather than just a raw fee number. It is preferable over a simple fee estimator when the user wants to understand potential savings, timing tradeoffs, and mempool context in a single call. Ideal for agents automating Bitcoin payments who need actionable guidance with reasoning, not just sat/vB rates.

## Known failure modes

- Mempool data temporarily unavailable — may return stale or partial fee data
- Network connectivity issues to Bitcoin node or mempool source — 503 or timeout
- Insufficient fee source data to compute confidence — low confidence score returned
- Payment not included or invalid x402 payment — 402 Payment Required response

## How this service works

Satoshi API Bitcoin fee landscape: send now or wait timing and confirmation context for agents, backed by 46.8% average fee-savings analysis.

## Output

A JSON object containing a 'send' or 'wait' recommendation, current fee rates (next block, 6 blocks, 1 day in sat/vB), scenario breakdowns for send-now vs wait-1hr vs wait-1day with total sats cost and savings percentages, a confidence level (e.g. 'high'), a human-readable reasoning string, the fee environment label (e.g. 'rock-bottom'), and a mempool trend object showing direction and change percentage.

## Example request

```json
{
 "input": {
  "queryParams": {}
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "input": {
  "type": "http",
  "method": "GET",
  "resource": "https://cdp.bitcoinsapi.com/api/v1/fees/landscape",
  "queryParams": {}
 },
 "output": {
  "type": "json",
  "schema": {
   "type": "object",
   "required": [
    "recommendation",
    "currentFees"
   ],
   "properties": {
    "reasoning": {
     "type": "string"
    },
    "scenarios": {
     "type": "array"
    },
    "confidence": {
     "type": "number"
    },
    "currentFees": {
     "type": "object"
    },
    "recommendation": {
     "type": "string",
     "description": "Send-or-wait verdict for the current Bitcoin fee market."
    },
    "potentialSavingsPct": {
     "type": "number"
    }
   }
  },
  "example": {
   "reasoning": "Mempool pressure is elevated; waiting about 2 hours can reduce the expected fee.",
   "scenarios": [
    {
     "action": "wait",
     "urgency": "low",
     "targetFeeSatVb": 12
    }
   ],
   "confidence": 0.82,
   "currentFees": {
    "hourFeeSatVb": 12,
    "fastestFeeSatVb": 22,
    "halfHourFeeSatVb": 18
   },
   "recommendation": "wait",
   "potentialSavingsPct": 46.8
  },
  "mimeType": "application/json"
 },
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "mimeType",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "schema": {
     "type": "object"
    },
    "example": {
     "type": "object"
    },
    "mimeType": {
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data",
  "meta"
 ],
 "properties": {
  "data": {
   "type": "object",
   "required": [
    "trend",
    "reasoning",
    "scenarios",
    "confidence",
    "fee_sources",
    "current_fees",
    "recommendation",
    "fee_environment"
   ],
   "properties": {
    "trend": {
     "type": "object",
     "required": [
      "direction",
      "mempool_change_pct",
      "snapshots_available"
     ],
     "properties": {
      "direction": {
       "type": "string"
      },
      "mempool_change_pct": {
       "type": "number"
      },
      "snapshots_available": {
       "type": "number"
      }
     }
    },
    "reasoning": {
     "type": "string"
    },
    "scenarios": {
     "type": "object",
     "required": [
      "send_now",
      "wait_1hr",
      "wait_low"
     ],
     "properties": {
      "send_now": {
       "type": "object",
       "required": [
        "target",
        "fee_rate",
        "total_btc",
        "total_sats"
       ],
       "properties": {
        "target": {
         "type": "string"
        },
        "fee_rate": {
         "type": "number"
        },
        "total_btc": {
         "type": "number"
        },
        "total_sats": {
         "type": "number"
        }
       }
      },
      "wait_1hr": {
       "type": "object",
       "required": [
        "target",
        "fee_rate",
        "total_btc",
        "total_sats",
        "savings_vs_now_pct"
       ],
       "properties": {
        "target": {
         "type": "string"
        },
        "fee_rate": {
         "type": "number"
        },
        "total_btc": {
         "type": "number"
        },
        "total_sats": {
         "type": "number"
        },
        "savings_vs_now_pct": {
         "type": "number"
        }
       }
      },
      "wait_low": {
       "type": "object",
       "required": [
        "target",
        "fee_rate",
        "total_btc",
        "total_sats",
        "savings_vs_now_pct"
       ],
       "properties": {
        "target": {
         "type": "string"
        },
        "fee_rate": {
         "type": "number"
        },
        "total_btc": {
         "type": "number"
        },
        "total_sats": {
         "type": "number"
        },
        "savings_vs_now_pct": {
         "type": "number"
        }
       }
      }
     }
    },
    "confidence": {
     "type": "string"
    },
    "fee_sources": {
     "type": "object",
     "required": [
      "note",
      "core_estimat
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cdp-bitcoinsapi-com-e004ddf8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cdp.bitcoinsapi.com](https://www.zero.xyz/host/cdp.bitcoinsapi.com/llms.txt)
