# Diamond Bitcoin Merkle Inclusion Proof

> Diamond Bitcoin Merkle Inclusion Proof is a paid API for AI agents from diamond.tail1b5f86.ts.net, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-30).

Returns a cryptographic Merkle inclusion proof confirming that specified transactions are included in a given Bitcoin block

## Facts

- Endpoint: GET https://diamond.tail1b5f86.ts.net/api/x402/proof?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/diamond-bitcoin-merkle-inclusion-proof-1a7ee2b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PXozxGOn2NHrE5BBYirR-

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 diamond-bitcoin-merkle-inclusion-proof-1a7ee2b2
```

Example prompt: Can you fetch a Merkle inclusion proof for Bitcoin transactions 'abc123txid,def456txid' in block '000000000000000000024bead8df69990852c202c4d0a2f9ed12f1b6959e3b8d'? I need to cryptographically verify they were mined in that block.

## When to prefer this

Use this endpoint when you need a cryptographic, independently-verifiable proof that specific Bitcoin transactions are included in a particular block, in the standard bitcoin-core-merkleblock format. It is ideal for settlement verification, compliance audits, and Lightning channel proofs where you want to avoid trusting a third-party block explorer. Prefer it over block explorer APIs when auditability and cryptographic verifiability matter more than convenience.

## Known failure modes

- Block not retained by the pruned node — older blocks may be unavailable
- Invalid or malformed block hash returns an error
- Transaction IDs not found in the specified block
- More than 5 txids submitted (exceeds limit)
- Locator string malformed — missing colon separator or txids not comma-separated
- Payment of $0.02 USDC not provided or rejected — returns 402

## How this service works

Bitcoin address risk checks (sanctions, ransomware, laundering patterns), address watch alerts, live whale and AML feeds, a market pulse, fee estimates, next-block projections, mining-pool share and transaction tools from 0.002 USDC. Pay per call with Lightning or USDC - no account.

## Output

A JSON object containing the block hash, block height, confirmation count, an array of confirmed txids, the proof in hex (Merkle branch), the 80-byte block header hex, and the proof format string ('bitcoin-core-merkleblock'), plus a disclaimer that this proves inclusion but not UTXO unspent status or payment irreversibility.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "locator"
     ],
     "properties": {
      "locator": {
       "type": "string",
       "maxLength": 389,
       "description": "64-character block hash, colon, and one to five comma-separated unique transaction ids in that block."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block": {
   "hash": "<blockhash>",
   "height": 0,
   "confirmations": 1
  },
  "terms": "A Merkle inclusion proof for the specified block, not a statement that outputs are unspent or that a payment is irreversible. Verify against a trusted header chain. Availability is limited to blocks this pruned node retains.",
  "txids": [
   "<txid>"
  ],
  "product": "batch_inclusion_receipt",
  "proof_hex": "<hex>",
  "header_hex": "<80-byte block header hex>",
  "proof_format": "bitcoin-core-merkleblock"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/diamond-bitcoin-merkle-inclusion-proof-1a7ee2b2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from diamond.tail1b5f86.ts.net](https://www.zero.xyz/host/diamond.tail1b5f86.ts.net/llms.txt)
