{"uid":"cap_56QcigTn39hEmR_N6ZNvi","slug":"counterpartycheck-e0930e80","name":"CounterpartyCheck","description":"One-call counterparty screen: OFAC wallet + name, wallet risk, wallet profile, signed verdict","url":"https://counterparty.lonestaroracle.xyz/screen?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"name":"CounterpartyCheck","tags":["counterparty","sanctions","ofac","compliance","kyc"],"type":"object","version":"1.0.0","category":"compliance","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"name":{"type":"string","title":"Name","description":"Optional company, exchange, agent or person name to screen against OFAC"},"chain":{"type":"string","title":"Chain","default":"auto","description":"auto (default: checks Ethereum and Base, profiles the active one), eth, base, arb, poly, bsc"},"wallet":{"type":"string","title":"Wallet","description":"Counterparty wallet address (EVM 0x... or any OFAC-listed crypto address)"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"profile":{"chain":"ETH","tx_count":5129,"top_holdings":[{"symbol":"USDC","value_usd":30977.44}],"portfolio_usd":78827.72,"first_seen_utc":"2023-11-29T18:40:11.000Z","exchange_interactions":[]},"reasons":["no OFAC wallet or name match and no high-risk wallet flags"],"receipt":{"receipt":{"service":"CounterpartyCheck","verdict":"PASS","checked_at":"2026-11-05T01:50:00Z"},"signature":{"alg":"secp256k1-eip191","sig":"0x...","signer":"0x54aB6b8Ddbedc057F230D1b78E6cd4677d304E18"}},"verdict":"PASS","warnings":["address poisoning: 7 recent transfer(s) of fake look-alike tokens; copy this wallet's counterparties from a trusted source, not from its transaction history"],"sanctions":{"ofac_name":{"matches":[],"confidence":"none","sanctioned":false},"ofac_wallet":{"listed":false}},"checked_at":"2026-11-05T01:50:00Z","wallet_risk":{"chain":"eth","risk_flags":[],"risk_label":"low","risk_score":0},"chain_checked":"eth","sent_tx_by_chain":{"eth":5129,"base":298}}}}},"description":"One-call counterparty screen for agents. Before your agent pays, onboards or trades with a wallet, one x402 call runs the full check a compliance desk would: exact match against the ~500 crypto addresses on the US Treasury OFAC SDN list, an optional OFAC name/entity screen (SDN + alternate names), on-chain wallet risk (GoPlus flags such as sanctioned, mixer, phishing, money laundering), and a wallet profile (portfolio value, first seen, activity, exchange contacts, address-poisoning signs). Chain defaults to auto: Ethereum and Base are both checked and the active one is profiled. Returns one PASS / REVIEW / BLOCK with plain-language reasons and warnings, signed as an LSO Receipt (secp256k1 / EIP-191; ethers.verifyMessage must recover LSO's published signer). $0.25 in USDC on Base or Solana via x402 (the same three checks bought separately cost $0.30). Sources: OFAC SDN (refreshed daily), GoPlus, Alchemy/public RPC, DexScreener."},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pEm7XAb3of4GFQt1RlFjx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Screens a crypto wallet address and/or entity name against OFAC sanctions lists, assesses wallet risk, and returns a signed compliance verdict in one call.","exampleAgentPrompt":"Before we send payment to 0x1aB2cD3... on Ethereum, can you run a full counterparty screen on them — check OFAC sanctions on the wallet and the company name 'Acme Trading Ltd' and give me the signed verdict?","exampleUseCases":[{"title":"Pre-payment sanctions check for DeFi agent","prompt":"Before my agent sends USDC to wallet 0xAbC123... on Base, screen it against OFAC and check its risk score so I know it's safe to pay."},{"title":"New counterparty onboarding compliance","prompt":"We're onboarding a new crypto trading partner called 'Nexus Finance' with wallet 0xDeF456... on Ethereum — can you run a full OFAC and wallet risk screen and give me a signed compliance receipt?"},{"title":"Automated trade pre-clearance","prompt":"Before executing this swap with counterparty wallet 0x789Xyz... on Arbitrum, verify they're not on any OFAC sanctions list and flag any wallet risk issues."}],"resultDescription":"Returns a structured JSON object including: OFAC wallet listing status, OFAC name match results with confidence score, wallet risk score and risk flags (e.g. address poisoning, mixer usage), a wallet profile with transaction count, portfolio value, top holdings, and first-seen date, a human-readable verdict (PASS/FAIL), reasons and warnings, and a cryptographically signed receipt (secp256k1-EIP191) from the oracle's known signer address for audit purposes.","failureModes":["Invalid or malformed wallet address returns an error","Unsupported chain identifier returns an error","No wallet or name provided may return a minimal or error response","Network timeout or upstream data provider outage causes failure","Very new wallets with no on-chain history may have incomplete profiles"],"whenToPreferThis":"Use this endpoint when you need a single-call, all-in-one counterparty compliance check that combines OFAC sanctions screening (both wallet and name), wallet risk scoring, and a cryptographically signed verdict suitable for audit trails. Prefer it over separate OFAC or risk APIs when you need a verifiable, signed receipt for compliance records, or when operating an autonomous agent that must clear counterparties before executing payments or trades on EVM chains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T18:18:40.558Z","isFirstParty":false,"canonicalSlug":"counterpartycheck-e0930e80"}