# xx402 Base Wallet Counterparty Flow Analysis

> xx402 Base Wallet Counterparty Flow Analysis is a paid API for AI agents from x402.xx402.icu, paid per call via x402, $0.01/call, status down (last checked 2026-10-27).

Analyzes on-chain ERC20 transfer counterparties for a Base/EVM wallet address, returning flow summaries, risk flags, and buyer/seller discovery signals.

## Facts

- Endpoint: GET https://x402.xx402.icu/api/base-wallet-counterparty-flow?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xx402-base-wallet-counterparty-flow-analysis-c6f01734
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L_3sPe51OihM2bpy7XnhA

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 xx402-base-wallet-counterparty-flow-analysis-c6f01734
```

Example prompt: Can you pull the counterparty flow analysis for Base wallet 0xba76c7ECa175f67cFcE475c09498f840176bf497 looking at USDC transfers (token 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) over the last 3000 blocks, and show me the top 10 counterparties along with any risk flags?

## When to prefer this

Choose this endpoint when you need on-chain counterparty analysis for a specific EVM wallet on Base — particularly for risk screening, x402 buyer/seller discovery, or DeFi flow auditing. It is distinct from generic blockchain explorers because it packages risk flags, concentration breakdowns, and agent-oriented decision signals (priority queue, buyer next action) in a single call. Prefer it over raw RPC calls when you need structured risk intelligence rather than raw transaction data.

## Known failure modes

- Invalid wallet address format (must match ^0x[a-fA-F0-9]{40}$) returns validation error
- window_blocks out of range (must be 100–5000) returns schema error
- limit out of range (must be 1–15) returns schema error
- Payment not received (x402 protocol) results in 402 response before data is returned
- Token address not found or has no transfers in the specified window returns empty counterparty lists
- Network congestion on Base chain may delay Transfer log retrieval

## How this service works

Paid Base token, wallet, DeFi, chain-read, x402 buyer/seller discovery, and specialized Bitcoin 15-minute Up/Down prediction-market data packets for autonomous agents and risk tools.

## Output

Returns a JSON object with a counterparty flow decision, priority and review queues, risk flags, concentration breakdown, top inbound/outbound counterparties, large transfers, avoid queue, bucket counts, purchase acceptance signal, buyer next action recommendation, and a disclaimer noting results are not financial advice.

## Response schema (JSON Schema)

```json
{
 "keys": [
  "summary",
  "purchase_acceptance",
  "buyer_next_action",
  "next_paid_call",
  "decision_evidence",
  "repeat_purchase_guard",
  "counterparty_flow_decision",
  "priority_queue",
  "best_next_products",
  "concentration_breakdown",
  "counterparties",
  "top_inbound_counterparties",
  "top_outbound_counterparties",
  "large_transfers",
  "review_queue",
  "avoid_queue",
  "bucket_counts",
  "risk_flags",
  "risk",
  "source_status",
  "not_financial_advice",
  "sources"
 ],
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xx402-base-wallet-counterparty-flow-analysis-c6f01734/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.xx402.icu](https://www.zero.xyz/host/x402.xx402.icu/llms.txt)
