# Wallet Counterparty Exposure Analysis

> Wallet Counterparty Exposure Analysis is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-13).

Scans a wallet's last 30 days of Base USDC transfers and returns labeled counterparties (CEX, DEX, bridge, protocol) with volumes, tx counts, and red flags for sanctioned/mixer/scam entities

## Facts

- Endpoint: GET https://api.x402node.dev/wallet/exposure
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-a87e7a70
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4Vlu434ZBBbsnCNBwlNj6

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 api-x402node-dev-a87e7a70
```

Example prompt: Run a counterparty exposure check on Base wallet 0x1234...abcd — I need to know which CEXs, DEX routers, bridges, and protocols it's interacted with over the last 30 days, total USDC volumes, and whether any of its counterparties are flagged as sanctioned, mixers, or scams.

## When to prefer this

Use this endpoint when you need automated due diligence, KYC-lite screening, or source-of-funds verification on a specific Base L2 wallet address — particularly when you need labeled entity classification (CEX/DEX/bridge) and AML red flags (sanctions, mixers, scams) in a single call rather than raw transaction data you'd have to label yourself.

## Known failure modes

- Invalid or malformed wallet address returns a 400 error
- Wallet with zero Base USDC activity returns empty counterparty list
- Unknown or unlabeled counterparties returned without name/category
- Network or RPC timeout causing partial data
- Rate limiting or payment failure returning 402 or 429 status

## How this service works

Counterparty exposure analysis: given wallet address, scans last 30 days of Base USDC transfers and aggregates interactions with all labeled entities (CEX, DEX router, bridge, protocol). Returns labeled counterparties with name, category, in/out tx count, total USDC volume, last_block. Red flags if counterparty is sanctioned, mixer, scam. For agent due diligence, automated KYC-lite, source-of-funds verification.

## Output

Returns a structured object listing all labeled counterparties the wallet interacted with on Base USDC over 30 days, each with: name, category (CEX/DEX/bridge/protocol), inbound and outbound tx count, total USDC volume, last_block seen, and a red flag indicator if the counterparty is sanctioned, a mixer, or a known scam.

## Example request

```json
{
 "days": 30,
 "chain": "base",
 "address": "0x1234567890123456789012345678901234567890"
}
```

## 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": [
      "address"
     ],
     "properties": {
      "days": {
       "type": "string",
       "description": "Days (optional)"
      },
      "address": {
       "type": "string",
       "description": "EVM/chain address (required)"
      },
      "toAddress": {
       "type": "string",
       "description": "ToAddress (optional)"
      },
      "fromAddress": {
       "type": "string",
       "description": "FromAddress (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-a87e7a70/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
