# ChainAnalyzer — Transaction Trace and Anomaly Scoring

> ChainAnalyzer — Transaction Trace and Anomaly Scoring is a paid API for AI agents from chain-analyzer.com, paid per call via x402, $3/call, status unknown (last checked 2026-09-14).

Traces a blockchain transaction and returns its full counterparty graph, anomaly score, and AML risk signals across multi-chain networks

## Facts

- Endpoint: GET https://chain-analyzer.com/x402/api/tx/0x0000000000000000000000000000000000000000000000000000000000000000/trace
- Price: $3/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainanalyzer-transaction-trace-and-anomaly-scoring-d917d6e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RysfeixaVnzy9AxW7qBzI

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-transaction-trace-and-anomaly-scoring-d917d6e3
```

Example prompt: Can you trace the transaction 0xabc123...def456 on Ethereum and tell me its anomaly score, who the counterparties are, and whether there are any AML or sanctions red flags?

## When to prefer this

Use this endpoint when you need to trace the full counterparty graph and anomaly score for a specific transaction hash across any of the 8 supported chains (Bitcoin, Ethereum, Polygon, Base, Arbitrum, Optimism, Avalanche, Solana). Prefer this over address-level AML endpoints when your investigation starts from a tx hash rather than a wallet address, and you need fund-flow tracing with stablecoin and FATF Travel Rule context.

## Known failure modes

- Invalid or non-existent tx hash returns an error or empty trace
- Transaction not yet indexed (too recent) may return incomplete data
- Unsupported chain or chain not yet live returns an error
- Payment not processed correctly results in 402 response with no data
- Rate limiting or quota exhaustion returns a 429 or similar error

## How this service works

Multi-chain blockchain AML and security intelligence platform for tokens, wallets, and stablecoins. Detect sanctions, money laundering, rug pulls, drainers, and stablecoin flow risks across 8 chains live (Bitcoin, Ethereum, Polygon, Base, Arbitrum, Optimism, Avalanche, Solana) plus BNB Smart Chain on Enterprise rollout. Stablecoin AML coverage for JPYC, USDT, USDC, PYUSD, FDUSD with FATF Travel Rule screening.

## Output

Returns the full trace of the transaction (as an array of on-chain steps), an anomaly score (numeric, higher = riskier), the list of counterparties involved, the chain identifier, and the echoed tx hash — enabling downstream AML review, sanctions screening, or compliance reporting.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "schema": {
  "chain": "string",
  "trace": "array",
  "tx_hash": "string",
  "anomaly_score": "number",
  "counterparties": "array"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainanalyzer-transaction-trace-and-anomaly-scoring-d917d6e3/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)
