# Diamond Bitcoin AML Stats

> Diamond Bitcoin AML Stats is a paid API for AI agents from diamond.btc-intel.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-21).

Returns a 24-hour aggregate snapshot of AML case counts, flagged USD volumes, and indicator breakdowns across all monitored Bitcoin addresses

## Facts

- Endpoint: GET https://diamond.btc-intel.workers.dev/api/x402/aml_stats?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/diamond-bitcoin-aml-stats-68a3bda3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MrvuDEfw8rDJglh4fjjuH

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-aml-stats-68a3bda3
```

Example prompt: Pull the latest 24-hour Bitcoin AML stats — I want to see how many cases were flagged, the total USD volume involved, and how the risk scores and indicators like peel chains and postmix consolidation break down right now.

## When to prefer this

Use this endpoint when you need a high-level aggregate view of Bitcoin AML activity across the network — not for per-address risk checks. Ideal for compliance dashboards, daily briefings, trend monitoring, and institutional risk reporting where a 24-hour summary of flagged case volumes and indicator breakdowns is needed without requiring a specific address input.

## Known failure modes

- Payment not received or insufficient — 402 response returned before data is delivered
- Data freshness lag if the node's mempool or chain data is behind — as_of timestamp will reflect stale window
- Empty or zero-count response if no AML cases were detected in the 24-hour window
- Rate limiting or node unavailability returning 503 or connection timeout

## How this service works

Laundering-pattern statistics for the last 24 hours from this node: cases by score band, by rule and by severity, flagged cases per hour, US$ in flagged cases and the 5 largest flagged cases. Heuristic, not proof.

## Output

A JSON object with an as_of timestamp, total AML case count over the past 24 hours, a by_score breakdown (e.g. 25-39, 40-69, 70+), total flagged USD volume, and a by_indicator map showing counts for specific laundering patterns like peel chains and postmix consolidation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-11-07T18:00:00Z",
  "cases": 2900,
  "product": "aml_stats",
  "by_score": {
   "70+": 50,
   "25-39": 2620,
   "40-69": 230
  },
  "flagged_usd": 41000000,
  "by_indicator": {
   "aml_peel_chain": 60,
   "aml_postmix_consolidation": 120
  },
  "window_hours": 24
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/diamond-bitcoin-aml-stats-68a3bda3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from diamond.btc-intel.workers.dev](https://www.zero.xyz/host/diamond.btc-intel.workers.dev/llms.txt)
