# Related Wallets & Counterparties Lookup

> Related Wallets & Counterparties Lookup is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-19).

Returns ranked counterparties (wallets and contracts) that a given 0x address has exchanged ERC-20 tokens with over recent blocks, with transfer counts, USDC flows, and token lists

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/wallet/related?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-related-wallets-211d1865
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f0BXoPdO-BwbAbdQATXhX

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 agent-data-tools-revmesh2074-workers-dev-related-wallets-211d1865
```

Example prompt: Can you show me who the wallet 0x742d35Cc6634C0532925a3b8D4C9C3D6a7b8e9f0 has been exchanging ERC-20 tokens with over the last 2000 blocks on Base — I want to see transfer counts, USDC flows, and whether each counterparty is a wallet or contract?

## When to prefer this

Use this endpoint when you need to map the on-chain social graph of a wallet — who it trades with, how often, and in what tokens — using live Transfer event logs rather than indexed third-party data. Ideal for due diligence before paying an address, tracing fund flows after a suspicious transfer, or identifying linked wallets in a fraud investigation. Supports Base, Ethereum, Arbitrum, Optimism, and Polygon. Note that only ERC-20 token transfers are included; native coin transfers (ETH, MATIC, etc.) require a different approach.

## Known failure modes

- Invalid or malformed 0x address returns an error
- Unsupported chain value returns validation error
- blocks parameter outside 100–10000 range is rejected
- No ERC-20 activity in the scanned range returns empty counterparties array
- RPC timeout or node unavailability may return a 5xx error
- Native coin (ETH, MATIC, etc.) transfers are not included and will not appear in results
- Highly active addresses with many transfers may be truncated (truncated: true)

## How this service works

Related wallets of a 0x address: who it sent ERC-20 tokens to or got them from over recent blocks, ranked by transfers, with sent and received counts, tokens, USDC in and out, first and last block, and wallet or contract. Live Transfer logs on Base (default), Ethereum, Arbitrum, Optimism or Polygon; native-coin transfers are not included. Use to map who a wallet trades with, find linked wallets before paying, or trace where funds went.

## Output

Returns a list of counterparty addresses ranked by total transfer count, each with: sent and received transfer counts, list of token symbols traded, USDC sent and received amounts (as strings), first and last block seen, total transfers, and whether the address is a wallet or contract. Also includes metadata: chain, chainId, scanned block range, total transfers scanned, and a truncation flag if results were capped.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "address"
 ],
 "properties": {
  "chain": {
   "enum": [
    "base",
    "eth",
    "arb",
    "op",
    "polygon"
   ],
   "type": "string",
   "description": "Network: base (default), eth, arb, op or polygon"
  },
  "blocks": {
   "type": "integer",
   "description": "How many recent blocks to scan (100-10000, default 2000; Base makes a block every 0.2 s, so 2,000 is about 7 minutes there, 67 minutes on Optimism; Ethereum every 12 s)"
  },
  "address": {
   "type": "string",
   "description": "0x wallet or contract address"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "note": {
   "type": "string"
  },
  "chain": {
   "type": "string"
  },
  "address": {
   "type": "string"
  },
  "chainId": {
   "type": "number"
  },
  "toBlock": {
   "type": "number"
  },
  "coverage": {
   "type": "string"
  },
  "fromBlock": {
   "type": "number"
  },
  "truncated": {
   "type": "boolean"
  },
  "counterparties": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "kind": {
      "type": "string"
     },
     "sent": {
      "type": "number"
     },
     "tokens": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "address": {
      "type": "string"
     },
     "received": {
      "type": "number"
     },
     "usdcSent": {
      "type": "string"
     },
     "lastBlock": {
      "type": "number"
     },
     "transfers": {
      "type": "number"
     },
     "firstBlock": {
      "type": "number"
     },
     "usdcReceived": {
      "type": "string"
     }
    }
   }
  },
  "transfersScanned": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-related-wallets-211d1865/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
