# xx402 Base Allowance Risk Analyzer

> xx402 Base Allowance Risk Analyzer is a paid API for AI agents from x402.xx402.icu, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Analyzes ERC20 token allowance risk between an owner and spender address on the Base chain, returning detailed risk scores, approval history, and recommended actions.

## Facts

- Endpoint: GET https://x402.xx402.icu/api/base-allowance-risk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xx402-base-allowance-risk-analyzer-70d61882
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VVUrOWRo1VipMXve6oWFW

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-allowance-risk-analyzer-70d61882
```

Example prompt: Check the allowance risk between my wallet 0xba76c7ECa175f67cFcE475c09498f840176bf497 and the spender 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD for USDC on Base, looking back over the last 3000 blocks — should I revoke this approval?

## When to prefer this

Choose this endpoint when you need on-chain ERC20 allowance risk analysis specific to the Base network, including spender profiling, recent approval event scanning, and actionable revocation recommendations. Prefer it over generic blockchain explorers when you want structured, agent-ready risk decisions rather than raw transaction data, and when operating in an x402 micropayment context at $0.01 per call.

## Known failure modes

- Invalid Ethereum address format for owner, spender, or token_address returns a validation error
- window_blocks outside 100–5000 range is rejected
- Unpaid or failed x402 payment results in 402 Payment Required response
- Base RPC unavailability may cause source_status to indicate degraded data
- Token address with no on-chain activity may return empty approval_events and limited risk data

## 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: a human-readable summary and allowance decision, purchase acceptance status, risk breakdown scores, spender profile and token activity, approval events within the specified block window, exposure assessment, revocation priority and unsigned revoke call data, a buyer execution plan, follow-up purchase URLs, and a disclaimer that this is not financial advice.

## Response schema (JSON Schema)

```json
{
 "keys": [
  "summary",
  "purchase_acceptance",
  "buyer_next_action",
  "next_paid_call",
  "decision_evidence",
  "repeat_purchase_guard",
  "allowance_decision",
  "allowance_action_ticket",
  "exact_allowance_result_summary",
  "safe_to_keep_allowance",
  "follow_up_purchase_urls",
  "unsigned_revoke_call",
  "buyer_execution_plan",
  "priority_queue",
  "best_next_products",
  "risk_breakdown",
  "review_queue",
  "avoid_queue",
  "revocation_priority",
  "allowance",
  "exposure",
  "spender_profile",
  "approval_events",
  "spender_token_activity",
  "bucket_counts",
  "risk",
  "source_status",
  "not_financial_advice",
  "sources"
 ],
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xx402-base-allowance-risk-analyzer-70d61882/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)
