{"uid":"cap_fMQ3NTWGEjavuY3XH9iXf","slug":"crystal-crypto-risk-evidence-via-sumsub-x402-preflight-check-96d15802","name":"Crystal Crypto Risk Evidence via SumSub — x402 Preflight Check","description":"Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.","url":"https://base-agent-preflight.bytoken2023.workers.dev/v1/x402/sumsub/crystal-crypto-risk-evidence","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":["wallet"],"properties":{"wallet":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet or crypto counterparty address."},"transaction_reference":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$","description":"Crypto transaction or SignGate request reference."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"sumsub-crystal-crypto-risk-evidence","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"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_7Bqos7r1tnN0iWOeUVpEP","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":"Checks a wallet address against SumSub/Crystal crypto risk data to assess AML risk level before an AI agent makes an x402 purchase.","exampleAgentPrompt":"Before my agent pays for that x402 API, run a Crystal crypto risk check on the seller wallet 0xAbCd1234abcd1234abcd1234abcd1234abcd1234 and tell me if it's low risk.","exampleUseCases":[{"title":"Pre-purchase AML screening for agent","prompt":"My AI agent is about to buy a dataset via x402 from wallet 0x1234567890abcdef1234567890abcdef12345678 — can you run a Crystal crypto risk check on that wallet first and tell me the risk level and any flags?"},{"title":"Counterparty risk check before API payment","prompt":"Before we send payment to 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef for that x402 API access, pull the SumSub Crystal risk evidence on that address so we know the risk score."},{"title":"Transaction reference risk audit","prompt":"Check the crypto risk evidence for wallet 0xAaBbCcDdEeFf001122334455667788AaBbCcDdEe with transaction reference tx-audit-20240601:001 — I need to know if there are any risk flags before approving this x402 purchase."}],"resultDescription":"Returns a JSON object with the network (e.g. eip155:8453/Base), product name, risk level (low/medium/high), numeric risk score, and an array of risk flags from Crystal's AML database. An empty flags array and risk_score of 0 indicates a clean wallet.","failureModes":["Invalid wallet address format (must be 0x + 40 hex chars) returns validation error","Unknown or unindexed wallet returns empty activity data with default low score","Network unavailable or SumSub API timeout returns 503","Invalid transaction_reference format returns 400 bad request","Payment of $0.05 USDC not settled results in 402 response blocking the check"],"whenToPreferThis":"Use this endpoint when an AI agent or automated workflow needs to screen a crypto wallet for AML/compliance risk specifically using Crystal's blockchain analytics before executing an x402 micropayment. Prefer this over generic wallet lookup tools when you need a structured risk score with flags from a KYC/AML-grade provider (SumSub Crystal), particularly for Base network (eip155:8453) transactions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:48:55.503Z","isFirstParty":false}