# Base Token Safety Scanner

> Base Token Safety Scanner is a paid API for AI agents from base-token-safety-x402.grokbot-hk.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Performs a heuristic on-chain safety scan of an ERC-20 token on Base, checking bytecode, proxy patterns, risky functions, ownership, liquidity pools, and sell simulation

## Facts

- Endpoint: POST https://base-token-safety-x402.grokbot-hk.workers.dev/token/:address?utm_source=zero.xyz
- Price: $0.01/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-safety-scanner-621293e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_odZkM6rVWH84sOV32OyIi

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-safety-scanner-621293e7 -d '<json body>'
```

Example prompt: Can you run a safety scan on this Base token at 0x4200000000000000000000000000000000000006 — check for honeypot risks, risky functions, proxy patterns, ownership status, and whether there's real liquidity on Uniswap v3 or Aerodrome?

## When to prefer this

Use this endpoint when you need a quick, low-cost ($0.01 USDC) on-chain safety heuristic for any ERC-20 token on the Base network specifically — especially before executing a buy, listing a token, or routing through a DeFi protocol. It is preferable over manual RPC queries because it bundles bytecode analysis, proxy detection, risky selector scanning, ownership checks, liquidity discovery across Uniswap v3 and Aerodrome, and sell simulation in a single call. Choose this over generic block explorers when you need structured, machine-readable safety signals for automated agent workflows rather than human-readable pages.

## Known failure modes

- Invalid or non-ERC-20 contract address returns an error or empty metadata
- Token with no liquidity pools results in empty pool discovery and failed sell simulation
- Proxy contracts may obscure true implementation logic, limiting bytecode analysis accuracy
- RPC rate limits or network congestion may cause timeouts or incomplete results
- Newly deployed tokens with minimal on-chain history may yield insufficient data for reliable heuristics
- Payment failure (insufficient USDC or x402 protocol error) results in no scan being performed

## How this service works

Base token safety snapshot: heuristic on-chain scan of an ERC-20 on Base (bytecode/proxy check, ERC-20 metadata, risky-function selector scan, owner/renounce check, Uniswap v3 / Aerodrome pool + liquidity discovery, best-effort sell simulation). Public RPC data only. Heuristic, not financial advice.

## Output

Returns a heuristic safety snapshot including: bytecode analysis and proxy detection, ERC-20 metadata (name, symbol, decimals, total supply), risky function selector matches (e.g. mint, blacklist, setFee), owner address and renounce status, Uniswap v3 and Aerodrome pool addresses with liquidity depth, and a best-effort sell simulation result indicating whether tokens can be sold. All data sourced from public Base RPC. Output is heuristic only and not financial advice.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-token-safety-scanner-621293e7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from base-token-safety-x402.grokbot-hk.workers.dev](https://www.zero.xyz/host/base-token-safety-x402.grokbot-hk.workers.dev/llms.txt)
