{"uid":"cap_qGdNiaZ87-XtQlaOOblx1","slug":"x402-ofac-sdn-api-pre-payment-screen-ac3d2e8f","name":"x402 OFAC SDN API – Pre-Payment Screen","description":"Pay-per-call directional OFAC SDN screen for AI agents (USDC on Base + Solana via x402). Potential matches only — not clearance.","url":"https://x402-ofac-api.vercel.app/pay-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Endpoint URL being paid (for host age)"},"name":{"type":"string","description":"Optional payee/operator legal name for SDN fuzzy match"},"wallet":{"type":"string","description":"Payee wallet to check against OFAC SDN crypto addresses"},"wallets":{"type":"array","items":{"type":"string"},"description":"Up to 10 extra wallets"},"price_usd":{"type":"number","description":"Optional price in USD if not in payment_required"},"mpp_request":{"type":"object","description":"Decoded MPP challenge request object (recipient/amount/resource)"},"check_host_age":{"type":"boolean","description":"RDAP domain age lookup (default true)"},"payment_required":{"type":"object","description":"x402 PAYMENT-REQUIRED body/header (object, JSON string, or base64). payTo, amount, asset, resource are read from it."},"www_authenticate":{"type":"string","description":"MPP WWW-Authenticate Payment challenge header value (method=\"tempo\"|\"stripe\", request=<base64url>)"}}},"responseSchema":{"type":"json","example":{"checks":{"host":{"status":"ok","age_days":3650},"price":{"status":"ok","max_usd":0.01,"trap_threshold_usd":1000},"name_match":{"status":"no_match","top_score":0},"ofac_wallet":{"hits":[],"status":"no_match"}},"reasons":[],"receipt":{"alg":"Ed25519","sha256":"…","signed":true,"list_as_of":"2026-10-10T04:18:02.953473+00:00","receipt_id":"pc_…"},"verdict":"CLEAR","disclaimer":"Directional pre-payment check only. CLEAR means none of these checks raised a flag; it is not a clearance, certification, or attestation, and not legal or compliance advice. OFAC SDN only (wallets listed in SDN remarks + name fuzzy match) — no chain analysis, no UK/EU/UN lists. Verify against official OFAC publications.","potential_matches_only":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zFG7NaBPj4KiVO_UmJCAX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a directional OFAC SDN check on a payee's wallet address, name, and domain before an x402 micropayment is made, returning a CLEAR or POTENTIAL_MATCH verdict.","exampleAgentPrompt":"Before sending that $0.003 USDC x402 payment, screen the payee — their wallet is 0xAbC123…, the operator name is 'Acme Data LLC', and the endpoint URL is https://api.example.com/data — run an OFAC SDN check and tell me if it comes back CLEAR.","exampleUseCases":[{"title":"Pre-payment sanctions check for x402 agent","prompt":"Before my AI agent pays that x402 API, I need you to screen the payee first — wallet address is 0x1234abcd…, the operator name listed is 'Volkov Analytics Ltd', and the endpoint URL is https://volkov-api.vercel.app/query. Is it CLEAR on the OFAC SDN list?"},{"title":"Crypto wallet OFAC compliance check","prompt":"Can you check whether the wallet address bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh is on the OFAC SDN list? The payee goes by 'Rostov Trading Co' — I need to know if there are any potential matches before I authorize the transfer."},{"title":"Domain age and name sanity screen before paying","prompt":"I'm about to pay a new API I found — the endpoint is https://newapi.xyz/endpoint, the operator name is 'Bright Future Services', and the price is $0.005 USD. Can you run the OFAC and host-age screen on it and tell me the verdict and any flags?"}],"resultDescription":"A JSON object containing: a top-level 'verdict' (CLEAR or POTENTIAL_MATCH), structured 'checks' for host domain age, price sanity, OFAC wallet hits, and fuzzy name match score, a 'reasons' array listing any flags, and a signed 'receipt' with receipt_id, algorithm, SHA-256 hash, and SDN list timestamp. Includes a disclaimer that CLEAR is directional only, not a legal clearance.","failureModes":["Missing both wallet and name returns empty/unhelpful result — at least one must be provided","Fuzzy name match may produce false positives for common names — top_score is returned for human review","OFAC wallet list in SDN remarks may lag official publications — list_as_of timestamp indicates data freshness","Does not perform chain analysis or check UK/EU/UN lists — only OFAC SDN","Domain RDAP lookup may fail for new or obscure TLDs, returning no host age","Payment via x402 required ($0.003 USDC) — unpaid calls will receive a 402 response"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a lightweight, pay-per-call OFAC SDN pre-flight check before authorizing an x402 micropayment — especially useful for autonomous agents that must perform basic sanctions due diligence without integrating a full compliance platform. Prefer this over manual OFAC lookups when you need a machine-readable verdict with a signed, timestamped receipt. Not a substitute for full AML/KYC or chain analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:39:03.114Z","isFirstParty":false,"canonicalSlug":"x402-ofac-sdn-api-pre-payment-screen-ac3d2e8f"}