# NoJunk Safety Gate - Token Safety Check

> NoJunk Safety Gate - Token Safety Check is a paid API for AI agents from nojunk-safety-gate.mick8511.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Returns a safety verdict (ALLOW/CAUTION/BLOCK) for a token contract address before an agent buys or interacts with it

## Facts

- Endpoint: POST https://nojunk-safety-gate.mick8511.workers.dev/token?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nojunk-safety-gate-token-safety-check-1fe0c787
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_phaKJIFX4t55dCilnO-x9

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 nojunk-safety-gate-token-safety-check-1fe0c787 -d '<json body>'
```

Example prompt: Before I buy any BRETT tokens, run a safety check on the token contract 0x532f27101965dd16442E59d40670FaF5eBB142E4 on Base and tell me if it's safe to proceed.

## When to prefer this

Use this endpoint specifically when an agent needs a fast, pre-transaction safety gate on a token contract address before executing a buy or swap. It is ideal for autonomous DeFi agents, trading bots, or wallet assistants that need a structured ALLOW/CAUTION/BLOCK verdict with a reason before committing funds — especially in x402 payment flows where the agent acts autonomously.

## Known failure modes

- Invalid or malformed token address returns an error
- Unsupported chain value causes rejection
- Token address not found on specified chain may return CAUTION or error
- Network timeout from third-party security database lookups
- New or very obscure tokens may have insufficient data for a confident verdict

## How this service works

Yes/no safety verdicts an agent runs before it acts: before sending funds (/wallet), buying a token (/token), opening a link (/site) or paying an x402 seller (/x402). Every answer has safe (true/false), verdict (ALLOW, CAUTION, BLOCK) and a one-line reason.

## Output

A JSON object with: safe (boolean), verdict (ALLOW, CAUTION, or BLOCK), a one-line human-readable reason, a list of flags (empty if clean), the token address and chain checked, the timestamp of the check, and a legal disclaimer clarifying the automated nature of the screen.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "bsc",
    "arbitrum",
    "polygon",
    "optimism",
    "avalanche",
    "solana"
   ],
   "type": "string",
   "description": "Optional; 0x addresses default to base"
  },
  "token": {
   "type": "string",
   "description": "Token contract address (0x...) or Solana mint"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "safe": true,
  "chain": "base",
  "check": "token",
  "flags": [],
  "reason": "BRETT: no major red flags found.",
  "target": "0x532f27101965dd16442E59d40670FaF5eBB142E4",
  "verdict": "ALLOW",
  "checked_at": "2026-10-25T14:00:00.000Z",
  "disclaimer": "Automated pre-transaction screen using third-party security databases, registration records and live checks. ALLOW means no known problems were found, not a guarantee of safety. Not financial or legal advice."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nojunk-safety-gate-token-safety-check-1fe0c787/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nojunk-safety-gate.mick8511.workers.dev](https://www.zero.xyz/host/nojunk-safety-gate.mick8511.workers.dev/llms.txt)
