# token-intel Safety Gate

> token-intel Safety Gate is a paid API for AI agents from nexus-zero.xyz, paid per call via x402, $0.005/call, status down (last checked 2026-09-15).

Returns a fast pre-trade safety verdict, risk score, safeToTrade boolean, and kill-flags (rugged, honeypot, malicious creator/hook, mint/freeze authority) for a Solana SPL token mint address.

## Facts

- Endpoint: GET https://nexus-zero.xyz/v1/safety
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-intel-safety-gate-4707bcf3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EKU3K01YadmzzDIUxCC29

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 token-intel-safety-gate-4707bcf3
```

Example prompt: Before I buy, run a safety check on Solana token mint 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU — I need to know if it's safe to trade, the risk score, and whether it's flagged as a honeypot, rugged, or has mint/freeze authority still active.

## When to prefer this

Use this endpoint when you need a fast, single-call pre-trade safety gate for a specific Solana SPL token and want a binary safeToTrade decision plus structured kill-flags (honeypot, rugged, malicious creator, mint/freeze authority). Prefer it over a full composite risk intelligence call when latency is critical and you only need the verdict, not the full multi-source breakdown. It is the right choice for automated trading bots, swap UIs, and any agent that must gate transactions in real time.

## Known failure modes

- Invalid or malformed mint address (not valid Base58 or wrong length) returns a 400 error
- Unknown or very new mint with no on-chain data may return low confidence or inconclusive verdict
- Network or upstream data source outage may cause 503 or timeout
- Payment not received or x402 protocol failure results in 402 Payment Required

## How this service works

Fast pre-trade safety gate: verdict, risk score, safeToTrade boolean, and kill-flags (rugged, honeypot, malicious creator/hook, mint/freeze authority).

## Output

Returns a safety verdict (e.g. CLEAN, RUGGED), a numeric risk score, a safeToTrade boolean, and a set of kill-flags indicating whether the token has been rugged, is a honeypot, has a malicious creator or transfer hook, or retains mint/freeze authority — giving a fast binary go/no-go signal for trading.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "mint"
     ],
     "properties": {
      "mint": {
       "type": "string",
       "pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
       "description": "Base58 Solana SPL token mint address"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-intel-safety-gate-4707bcf3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-zero.xyz](https://www.zero.xyz/host/nexus-zero.xyz/llms.txt)
