# Base Token Safety Check (x402)

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

Runs a live honeypot and rug-risk simulation on a Base ERC-20 token address, returning a GREEN/ORANGE/RED verdict with buy/sell feasibility, tax rates, and liquidity data.

## Facts

- Endpoint: GET https://base-token-safety.frcompanycheck.workers.dev/v1/token/%7Baddress%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-token-safety-check-x402-ca81f3f4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sb7K5oGV7QVa8vQQzKEry

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-check-x402-ca81f3f4
```

Example prompt: Can you check if the Base token at address 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed is a honeypot — will it let me buy and sell, and what's the rug risk verdict?

## When to prefer this

Use this endpoint when you need a fast, live simulation-based honeypot and rug-risk verdict specifically for Base network ERC-20 tokens, especially before automated trading or listing decisions. It is preferable over static on-chain analysis tools because it actually simulates buy→transfer→sell via eth_call, revealing hidden sell taxes and frozen-transfer traps that static code analysis misses. Choose this over generic token scanners when the token is on Base and you need a structured GREEN/ORANGE/RED verdict with itemized cautions.

## Known failure modes

- Invalid or non-ERC-20 contract address returns an error or missing_key_data fields
- Token with no Uniswap V3 liquidity may fail the sell simulation and return incomplete results
- Payment failure via x402 (USDC on Base) results in 402 response before analysis runs
- Rate limiting or RPC timeout on Base may cause partial or failed response
- Very new tokens with no trading history may lack sufficient data for a full verdict

## How this service works

Honeypot / rug-risk verdict (GREEN / ORANGE / RED) for a Base ERC-20 token. Live buy→transfer→sell simulation via eth_call (no transaction). Pay per call with x402 (USDC on Base). Not financial advice.

## Output

Returns a JSON object with: a verdict string (GREEN, ORANGE, or RED), boolean flags for can_buy and can_sell, sell_tax_pct, liquidity_eth, owner_renounced, a list of dangerous_functions, cautions and red_flags arrays, a sell_test block showing the simulated venue, roundtrip_loss_pct, and a passes_filter boolean. The simulation uses eth_call so no on-chain transaction is submitted.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "checks": {
   "can_buy": true,
   "can_sell": true,
   "is_proxy": false,
   "sell_tax_pct": 0,
   "liquidity_eth": 79.19,
   "owner_renounced": true,
   "dangerous_functions": [
    "pause"
   ]
  },
  "symbol": "DEGEN",
  "address": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed",
  "verdict": "ORANGE",
  "cautions": [
   "bytecode contains pause/unpause: transfers can be frozen by the owner"
  ],
  "red_flags": [],
  "sell_test": {
   "venue": "uniswap_v3_1%",
   "buy_ok": true,
   "eth_in": 0.05,
   "sell_ok": true,
   "roundtrip_loss_pct": 11.8
  },
  "passes_filter": true,
  "missing_key_data": []
 }
}
```

## More

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