# ChainAnalyzer CoinJoin/Mixing Detection

> ChainAnalyzer CoinJoin/Mixing Detection is a paid API for AI agents from chain-analyzer.com, paid per call via x402, $1/call, status unknown (last checked 2026-09-15).

Detects CoinJoin and transaction mixing patterns in a Bitcoin transaction, identifying Wasabi, JoinMarket, Whirlpool, and generic peel chain signatures.

## Facts

- Endpoint: GET https://chain-analyzer.com/api/v1/x402/tx/:hash/coinjoin
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainanalyzer-coinjoin-mixing-detection-7c997c04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Eh9gmdjqC3PBwBPLwbYvB

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 chainanalyzer-coinjoin-mixing-detection-7c997c04
```

Example prompt: Can you check if Bitcoin transaction a1b2c3d4e5f6... was a CoinJoin or went through any mixing service like Wasabi or Whirlpool — I need to know if it matches any known privacy protocol patterns or peel chain structure.

## When to prefer this

Use this endpoint when you need to specifically identify transaction-level privacy/mixing behavior — particularly when compliance workflows require distinguishing between Wasabi, JoinMarket, Whirlpool, and peel chain patterns in a given transaction hash. Prefer this over address-level AML scoring when the investigation is focused on a specific transaction rather than a wallet or address.

## Known failure modes

- Invalid or malformed transaction hash returns 400 error
- Transaction hash not found on supported chain returns 404
- Transaction is non-Bitcoin or unsupported chain returns error
- Payment not received or x402 payment fails — returns 402 Payment Required
- Rate limiting or quota exceeded returns 429
- Network or upstream node unavailability returns 503

## How this service works

CoinJoin / mixing transaction detection. Identifies Wasabi, JoinMarket, Whirlpool patterns plus generic peel chains.

## Output

Returns a structured analysis indicating whether the transaction matches known CoinJoin or mixing patterns (Wasabi, JoinMarket, Whirlpool) or generic peel chain structures, along with classification labels and likely confidence indicators for each detected pattern.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainanalyzer-coinjoin-mixing-detection-7c997c04/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chain-analyzer.com](https://www.zero.xyz/host/chain-analyzer.com/llms.txt)
