{"uid":"cap_hJc7uqNZJ4jLwlUeT2CBM","slug":"counterparty-interaction-graph-for-crypto-address-73e67c45","name":"Counterparty Interaction Graph for Crypto Address","description":"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.","url":"https://api.x402node.dev/chain/counterparty-graph","method":"GET","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":{"request":{"chain":"base","address":"0x1234567890123456789012345678901234567890"},"response":{"note":"Counterparty graph from sampled ERC20+native transfers (recent). bidirectional = traded both ways (possible related/cluster).","_hint":"x402 paid endpoints for AI agents — x402node.dev (utilities) · cn402.com (Chinese culture)","chain":"base","source":"alchemy_getAssetTransfers","address":"0x1234567890123456789012345678901234567890","sampledTransfers":1010,"topCounterparties":[{"direction":"incoming","recvCount":305,"sentCount":0,"counterparty":"0x495585100c4759a8ba08751b35fafd9937c996cc","interactions":305},{"direction":"incoming","recvCount":67,"sentCount":0,"counterparty":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","interactions":67},{"direction":"incoming","recvCount":39,"sentCount":0,"counterparty":"0x3feba61b2af2bb25151fbb93e73aad360811e047","interactions":39},{"direction":"incoming","recvCount":28,"sentCount":0,"counterparty":"0x0000000000000000000000000000000000000000","interactions":28},{"direction":"incoming","recvCount":14,"sentCount":0,"counterparty":"0xb894712a18ce4ab381e0d6ebdb9411d092de25e4","interactions":14},{"direction":"incoming","recvCount":14,"sentCount":0,"counterparty":"0x5e1056f58e4628a4e1da487956cac42b8bfe6b60","interactions":14},{"direction":"incoming","recvCount":13,"sentCount":0,"counterparty":"0x579e306afe2f8030ac299df6c81d32e0eb67e482","interactions":13},{"direction":"incoming","recvCount":13,"sentCount":0,"counterparty":"0xc3b5ebc0bea9bfeb5b9fe9df1186892c76e61131","interactions":13},{"direction":"incoming","recvCount":12,"sentCount":0,"counterparty":"0xf87119fb448ffa2511d87abed554bef435e51442","interactions":12},{"direction":"incoming","recvCount":12,"sentCount":0,"counterparty":"0x209b8a21428ea0cc0c46c84197adf2fc937e27fa","interactions":12},{"direction":"incoming","recvCount":12,"sentCount":0,"counterparty":"0xab7cc3b4460e741591df84eaff2dd717d1bb5336","interactions":12},{"direction":"incoming","recvCount":11,"sentCount":0,"counterparty":"0xffdcf27cc75bccf532414dcd3cde484f215b068f","interactions":11},{"direction":"incoming","recvCount":8,"sentCount":0,"counterparty":"0x6ee7597c472faa26e9744486a44f5e3fbb615330","interactions":8},{"direction":"incoming","recvCount":7,"sentCount":0,"counterparty":"0xe61eabeb234847ef1cad637b17ff1e7b13516cac","interactions":7},{"direction":"incoming","recvCount":7,"sentCount":0,"counterparty":"0xf5b035287c1465f29c7e08fbb5c3b8a4975bf831","interactions":7}],"totalCounterparties":277}},"exampleRequest":{"chain":"base","address":"0x1234567890123456789012345678901234567890"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1RF0E_oWa2RvBpfkphIsd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:52:01.732Z","isFirstParty":false}