# Counterparty Interaction Graph for Crypto Address

> Counterparty Interaction Graph for Crypto Address is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Builds a ranked counterparty interaction graph for a blockchain address on Base, showing who it sends to and receives from with bidirectional link flags for AML and cluster analysis.

## Facts

- Endpoint: GET https://api.x402node.dev/chain/counterparty-graph
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/counterparty-interaction-graph-for-crypto-address-73e67c45
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hJc7uqNZJ4jLwlUeT2CBM

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 counterparty-interaction-graph-for-crypto-address-73e67c45
```

Example prompt: Can you pull the counterparty interaction graph for Base address 0x1234...abcd and show me who it most frequently sends to and receives from, including any bidirectional links that might indicate clustering?

## When to prefer this

Use this endpoint when you need to map the social/financial graph of a specific Base network address for AML, compliance, fraud detection, or blockchain forensics. Prefer this over raw transaction lookups when you need ranked relationships and bidirectional link detection rather than individual transaction records.

## Known failure modes

- Invalid or malformed address returns 400 error
- Address with no transaction history returns empty graph
- Network timeout for addresses with very high transaction volume
- Rate limit exceeded if called too frequently without payment
- Non-Base address queried against Base-only endpoint returns no results

## How this service works

Build a counterparty interaction graph for an address from on-chain transfers - ranks who it sends to and receives from, flagging bidirectional links for cluster and AML analysis, on Base. counterparty graph, address relationships, transaction graph, aml analysis, wallet connections, fund flow Accepts payment on Base or Solana — either network works.

## Output

A ranked counterparty interaction graph showing the top addresses this wallet sends to and receives from on Base, with ranked relationship weights, bidirectional link flags indicating mutual exchange, and cluster/AML signals derived from the on-chain transfer history.

## Example request

```json
{
 "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": {
      "top": {
       "type": "string",
       "description": "Top N counterparties, default 15, max 50"
      },
      "chain": {
       "type": "string",
       "description": "base (default)"
      },
      "address": {
       "type": "string",
       "description": "Address to analyze (required)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/counterparty-interaction-graph-for-crypto-address-73e67c45/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)
