# Base Allowance Risk API

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

Returns ERC-20 token allowance details, spender account analysis, approval event history, and a risk assessment for a given owner/spender/token combination on Base.

## Facts

- Endpoint: GET https://xx402.icu/x402/api/base-allowance-risk
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-allowance-risk-api-c34d2ef7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_74qNacfWvq_UzHiCmcTEb

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 base-allowance-risk-api-c34d2ef7
```

Example prompt: Can you check the allowance risk for owner wallet 0xfBDB0Ad415e95c4843FD872FAc967459572910f1, spender 0xfBDB0Ad415e95c4843FD872FAc967459572910f1, and the USDC token 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — look back over the last 3000 blocks and tell me if the approval looks risky?

## When to prefer this

Use this endpoint when you need to evaluate the risk of a specific ERC-20 token allowance between an owner and spender on the Base network, including approval history and spender behavior analysis. Prefer this over generic blockchain explorers when you need a structured risk score and spender activity profile, not just raw transaction data.

## Known failure modes

- Invalid Ethereum address format for owner, spender, or token returns a validation error
- window_blocks outside the 100–5000 range returns a parameter error
- Token address not found on Base returns empty or null allowance data
- Network congestion or RPC issues on Base may cause delayed or failed responses
- Payment not fulfilled (x402) results in 402 Payment Required response

## How this service works

Paid x402 buyer market scout, x402 paid resource preflight, x402 seller visibility audit, Base actionable risk feed, liquidity exit risk alerts, pool launch risk feed, stable asset risk feed, contract control event feed, protocol outflow risk feed, yield pool allocation risk feed, protocol fee quality feed, token watchlist decision packet, wallet watchlist decision packet, approval risk feed, ranked DeFi review queues with incident history, onchain risk decision packet, promoted token campaign decision packet, large transfer decision packet, token candidate screening decision radar, DEX pair anomaly decision radar, wallet safety decision packet, counterparty flow, allowance, approval exposure, DEX pair routing risk, token trade safety, token liquidity, token flow, holder concentration, contract controls, batch token screening decision packets, token diligence, and BTC15 prediction-market microstructure, execution-friction, calibration-slice, recent market tape, resolved feature sample, and threshold-pressure packets for agents and risk tools.

## Output

Returns a JSON object with: the current allowance amount, a spender account profile, a list of recent approval events within the block window, spender token activity metrics, an overall risk assessment, and source attribution — all specific to the queried owner/spender/token combination on Base.

## Response schema (JSON Schema)

```json
{
 "keys": [
  "summary",
  "allowance_decision",
  "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",
  "sources"
 ],
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-allowance-risk-api-c34d2ef7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from xx402.icu](https://www.zero.xyz/host/xx402.icu/llms.txt)
