# Madhouse Wallet Optimism Quick Scan

> Madhouse Wallet Optimism Quick Scan is a paid API for AI agents from scan.madhousewallet.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Performs a fast on-chain risk scan of an Optimism network wallet address, returning a toxicity score, risk level, and categorized risk flags.

## Facts

- Endpoint: GET https://scan.madhousewallet.com/api/public/quick-scan/optimism
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scan-madhousewallet-com-29f371a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cz8Nhcs99c0civWJ5thnf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scan-madhousewallet-com-29f371a3
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Scans Optimism wallet or address data quickly for onchain insights.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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; 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scan-madhousewallet-com-29f371a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scan.madhousewallet.com](https://www.zero.xyz/host/scan.madhousewallet.com/llms.txt)
