# xx402 Base Protocol Outflow Risk Feed

> xx402 Base Protocol Outflow Risk Feed 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).

Returns a prioritized risk assessment of Base chain DeFi protocols, flagging outflow risk, TVL drawdowns, and yield context to help agents and risk tools make withdrawal or reallocation decisions.

## Facts

- Endpoint: GET https://x402.xx402.icu/api/base-protocol-outflow-risk-feed?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-protocol-outflow-risk-feed-f98c1831
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PjQyn15mrTR2rUACcsefc

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-protocol-outflow-risk-feed-f98c1831
```

Example prompt: Give me the top 10 Base DeFi lending and yield protocols ranked by outflow risk right now, filtering to protocols with at least $1M TVL and include up to 5 related yield pool rows so I can decide what to withdraw from.

## When to prefer this

Choose this endpoint when an agent needs a real-time, ranked risk assessment specifically for Base chain DeFi protocols — especially for autonomous risk management, capital reallocation, or withdrawal decision workflows. It is purpose-built for Base network and provides structured queues (avoid, watchlist, withdrawal review) that generic DeFi data APIs do not. Prefer it over general TVL APIs when you need actionable outflow-risk prioritization rather than raw TVL numbers.

## Known failure modes

- Payment not processed (402 response if x402 payment header missing or invalid)
- Invalid category string returns empty results or validation error
- min_tvl_usd out of range (0–1B) causes schema rejection
- limit out of range (3–30) causes schema rejection
- yield_limit out of range (0–10) causes schema rejection
- Source data unavailable may return degraded source_status with partial results
- Rate limiting or network timeout on underlying DeFi data sources may return stale 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 payload with a summary, outflow decision signal, prioritized protocol queues (priority, outflow risk, review, withdrawal review, avoid, watchlist), risk breakdowns per protocol, yield pool context rows, incident context, source status, and bucket counts — giving agents an actionable ranked view of Base DeFi protocol safety.

## Response schema (JSON Schema)

```json
{
 "keys": [
  "summary",
  "protocol_outflow_decision",
  "priority_queue",
  "risk_breakdown",
  "outflow_risk_queue",
  "review_queue",
  "withdrawal_review_queue",
  "avoid_queue",
  "watchlist",
  "top_outflow_protocols",
  "yield_context",
  "incident_context",
  "bucket_counts",
  "source_status",
  "sources"
 ],
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xx402-base-protocol-outflow-risk-feed-f98c1831/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)
