# Base Onchain Risk & Token Intelligence API – Token Flow Risk

> Base Onchain Risk & Token Intelligence API – Token Flow Risk is a paid API for AI agents from xx402.icu, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Analyzes ERC20 token transfer flows on Base to surface top senders, top receivers, large transfers, and risk flags over a configurable block window

## Facts

- Endpoint: GET https://xx402.icu/x402/api/base-token-flow-risk
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-onchain-risk-token-intelligence-api-token-flow-risk-061b43b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x7MlWq7_12f8fz3oxAwhn

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-token-flow-risk-061b43b0
```

Example prompt: Pull the token flow risk analysis for the Base USDC contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 over the last 2000 blocks and show me the top 10 senders, receivers, any large transfers, and flag any risk signals you see.

## When to prefer this

Use this endpoint when you need onchain token flow intelligence specifically on the Base network — particularly top sender/receiver rankings, large transfer detection, and automated risk flagging for a given ERC20 token. Prefer this over generic block explorers when you need structured, risk-scored output ready for agent consumption at $0.01 per call.

## Known failure modes

- Invalid token_address format (not a valid 0x ERC20 address) returns a validation error
- window_blocks outside allowed range (100–5000) returns a parameter error
- Token contract with no Transfer events in the window returns empty results
- Unpaid or failed x402 payment returns 402 Payment Required
- Nonexistent contract address returns empty or error 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 keys: summary (overview of transfer activity), top_senders (ranked addresses sending the token), top_receivers (ranked addresses receiving the token), large_transfers (notable high-value transfer events), risk_flags (detected anomalies or risk signals), and sources (data provenance). All scoped to the specified ERC20 token and block window on Base.

## Response schema (JSON Schema)

```json
{
 "keys": [
  "summary",
  "flow_decision",
  "priority_queue",
  "best_next_products",
  "concentration_breakdown",
  "review_queue",
  "avoid_queue",
  "top_senders",
  "top_receivers",
  "large_transfers",
  "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-token-flow-risk-061b43b0/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)
