# SignalHarness Bitcoin Block Header Inspector

> SignalHarness Bitcoin Block Header Inspector 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).

Inspects and parses a Bitcoin block header from caller-supplied data, returning structured header fields and any validation warnings.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/bitcoin_block_header_inspect/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-block-header-inspector-e15354c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BvxxvvyWMuvLDB2kTTFrW

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-block-header-inspector-e15354c7 -d '<json body>'
```

Example prompt: Can you inspect this raw Bitcoin block header for me and tell me what fields it contains and whether there are any warnings: 0100000000000000000000000000000000000000000000000000000000000000000000003ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1e5e4a29ab5f49ffff001d1dac2b7c?

## When to prefer this

Choose this endpoint when you need to programmatically parse and inspect a raw Bitcoin block header string (e.g. hex-encoded) to extract its fields or identify structural warnings. Prefer it over general blockchain explorers when you already have raw header bytes and need structured extraction via API, or when operating in an agent-native x402 payment context at very low cost ($0.01 USDC).

## Known failure modes

- Invalid or malformed header string causes parse failure and non-succeeded status
- Header string too short or too long (outside 2–65536 character bounds) triggers schema validation error
- Malformed JSON request body returns 400-level error
- Payment failure via x402 protocol returns 402 Payment Required
- Network or infrastructure errors may return 5xx responses

## 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 parsed bitcoin_block_header string, an evidence_scope indicating the data came from caller-supplied input, a list of validation warnings (if any), and a full service receipt including payment details, request/execution IDs, result hash, latency, and settlement reference.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "The header is not checked against consensus history or proof-of-work unless requested fields permit it."
   ],
   "service_id": "bitcoin_block_header_inspect",
   "evidence_scope": "caller_supplied_data",
   "bitcoin_block_header": "{\"bits\":486604799,\"block_hash\":\"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f\",\"merkle_root\":\"4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b\",\"nonce\":2083236893,\"previous_block_hash\":\"0000000000000000000000000000000000000000000000000000000000000000\",\"target_hex\":\"00000000ffff0000000000000000000000000000000000000000000000000000\",\"timestamp\":1231006505,\"version\":1}"
  },
  "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_block_header_inspect",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "97be227afeed5fe1ec31dc4ccfb5681c1b83499c0c31b1304d318a4bdf02186b",
   "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-block-header-inspector-e15354c7/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)
