# Base Token Safety Check

> Base Token Safety Check is a paid API for AI agents from aiworker.duckdns.org, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns a deterministic risk card for a Base-chain ERC-20 token: contract metadata, ownership, holders, DEX trading pairs, honeypot simulation result, risk flags, and a 0-100 safety score.

## Facts

- Endpoint: POST https://aiworker.duckdns.org/v1/check/token
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-token-safety-check-0f7db600
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2WPHBdCU5Mx2k5x84pyvl

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-0f7db600 -d '<json body>'
```

Example prompt: Can you run a safety check on this Base token — contract address 0xABC123 — and tell me its risk score, whether it passes a buy/sell simulation, who controls the contract, and any red flags?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, rule-based safety assessment of a Base-chain token before trading or investing — especially for honeypot detection, ownership analysis, and DEX liquidity checks. Prefer this over LLM-based analysis when you need reproducible, verifiable risk scoring with no hallucination risk. Best for Base EVM tokens; not suitable for tokens on other chains.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty result
- Token not deployed on Base chain causes lookup failure
- Contract deployed but not yet indexed by Blockscout may return incomplete metadata
- No DEX pairs found if token has no liquidity
- Honeypot simulation may fail if the token has unusual transfer logic
- Rate limiting or provider outages from Blockscout, Honeypot.is, or Base RPC may cause partial results

## How this service works

Deterministic-first data for agents, paid per call in USDC over x402 v2: DeFi yields, Base token and wallet cards, Polymarket odds and backtests, news, fact checks, cited briefs. 20 routes, $0.005-$1

## Output

A structured safety card including: contract name/symbol/type, owner and admin addresses, top token holders and concentration metrics, active DEX trading pairs and liquidity, honeypot simulation pass/fail (buy and sell round-trip), a list of rule-based risk flags (e.g. mint authority, proxy contract, low liquidity), and a composite 0-100 safety score. No LLM-generated opinion — all outputs are deterministic.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base"
   ],
   "type": "string",
   "description": "chain to check; only \"base\" is supported in v1"
  },
  "address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "a Base (chain id 8453) token contract address"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "eip155:8453",
  "token": {
   "name": "Brett",
   "symbol": "BRETT",
   "decimals": 18,
   "total_supply": "9999997544340006294456944163",
   "holders_count": 948041
  },
  "market": {
   "pools": 8,
   "fdv_usd": 53458106,
   "website": "https://www.basedbrett.com/",
   "price_usd": 0.005394,
   "largest_pool": {
    "dex": "uniswap",
    "quote": "WETH",
    "created_at": "2024-02-27T13:38:57.000Z",
    "pair_address": "0xBA3F945812a83471d709BCe9C3CA699A19FB46f7",
    "liquidity_usd": 1207067.33
   },
   "volume_24h_usd": 8578.98,
   "liquidity_usd_total": 2418020.38,
   "oldest_pair_created_at": "2024-02-24T06:59:43.000Z"
  },
  "address": "0x532f27101965dd16442E59d40670FaF5eBB142E4",
  "holders": {
   "top_holders": [
    {
     "label": null,
     "address": "0x7061f0B28F5a95AaE717905Bb59AA4e08C165268",
     "share_pct": 11.38,
     "is_contract": false
    }
   ],
   "top10_share_pct": 31.74,
   "largest_holder_share_pct": 11.38
  },
  "sources": [
   {
    "ok": true,
    "url": "https://base.blockscout.com/api/v2/tokens/0x532f27101965dd16442E59d40670FaF5eBB142E4",
    "name": "blockscout_token"
   }
  ],
  "contract": {
   "name": "BrettToken",
   "owner": {
    "address": null,
    "renounced": true
   },
   "creator": "0x46f64BEc31Eaf281176F9Bb5899107a80E932B45",
   "compiler": "v0.8.17+commit.8df45f5f",
   "is_proxy": false,
   "verified": true,
   "created_at": "2024-02-24T06:09:27.000Z",
   "implementation": null
  },
  "honeypot": {
   "risk": "low",
   "flags": [],
   "checked": true,
   "siphoned": 0,
   "buy_tax_pct": 0,
   "is_honeypot": false,
   "open_source": true,
   "sell_tax_pct": 0,
   "high_tax_wallets": 0,
   "transfer_tax_pct": 0,
   "holders_simulated": 2068
  },
  "disclaimer": "Informational only; not investment advice. A clean card is not a guarantee.",
  "risk_flags": [
   {
    "code": "top10_concentration",
    "detail": "Top 10 holders (excluding known pool/locker contracts) hold 31.73% of supply.",
    "severity": "medium"
   }
  ],
  "risk_score": 10,
  "attribution": "Data: Blockscout (Base), DexScreener (derived), Honeypot.is, Base RPC",
  "generated_at": "2026-09-07T00:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-token-safety-check-0f7db600/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aiworker.duckdns.org](https://www.zero.xyz/host/aiworker.duckdns.org/llms.txt)
