# TokenGuard Pre-Trade Token Safety Scanner

> TokenGuard Pre-Trade Token Safety Scanner is a paid API for AI agents from gdzlcxskuhupymyxywzm.supabase.co, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Checks a token contract address for rug pull, honeypot, and other DeFi safety risks across Solana and major EVM chains, returning a SAFE/CAUTION/DANGER verdict, 0–100 risk score, and detailed risk flags.

## Facts

- Endpoint: GET https://gdzlcxskuhupymyxywzm.supabase.co/functions/v1/tokenguard/v1/check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenguard-pre-trade-token-safety-scanner-2cb4ec58
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LoZtt5r2qArlyWym9u6LQ

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 tokenguard-pre-trade-token-safety-scanner-2cb4ec58
```

Example prompt: Before I buy this token, can you run a safety check on the Solana mint address 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU and tell me if it's flagged as a honeypot or rug, and what the risk score is?

## When to prefer this

Use this endpoint when an AI agent or trading bot needs a quick, structured pre-trade safety verdict for a specific token before executing a swap or recommending a buy. It is ideal for multi-chain coverage (Solana + 7 EVM chains) in a single API, providing a machine-readable risk score and granular flags rather than just a pass/fail. Prefer this over generic block explorers when you need structured JSON risk data suitable for automated decision-making pipelines.

## Known failure modes

- Invalid or unsupported token address format returns an error
- Unsupported chain name returns validation error
- Token not found on the specified chain returns not-found or empty response
- Network timeout or Supabase function cold start causes slow or failed response
- Very new tokens with no on-chain liquidity data may return incomplete flag data
- Payment not processed (x402) results in 402 Payment Required response

## How this service works

Solana token rug check before buying, read directly from chain state. Returns SAFE/CAUTION/DANGER, 0-100 risk score, authorities, Token-2022 extensions, wallet concentration and age. Flags: freeze_authority, mint_authority, permanent_delegate, non_transferable, accounts_frozen_by_default, pausable, transfer_hook, transfer_fee(_over_10pct), transfer_fee_changeable, mint_close_authority, metadata_mutable, top10_wallets_over_50pct, top_wallet_over_20pct (pools and bonding curves excluded), created_under_1h/24h. Query: ?address=MINT

## Output

Returns a top-level safety verdict (SAFE, CAUTION, or DANGER), a numeric risk score from 0 to 100, and a detailed breakdown of flags including: honeypot detection, buy tax percentage, sell tax percentage, mint authority presence, freeze authority presence, pause authority presence, blacklist authority presence, owner balance control, transfer hooks, transfer fees, holder concentration percentage, liquidity amount, and liquidity pair age.

## 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": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Solana token mint address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenguard-pre-trade-token-safety-scanner-2cb4ec58/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gdzlcxskuhupymyxywzm.supabase.co](https://www.zero.xyz/host/gdzlcxskuhupymyxywzm.supabase.co/llms.txt)
