{"uid":"cap_cz8Nhcs99c0civWJ5thnf","slug":"scan-madhousewallet-com-29f371a3","name":"Madhouse Wallet Optimism Quick Scan","description":"Scans Optimism wallet or address data quickly for onchain insights.","url":"https://scan.madhousewallet.com/api/public/quick-scan/optimism","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"EVM wallet address (0x-prefixed, checksummed) or ENS name to scan."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["address","toxicScore","riskLevel","shouldFlag","traits"],"properties":{"traits":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Risk category. Known values: known_scammer, sanction_address, blacklist, initiator_scam_transactions, suspicious_dex_pair_deployer, suspicious_deployer, attack_money_target, zero_address_risk, rug_pull, rug_pull_trader, sanction_address_communication, fake_phishing_contract_communication, fake_phishing_transfer, mixer_transfers, non_kyc_transfers."},"risk":{"type":"number","description":"Risk contribution for this flag. >0 means flagged."},"txsCount":{"type":"number","description":"Number of transactions related to this flag."},"description":{"type":"string","description":"Human-readable explanation of what this flag detected."}}},"description":"Risk flags that fired on this address. Empty array means clean. Lighter than the full scan -- no USD volume breakdown, no incomingMoneyUSD/outgoingMoneyUSD fields."},"address":{"type":"string","description":"The queried wallet address as provided."},"riskLevel":{"enum":["PASS","LOW","MIDDLE","CRITICAL"],"type":"string","description":"PASS = score 0; LOW = 0-0.40; MIDDLE = 0.41-0.80; CRITICAL >= 0.81."},"shouldFlag":{"type":"boolean","description":"True if toxicScore > 0. Off-ramp compliance rule: only exact score 0 passes; any non-zero score must be flagged."},"toxicScore":{"type":"number","description":"Normalized risk score from 0 (clean) to 1 (critical). Raw API may return 0-100 integers for confirmed bad actors; always normalize with score > 1 ? score / 100 : score."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","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_j1IVbGhq5NtDe_HxMYLsu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a fast on-chain risk scan of an Optimism network wallet address, returning a toxicity score, risk level, and categorized risk flags.","exampleAgentPrompt":"Can you do a quick risk scan on the Optimism wallet address 0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97 and tell me if it's flagged for anything like scams, sanctions, or rug pulls?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the queried address, a numeric toxicScore, a riskLevel enum (PASS, LOW, MIDDLE, or CRITICAL), a boolean shouldFlag, and a traits array listing any risk flags that fired — each with a category name, risk contribution score, related transaction count, and human-readable description. An empty traits array means the address is clean.","failureModes":["Missing or malformed address parameter returns a 400 error","Non-Optimism EVM address format may return no results or unexpected behavior","Payment failure (x402) if USDC balance is insufficient","ENS resolution failure if the name cannot be resolved on-chain","Rate limiting or timeout if the upstream Web3 Antivirus service is unavailable"],"whenToPreferThis":"Choose this endpoint when you need a fast, lightweight risk check specifically for Optimism network addresses — it is cheaper and faster than a full scan, ideal for real-time compliance checks, off-ramp screening, or pre-transaction wallet verification on OP mainnet. Use the full scan sibling endpoint if you need USD volume breakdowns or incoming/outgoing money fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:56.418Z","isFirstParty":false}