# Base Token Risk Check

> Base Token Risk Check is a paid API for AI agents from x402op-edge-39830b.fly.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-17).

Performs an on-chain, rule-based risk analysis of any ERC-20 token on Base, returning an ok/caution/avoid verdict with specific risk reasons in under two seconds.

## Facts

- Endpoint: POST https://x402op-edge-39830b.fly.dev/p/base-token-check?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-token-risk-check-0844e0c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9yV1KDZgWR6oVW1Mx6AEm

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-token-risk-check-0844e0c4 -d '<json body>'
```

Example prompt: Can you run a risk check on this Base token — 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed — and tell me if it's safe, what owner functions it has, and how much DEX liquidity it has?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, on-chain risk signal for a Base ERC-20 token — no AI hallucination risk, no off-chain data sources, sub-2-second response. Prefer it over AI-based token analysis when you need auditable, rule-based verdicts. Prefer it over generic blockchain explorers when you want a structured risk summary (owner functions, liquidity, supply share) rather than raw chain data. Best suited for pre-trade checks in trading bots, DeFi dashboards, or user-facing token vetting flows on Base mainnet or Base Sepolia.

## Known failure modes

- Invalid or malformed contract address returns a validation error
- Contract address exists but is not an ERC-20 token — may return incomplete data or error
- Token has no DEX liquidity — liquidity fields return zero or null
- Network mismatch (specifying base-sepolia for a mainnet token) returns no data
- RPC or on-chain data unavailability may cause timeout or partial response
- Very new tokens with no deployment history may have limited analyzable bytecode

## How this service works

Rule-based risk check for any ERC-20 token on Base, straight from the chain and without AI - contract and proxy (upgradeable?), owner and whether it was renounced, risky owner functions in the bytecode (mint, pause, blacklist, fees, trading switches), owner share of supply and DEX liquidity on Uniswap V2/V3 and Aerodrome in USD. Returns ok, caution or avoid with reasons in under two seconds. Technical check, not investment advice.

## Output

Returns a risk verdict of 'ok', 'caution', or 'avoid', along with specific reasons. Includes whether the contract is a proxy/upgradeable, the owner address and renouncement status, detected risky functions in the bytecode (mint, pause, blacklist, fee manipulation, trading switches), the owner's share of total supply, and USD liquidity figures across Uniswap V2, Uniswap V3, and Aerodrome DEXes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "ERC-20 token contract address"
  },
  "network": {
   "enum": [
    "base",
    "base-sepolia"
   ],
   "type": "string",
   "default": "base"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-token-risk-check-0844e0c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402op-edge-39830b.fly.dev](https://www.zero.xyz/host/x402op-edge-39830b.fly.dev/llms.txt)
