# xx402 Base Wallet ERC20 Approval Exposure & Risk Analyzer

> xx402 Base Wallet ERC20 Approval Exposure & Risk Analyzer is a paid API for AI agents from x402.xx402.icu, paid per call via x402, $0.01/call, status down (last checked 2026-10-24).

Analyzes a Base-chain wallet's ERC20 token approval exposure, classifies spenders by risk level, and provides actionable revocation recommendations for autonomous agents and risk tools.

## Facts

- Endpoint: GET https://x402.xx402.icu/api/base-wallet-approval-exposure?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xx402-base-wallet-erc20-approval-exposure-risk-analyzer-6bd170bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bz6OHciGND5l6U5fjV2Sq

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 xx402-base-wallet-erc20-approval-exposure-risk-analyzer-6bd170bb
```

Example prompt: Check the ERC20 approval exposure for wallet 0xba76c7ECa175f67cFcE475c09498f840176bf497 on Base, scanning the last 5000 blocks for USDC approvals, and tell me which spenders I should revoke immediately and what my estimated active allowance is in USD.

## When to prefer this

Choose this endpoint when you need a detailed, actionable ERC20 approval risk audit for a specific Base-chain wallet — especially when you want spender classification (revoke now vs. safe to ignore), USD exposure estimates, and unsigned revoke call data ready for signing. Prefer this over generic block explorers when you need structured, agent-consumable risk output with decision logic included.

## Known failure modes

- Invalid wallet address format (must match ^0x[a-fA-F0-9]{40}$) returns validation error
- Invalid token address format returns validation error
- window_blocks outside 100-5000 range returns parameter error
- limit outside 1-10 range returns parameter error
- Payment not received (402) if x402 micropayment not included
- On-chain RPC timeouts may cause partial or empty spender data
- Token with no approval events in the window returns empty spender list

## How this service works

Paid Base token, wallet, DeFi, chain-read, x402 buyer/seller discovery, and specialized Bitcoin 15-minute Up/Down prediction-market data packets for autonomous agents and risk tools.

## Output

Returns a structured JSON object including: an approval exposure decision and risk summary, spender profiles classified into revoke-now / manual-review / safe buckets, estimated active allowance in USD, a prioritized revocation queue with unsigned revoke call data, address screening results, risk level counts, an owner action plan, and follow-up purchase URLs for related data products.

## Response schema (JSON Schema)

```json
{
 "keys": [
  "summary",
  "purchase_acceptance",
  "buyer_next_action",
  "next_paid_call",
  "decision_evidence",
  "repeat_purchase_guard",
  "approval_exposure_decision",
  "buyer_result_summary",
  "approval_revocation_verdict",
  "approval_revocation_checklist",
  "wallet_safety_inbox",
  "owner_action_plan",
  "revoke_now_items",
  "safe_to_ignore_spenders",
  "follow_up_purchase_urls",
  "unsigned_revoke_calls",
  "estimated_active_allowance_usd",
  "spender_profiles",
  "address_screening",
  "priority_queue",
  "best_next_products",
  "risk_breakdown",
  "review_queue",
  "avoid_queue",
  "spenders",
  "risk_level_counts",
  "active_allowance_spenders",
  "manual_review_spenders",
  "revocation_priority_queue",
  "revoke_now_spenders",
  "bucket_counts",
  "price_hint",
  "source_status",
  "not_financial_advice",
  "sources"
 ],
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xx402-base-wallet-erc20-approval-exposure-risk-analyzer-6bd170bb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.xx402.icu](https://www.zero.xyz/host/x402.xx402.icu/llms.txt)
