# Solana Token Safety Check

> Solana Token Safety Check is a paid API for AI agents from x402-endpoints.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Analyzes a Solana SPL token mint address for rug pull risk, honeypot behavior, and overall safety using on-chain and DEX data, returning a scored verdict.

## Facts

- Endpoint: GET https://x402-endpoints.onrender.com/solana/token-safety
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-token-safety-check-fd8f73f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mtPPD6lo7jX5Wlegoc-FN

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 solana-token-safety-check-fd8f73f2
```

Example prompt: Before I buy this token, can you run a rug pull and honeypot safety check on the Solana mint address EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v and give me a safety score and verdict?

## When to prefer this

Use this endpoint when an AI agent needs an automated pre-trade safety check on a specific Solana SPL token before executing a swap or recommending a purchase. It is ideal for DeFi agents, trading bots, and portfolio assistants that need structured, machine-readable risk verdicts combining on-chain mint data with live DEX liquidity signals — without requiring an API key.

## Known failure modes

- Invalid or malformed mint address returns an error field with description
- Token not listed on any DEX returns limited data with missing market fields
- Solana RPC or DexScreener unavailable causes sources_ok flags to be false
- Deep analysis mode may time out on RPC-heavy tokens
- Payment failure (non-402-compliant agent) results in 402 response with payment requirements

## How this service works

Solana SPL token safety, rug check and honeypot / scam detection before trading: is this Solana token a rug pull, honeypot or scam? Verdict SAFE/RISKY/CRITICAL + 0-100 score combining STATIC checks (mint/freeze authority, holder concentration) AND BEHAVIORAL analysis (liquidity, churn, recent dump, tx velocity) plus a blue-chip false-positive guard so USDC/USDT/SOL are never flagged. Pre-trade SPL token security / scam-token detection catching behavioral rugs static checkers miss.

## Output

Returns a structured JSON object with a 0–100 safety score, a verdict (e.g. SAFE, RISKY, DANGER), static flags (e.g. MINT_AUTHORITY_ACTIVE), behavioral flags (e.g. LIQUIDITY_TO_FDV_THIN), mint info (decimals, freeze authority, token-2022 status), market data (DEX, liquidity USD, FDV, pool age, 24h volume and price change), holder concentration (top-1 and top-5 share), confidence score, data freshness metadata, and a false-positive guard note.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "mint"
     ],
     "properties": {
      "deep": {
       "type": "boolean",
       "description": "Deeper behavioral + holder analysis (more RPC calls)"
      },
      "mint": {
       "type": "string",
       "description": "SPL token mint address (base58), e.g. 'EPjFW...Dt1v' (USDC)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "error": null,
  "query": {
   "deep": false,
   "mint": "So11111111111111111111111111111111111111112"
  },
  "score": 62,
  "cached": false,
  "market": {
   "dex": "raydium",
   "symbol": "WIF",
   "fdv_usd": 17000000,
   "liquidity_usd": 240000,
   "pool_age_hours": 220.5,
   "volume_24h_usd": 980000,
   "price_change_24h_pct": -8.2
  },
  "reasons": [
   {
    "code": "COMPOSITE_SCORE",
    "label": "Composite safety score 62/100",
    "weight": 0.2
   }
  ],
  "verdict": "RISKY",
  "mint_info": {
   "decimals": 6,
   "is_token_2022": false,
   "mint_authority": null,
   "freeze_authority": null
  },
  "timestamp": "2026-06-29T12:00:00Z",
  "confidence": 0.8,
  "disclaimer": "Automated heuristic safety check (static + behavioral), not financial advice. Always DYOR.",
  "sources_ok": {
   "solana_rpc": true,
   "dexscreener": true
  },
  "static_flags": [
   {
    "code": "MINT_AUTHORITY_ACTIVE",
    "label": "Mint authority not renounced — supply can be inflated",
    "weight": 0.6
   }
  ],
  "concentration": {
   "note": "Largest account may be an AMM/LP pool, not a malicious whale.",
   "top1_share": 0.41,
   "top5_share": 0.66
  },
  "data_freshness": {
   "as_of": "2026-06-29T12:00:00Z",
   "sources": [
    "Solana RPC (mint, largest accounts, signatures)",
    "DexScreener (liquidity, pool age, price)"
   ],
   "age_seconds": 0,
   "retrieved_at": "2026-06-29T12:00:00Z",
   "deterministic": false,
   "behavioral_status": "ok"
  },
  "behavioral_flags": [
   {
    "code": "LIQUIDITY_TO_FDV_THIN",
    "label": "Liquidity is 1.4% of FDV — top-heavy valuation",
    "weight": 0.5
   }
  ],
  "behavioral_status": "ok",
  "false_positive_guard": {
   "note": "Not whitelisted; behavioral context applied to avoid static-only over-flagging.",
   "triggered": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-token-safety-check-fd8f73f2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-endpoints.onrender.com](https://www.zero.xyz/host/x402-endpoints.onrender.com/llms.txt)
