# WalletTriage ERC20 Approval Risk Scanner

> WalletTriage ERC20 Approval Risk Scanner is a paid API for AI agents from api.wallettriage.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Scans an EVM wallet address for dangerous ERC20 token approvals and cross-references them against a live exploit threat feed, returning a 0-100 risk score, risk level, and prioritized actionable findings.

## Facts

- Endpoint: GET https://api.wallettriage.com/scan
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wallettriage-erc20-approval-risk-scanner-8fe53ad1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aJ8vxOhrtaeGXpy5SOsOU

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 wallettriage-erc20-approval-risk-scanner-8fe53ad1
```

Example prompt: Run a WalletTriage risk check on the Ethereum wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — I want to see its risk score and any dangerous ERC20 approvals flagged against the live exploit feed.

## When to prefer this

Choose this endpoint when you need a real-time, per-wallet security assessment that combines ERC20 approval analysis with a live exploit threat feed — particularly for DeFi users wanting to identify revocable high-risk allowances. Prefer this over static allowance checkers when cross-referencing against active exploit entities matters. Supports ETH, Base, Polygon, Arbitrum, Optimism, BSC, and Avalanche.

## Known failure modes

- Invalid or malformed wallet address (non-0x-prefixed or wrong length) returns 400 error
- Unsupported chain value returns 400 validation error
- Threat feed degraded or stale causes 503 refusal before payment is charged
- Network timeout or upstream provider failure returns 5xx
- Missing required address query parameter returns 400

## How this service works

WalletTriage — real-time wallet risk check: dangerous ERC20 approvals cross-referenced with a live exploit threat feed. Returns risk_score (0-100), risk_level and actionable findings.

## Output

A JSON object containing: address and chain scanned, risk_score (0-100, higher = riskier), risk_level enum (low/medium/high/critical), an array of actionable findings sorted worst-first, threat_feed metadata (state, updated_at, entity count), checked_at timestamp, stateless boolean, and optional caveats array when coverage was limited.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "eth",
        "base",
        "polygon",
        "arbitrum",
        "optimism",
        "bsc",
        "avalanche"
       ],
       "type": "string",
       "description": "Chain to scan (Moralis name). Defaults to eth if omitted. One of: eth, base, polygon, arbitrum, optimism, bsc, avalanche."
      },
      "address": {
       "type": "string",
       "description": "EVM wallet address to assess (0x-prefixed, 40 hex chars)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "address",
      "chain",
      "risk_score",
      "risk_level",
      "findings",
      "stateless"
     ],
     "properties": {
      "chain": {
       "type": "string"
      },
      "address": {
       "type": "string"
      },
      "caveats": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Present when coverage was limited (e.g. live feed tracking 0 active exploit entities). Absent = no caveats."
      },
      "summary": {
       "type": "object"
      },
      "findings": {
       "type": "array",
       "items": {
        "type": "object"
       },
       "description": "Actionable findings (medium+); worst-first."
      },
      "stateless": {
       "type": "boolean"
      },
      "checked_at": {
       "type": "string"
      },
      "risk_level": {
       "enum": [
        "low",
        "medium",
        "high",
        "critical"
       ],
       "type": "string"
      },
      "risk_score": {
       "type": "number",
       "description": "0-100; higher is riskier."
      },
      "threat_feed": {
       "type": "object",
       "description": "Provenance of the live exploit feed this verdict was evaluated against: state (ok|stale|missing|error), updated_at, entities. A degraded feed is refus
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wallettriage-erc20-approval-risk-scanner-8fe53ad1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.wallettriage.com](https://www.zero.xyz/host/api.wallettriage.com/llms.txt)
