{"uid":"cap_XuNChps9brePB_yLeJa1-","slug":"counterpartycheck-8fb865f0","name":"CounterpartyCheck","description":"Pre-payment due diligence for AI agents: before paying, approving or interacting with an address on Base, Ethereum, Polygon, Arbitrum One or Solana, get one decision (ok / caution / block) with reasons, a confidence and missing_data. Composes OFAC SDN and ScamSniffer screening, the x402 Bazaar payee directory, wallet vs contract vs token vs Safe vs EIP-7702, verification and deployer, ENS / Basename, cross-chain presence, age, recent activity and exposure, approvals and TokenVerdict. Free public data only; informational safety check, no guarantees.","url":"https://counterparty.agentgate.workers.dev/v1/full?utm_source=zero.xyz","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":{"chain":{"enum":["base","ethereum","polygon","arbitrum","solana"],"type":"string","description":"Chain of the payment (default base; a base58 address implies solana)"},"intent":{"enum":["pay","approve","interact"],"type":"string","description":"What you are about to do (default pay): changes which signals matter, e.g. paying a token contract or approving an EOA"},"address":{"type":"string","description":"Counterparty address: EVM 0x + 40 hex, or a Solana base58 address"}},"description":"Search intents: full wallet due diligence, address exposure check, drainer approvals check, wallet age, crypto risk report, counterparty aml"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"tier":{"type":"string"},"chain":{"type":"string"},"facts":{"type":"object"},"checks":{"type":"object"},"intent":{"type":"string"},"address":{"type":"string"},"reasons":{"type":"array"},"summary":{"type":"string"},"verdict":{"type":"string"},"confidence":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"tier":"full","chain":"base","facts":{"kind":"contract","token":{"symbol":"USDC","decimals":6}},"checks":{"age":{"at":"2023-08-18T18:36:29.000Z","days":1160,"basis":"contract creation block","block":2797221,"known":true}},"intent":"pay","address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","reasons":[{"code":"token_contract","text":"This is the USDC token contract itself, not a wallet: tokens sent to a token contract are usually lost.","severity":"danger"},{"code":"known_label","text":"Known address: USDC (Circle, Base).","severity":"good"},{"code":"verified","text":"Contract source verified on Sourcify (FiatTokenProxy).","severity":"good"},{"code":"established","text":"Established: contract creation block 1160 days ago (2023-08-18).","severity":"good"}],"summary":"BLOCK: This is the USDC token contract itself, not a wallet: tokens sent to a token contract are usually lost.","verdict":"block","confidence":"high"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dYHqNFoZUgVN6Aw0KGQHj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pre-payment due diligence on a blockchain address: returns a single ok/caution/block verdict with OFAC, scam, contract-type, and activity signals before you pay, approve, or interact.","exampleAgentPrompt":"Before I send the payment, can you run a safety check on 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 on Base and tell me if it's safe to pay — like whether it's a real wallet, if it's flagged by OFAC or ScamSniffer, and what the overall verdict is?","exampleUseCases":[{"title":"Safe-to-pay check before agentic transfer","prompt":"Before you send that 50 USDC payment on Base, run a counterparty check on 0xAbCd...1234 and block it if the verdict comes back as caution or block."},{"title":"Screening a DeFi contract before approval","prompt":"I'm about to approve this Arbitrum contract 0x1234...abcd to spend my tokens — can you screen it first and tell me if it's verified, who deployed it, and whether I should proceed?"},{"title":"Sanction and scam check for a Solana payee","prompt":"Check the Solana address 9xDef...7890 before I pay an invoice — I need to know if it's on any sanctions list, flagged as a scam, and how old and active the wallet is."}],"resultDescription":"A JSON object with: a top-level verdict (ok/caution/block), a confidence level (high/medium/low), a human-readable summary, an array of reasons each with a code, text, and severity, plus facts about the address (kind, token info, ENS/Basename, deployer, age, cross-chain presence, recent activity, approvals) and a missing_data field indicating gaps in available data.","failureModes":["Invalid or malformed address format returns an error","Unsupported chain returns a validation error","Unknown or brand-new address may return low confidence with missing_data populated","Rate limiting or upstream data source outages may degrade signal quality","Solana address on an EVM chain (or vice versa) may fail or return misleading results","No guarantee of completeness — free public data only, informational only"],"whenToPreferThis":"Use this endpoint when an AI agent is about to execute or authorize any on-chain action — payment, token approval, or contract interaction — and needs a fast, single-call safety verdict before proceeding. It uniquely composes OFAC SDN, ScamSniffer, x402 Bazaar directory, contract-type classification, ENS/Basename resolution, and TokenVerdict into one response, saving agents from building multi-source pipelines. Prefer it over raw blockchain RPC calls when you need a human-readable risk decision rather than raw on-chain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:39:38.182Z","isFirstParty":false,"canonicalSlug":"counterpartycheck-8fb865f0"}