# Solana Token Mint Safety Checker

> Solana Token Mint Safety Checker is a paid API for AI agents from solana-x402-microtools-mainnet.valecity.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Analyzes a Solana SPL or Token-2022 mint address for security risks including dangerous extensions, authority flags, and token concentration, returning a heuristic risk score.

## Facts

- Endpoint: GET https://solana-x402-microtools-mainnet.valecity.workers.dev/api/token-check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-token-mint-safety-checker-a2365db6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sDlGo4OyAY65ny_6DuJMl

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-mint-safety-checker-a2365db6
```

Example prompt: Before I swap into this token, can you run a safety check on the Solana mint DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 — I want to know if there's an active mint authority, freeze authority, any risky Token-2022 extensions like permanent delegate or transfer hook, and what the overall risk score is?

## When to prefer this

Choose this endpoint when you need a fast, structured risk assessment of a specific Solana SPL or Token-2022 mint before trading, listing, or interacting with it. It is particularly valuable for detecting Token-2022-specific dangers (permanent delegate, transfer hook, transfer fee, pausable, non-transferable) that standard SPL checks miss, and for getting a single heuristic risk score rather than raw on-chain data. Prefer this over general blockchain explorers when you need machine-readable risk flags and concentration metrics in a single API call.

## Known failure modes

- Invalid or malformed base58 mint address returns a 400 validation error
- Mint address not found on Solana mainnet returns a not-found error
- RPC rate limiting or network issues may cause timeouts or 503 errors
- Top-10 concentration data is best-effort and may be unavailable or incomplete for large-supply tokens
- Payment not made or x402 challenge not fulfilled returns a 402 response requiring USDC payment

## How this service works

Solana SPL / Token-2022 mint safety check: mint & freeze authority, risky Token-2022 extensions (permanent delegate, transfer hook, transfer fee, pausable, non-transferable), best-effort top-10 token-account concentration, heuristic risk score

## Output

Returns a JSON object with the mint address, token program type (SPL or Token-2022), mint authority (address or null), freeze authority (address or null), raw and UI-formatted supply, decimals, top-10 token account concentration percentage and raw balances, list of risky extensions present (permanent_delegate, transfer_hook, transfer_fee, pausable, non_transferable), array of risk flags each with an id/rule/points/reason, total risk points, an overall risk_score enum (low/medium/high), risk scoring rule explanation, mint slot, concentration status label, and a checked_at timestamp.

## 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": "Canonical 32-byte Solana public key in base58"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "mint",
      "token_program",
      "is_token_2022",
      "mint_authority",
      "freeze_authority",
      "supply_raw",
      "supply_ui",
      "decimals",
      "top_10_token_accounts_share_pct",
      "top_10_token_accounts_balance_raw",
      "top_10_token_accounts_count",
      "concentration_status",
      "risky_extensions",
      "extensions_present",
      "risk_flags",
      "risk_points",
      "risk_score",
      "risk_scoring_rule",
      "mint_slot",
      "largest_accounts_slot",
      "checked_at",
      "limitations"
     ],
     "properties": {
      "mint": {
       "type": "string",
       "pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
       "description": "Canonical 32-byte Solana public key in base58"
      },
      "decimals": {
       "type": "integer",
       "maximum": 255,
       "minimum": 0
      },
      "mint_slot": {
       "type": "integer",
       "minimum": 0
      },
      "supply_ui": {
       "type": "string",
       "pattern": "^[0-9]+(\\.[0-9]+)?$"
      },
      "checked_at": {
       "type": "string",
       "format": "date-time"
      },
      "risk_flags": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "id",
         "points",
         "rule",
         "reason"
        ],
        "properties": {
         "id": {
          "enum": [
           "mint_authority_active",
           "freeze_authority_active",
           "zero_supply",
           "top_10_accounts_at_least_50_percent",
           "top_10_accounts_at_least_80_percent",
           
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-token-mint-safety-checker-a2365db6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from solana-x402-microtools-mainnet.valecity.workers.dev](https://www.zero.xyz/host/solana-x402-microtools-mainnet.valecity.workers.dev/llms.txt)
