# aiworker-data Base Token Trade Gate

> aiworker-data Base Token Trade Gate 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-15).

Returns a deterministic pass/caution/block verdict for a Base chain token before a swap, checking for honeypot risk, taxes, liquidity, holder concentration, contract verification, and name spoofing.

## Facts

- Endpoint: POST https://aiworker.duckdns.org/v1/trade/gate
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aiworker-data-base-token-trade-gate-0e0b6554
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_73eLHXr7MF6AXOxvZ9-95

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 aiworker-data-base-token-trade-gate-0e0b6554 -d '<json body>'
```

Example prompt: Before I swap into this Base token at 0x532f27101965dd16442e59d40670faf5ebb142e4, run a safety check on it — is it a honeypot, what are the buy/sell taxes, and does it pass overall?

## When to prefer this

Use this endpoint when you need a fast, deterministic, rule-based pre-trade safety screen for a single Base chain token and want a single actionable verdict (pass/caution/block) with specific numeric evidence rather than a narrative opinion. Prefer it over manual on-chain lookups when you need honeypot simulation, tax rates, liquidity, holder concentration, and contract verification all aggregated in one call. This is not an LLM-generated assessment — the verdict is rule-based and reproducible, making it suitable for automated trading agents or bots that need a consistent gate before executing swaps.

## Known failure modes

- Token address not found on Base — returns an error or block verdict
- Contract not yet indexed by Blockscout — may yield incomplete contract metadata
- Honeypot.is simulation unavailable — sources array will indicate the check failed
- Invalid or malformed contract address — request rejected by schema validation
- Very new token with no pool — liquidity checks may return zero or trigger a block
- Name spoof check may produce false positives for tokens with similar but legitimate names

## How this service works

One rule-based verdict before a swap on one Base token: pass, caution or block, with the reasons and the numbers that tripped them — Honeypot.is buy/sell simulation and taxes, pool liquidity and age, holder concentration, contract verification and ownership, and a name-spoof check against the canonical tokens. Deterministic, no LLM; a pass is not a guarantee.

## Output

A JSON object containing: a verdict field ('pass', 'caution', or 'block'), an array of reasons that triggered any non-pass outcome, honeypot simulation results (is_honeypot, buy_tax_pct, sell_tax_pct), contract metadata (age_days, verified, renounced), pool metrics (liquidity_usd, largest_pool_age_days), holder stats (holders_count, top10_share_pct), a name_spoof boolean, token name/symbol, data attribution, and a disclaimer that a pass is not a guarantee.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base"
   ],
   "type": "string",
   "default": "base"
  },
  "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"
  },
  "address": "0x532f27101965dd16442e59d40670faf5ebb142e4",
  "reasons": [],
  "sources": [
   {
    "ok": true,
    "url": "https://api.honeypot.is/v2/IsHoneypot",
    "name": "honeypot"
   }
  ],
  "verdict": "pass",
  "contract": {
   "age_days": 560,
   "verified": true,
   "renounced": true
  },
  "honeypot": {
   "checked": true,
   "buy_tax_pct": 0,
   "is_honeypot": false,
   "sell_tax_pct": 0
  },
  "disclaimer": "A rule-based gate over public data; informational only, not investment advice; pass is not a guarantee.",
  "name_spoof": false,
  "attribution": "Data: Blockscout (Base), Honeypot.is simulation, DexScreener-derived pairs, Base RPC",
  "generated_at": "2026-09-13T00:00:00.000Z",
  "holders_count": 948010,
  "liquidity_usd": 788332.15,
  "top10_share_pct": 31.74,
  "largest_pool_age_days": 540
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aiworker-data-base-token-trade-gate-0e0b6554/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)
