# BTC Whale Transaction Scanner

> BTC Whale Transaction Scanner is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-21).

Returns large Bitcoin transactions (≥ minBtc total output) from the latest 1–2 confirmed blocks and the newest unconfirmed mempool transactions, with txid, BTC value, fee rate, RBF signal, and block height.

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/crypto/btc-whale-txs?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/btc-whale-transaction-scanner-5398063b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vldzkisnA6iHpmLRStsIl

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 btc-whale-transaction-scanner-5398063b
```

Example prompt: Show me all Bitcoin transactions moving at least 25 BTC from the last 2 confirmed blocks and the mempool — I want to see the txid, output value, fee rate, and whether RBF is flagged.

## When to prefer this

Choose this endpoint when you need near-real-time detection of large Bitcoin on-chain movements across both confirmed blocks and the unconfirmed mempool in a single call. It is purpose-built for whale tracking and on-chain intelligence, combining two data sources (mempool.space for confirmed blocks, blockchain.info for mempool) automatically. Prefer this over building your own block-scraping logic or querying node APIs directly when you want a filtered, threshold-based view of high-value BTC activity without parsing full block data yourself.

## Known failure modes

- minBtc out of range (0.01–100000) returns a validation error
- blocks parameter outside 1–2 causes an error
- upstream mempool.space or blockchain.info API unavailability results in partial or failed response
- If no transactions meet the threshold, returns an empty list (not an error)
- Network timeout from Cloudflare Worker if upstream sources are slow

## How this service works

Large Bitcoin transactions (total output >= minBtc, default 10 BTC): every transaction of the latest 1-2 confirmed blocks (mempool.space block summaries), plus the ~10 newest unconfirmed transactions blockchain.info exposes. Returns txid, output value in BTC (includes change), fee rate sat/vB, RBF signal and block height or 'mempool'. `scanned` states exactly what was read.

## Output

A list of Bitcoin transactions meeting the minimum output threshold, each containing: txid, total output value in BTC (including change outputs), fee rate in sat/vB, RBF opt-in flag, and block height or 'mempool' for unconfirmed transactions. Also includes a 'scanned' metadata object describing exactly which blocks and mempool data were read.

## 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",
     "required": [],
     "properties": {
      "blocks": {
       "type": "string",
       "description": "Number of latest confirmed blocks to scan completely (1-2, default 1)"
      },
      "minBtc": {
       "type": "string",
       "description": "Minimum total output value in BTC (default 10, 0.01 to 100000)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/btc-whale-transaction-scanner-5398063b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
