# SignalHarness Bitcoin Fee Calculator

> SignalHarness Bitcoin Fee Calculator is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Calculates Bitcoin transaction fees based on caller-supplied request parameters

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/bitcoin_fee_calculate/invoke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signalharness-bitcoin-fee-calculator-622bc62d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qehHIOAqAQWp1NOV0t06K

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 signalharness-bitcoin-fee-calculator-622bc62d -d '<json body>'
```

Example prompt: Can you calculate the Bitcoin transaction fee for sending 0.05 BTC — I want to know the recommended fee and any warnings about the estimate?

## When to prefer this

Choose this endpoint when an AI agent or application needs a quick, on-demand Bitcoin transaction fee calculation as part of a payment workflow or financial analysis. It is well-suited for pre-payment fee checks, wallet integrations, and agent-driven Bitcoin transactions. At $0.01 USDC per call via x402, it is cost-effective for per-transaction fee lookups. Prefer this over manual mempool queries when you need a structured, receipt-backed response with warnings included.

## Known failure modes

- Malformed or too-short bitcoin_fee_request string returns validation error
- Request string exceeds 65536 character limit
- Payment failure via x402 protocol results in no computation
- Ambiguous or under-specified fee request may return warnings or low-confidence calculation
- Network or service downtime returns error status

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns a JSON object containing the bitcoin_fee_calculation result string, any warnings about the estimate, the evidence_scope indicating the data source, plus a full receipt with payment ID, request ID, execution ID, latency, and a SHA-256 hash of the result for verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bitcoin_fee_request": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Input values must be complete and are trusted as supplied."
   ],
   "service_id": "bitcoin_fee_calculate",
   "evidence_scope": "caller_supplied_data",
   "bitcoin_fee_calculation": "{\"fee_rate_sat_per_vbyte\":\"16.39344262\",\"fee_sats\":\"1000\",\"input_total_sats\":\"2000\",\"output_total_sats\":\"1000\",\"virtual_size\":61}"
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "bitcoin_fee_calculate",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "5affa44dca5de6ead04723a7c60e0fac4afb5ad1553e8361ca4e17b969d11860",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signalharness-bitcoin-fee-calculator-622bc62d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
