# Base Onchain Risk & Token Intelligence API

> Base Onchain Risk & Token Intelligence 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-15).

Returns a comprehensive DeFi risk intelligence feed for the Base blockchain, including risk-ranked protocol queues, stablecoin safety, yield pool alerts, token safety scores, and incident history.

## Facts

- Endpoint: GET https://xx402.icu/x402/api/base-defi-risk
- 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/base-onchain-risk-token-intelligence-api-c91966a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lYBGU-fFjJCSHF4XbFA-M

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-onchain-risk-token-intelligence-api-c91966a8
```

Example prompt: Pull me the current Base DeFi risk feed — show up to 10 protocols, stablecoins, and yield pools — and flag anything in the avoid queue or with active incident history so I know what to stay away from today.

## When to prefer this

Use this endpoint when you need a broad, ranked DeFi risk intelligence overview of the Base blockchain — covering protocols, stablecoins, yield pools, token safety, wallet risk, and live incident alerts — rather than a single-asset lookup or Ethereum mainnet analysis.

## Known failure modes

- Payment not provided or insufficient USDC — returns 402 Payment Required
- limit parameter out of range (must be 3–12) — returns 400 Bad Request
- Upstream onchain data sources unavailable — source_status may indicate degraded feeds
- Rate limiting if too many calls in a short window — returns 429 Too Many Requests

## 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

A JSON object containing a risk summary, ranked queues of protocols to review or avoid, incident history, top protocols and stablecoins by safety, top yield pools, active risk flags, and data source status for the Base blockchain DeFi ecosystem.

## Response schema (JSON Schema)

```json
{
 "keys": [
  "summary",
  "defi_decision",
  "priority_queue",
  "best_next_products",
  "best_allocation_candidates",
  "risk_breakdown",
  "risk_queue",
  "review_queue",
  "avoid_queue",
  "withdrawal_review_queue",
  "fee_quality_queue",
  "incident_history",
  "top_protocols",
  "top_fee_quality_protocols",
  "top_stablecoins",
  "top_yield_pools",
  "bucket_counts",
  "risk_flags",
  "source_status",
  "sources"
 ],
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-onchain-risk-token-intelligence-api-c91966a8/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)
