# Solana Token Rug Check & Due Diligence

> Solana Token Rug Check & Due Diligence is a paid API for AI agents from onchaincheck.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Returns a 0-100 risk score with reasons, token metadata, Token-2022 controls, holder concentration, and live market data (price, liquidity, volume) for any Solana SPL or Token-2022 token by mint address.

## Facts

- Endpoint: GET https://onchaincheck.dev/solana/token?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-rug-check-due-diligence-6341453c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0Ah6FPDKmvLz4sVUiPv2y

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-rug-check-due-diligence-6341453c
```

Example prompt: Can you run a rug check on the Solana token with mint address JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN — I want to see the risk score, whether mint or freeze authority is active, holder concentration, and current liquidity?

## When to prefer this

Choose this endpoint when you need a comprehensive, opinionated risk assessment of a Solana SPL or Token-2022 token in a single call — combining onchain authority checks, Token-2022 extension flags, holder concentration analysis, and live DEX market data. It is purpose-built for Solana and covers Token-2022-specific risks (permanent delegate, transfer hooks, pausable) that generic token info APIs miss. Prefer it over raw RPC calls when you want a pre-computed risk score rather than raw data you'd have to interpret yourself.

## Known failure modes

- Invalid or malformed base58 mint address returns a 400 error
- Token mint address not found on Solana mainnet returns a 404 or empty result
- Jupiter or DexScreener market data unavailable results in null market fields
- Token with no liquidity pools returns noLiquidPool: true and null price data
- Rate limiting or payment failure (x402) returns a 402 Payment Required response

## How this service works

Rug check and due-diligence snapshot of a Solana SPL or Token-2022 token: a 0-100 risk score with reasons, name, symbol, supply, mint and freeze authority, Token-2022 controls (permanent delegate, transfer fees, transfer hook, pausable), metadata mutability, top-holder concentration split into wallets and program accounts, and USD price, liquidity, volume and pools from Jupiter and DexScreener. Facts only, no buy or sell opinion.

## Output

A JSON object containing: a 0-100 integer risk score with a named level (low/medium/high), an array of risk reason objects (code, text, points), a risk summary sentence, boolean flags for all dangerous token capabilities (canMint, canFreeze, pausable, transferFee, transferHook, permanentDelegate, metadataMutable, nonTransferable, frozenByDefault, thinLiquidity, noLiquidPool, concentratedHolders), top-20 holder accounts with owner address, amount, percentage, and kind (wallet vs program), aggregate top-10 holder percentages split by wallets and all accounts, token name/symbol/supply/decimals/program type, metadata URI and mutability, and market data including USD price, fully diluted value, liquidity, 24h volume, price change, and pool details from Jupiter and DexScreener.

## 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",
       "pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
       "description": "Token mint address on Solana (base58)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Jupiter",
  "risk": {
   "level": "low",
   "score": 3,
   "reasons": [
    {
     "code": "metadata-mutable",
     "text": "The name, symbol and logo can still be changed.",
     "points": 3
    }
   ],
   "summary": "Low risk: the name, symbol and logo can still be changed. Powers are weighted down for $5.5M of liquidity."
  },
  "asset": {
   "known": false
  },
  "chain": "solana",
  "flags": {
   "canMint": false,
   "pausable": false,
   "canFreeze": false,
   "transferFee": false,
   "noLiquidPool": false,
   "transferHook": false,
   "canChangeFees": false,
   "thinLiquidity": false,
   "frozenByDefault": false,
   "metadataMutable": true,
   "nonTransferable": false,
   "permanentDelegate": false,
   "concentratedHolders": false
  },
  "notes": "Holders are the 20 largest token accounts grouped by owner; 'program' owners are program-derived addresses such as pools, vaults and bonding curves. Price and liquidity are from Jupiter, pools and vol… (240 chars, truncated in this example)",
  "market": {
   "sources": [
    "Jupiter price API"
   ],
   "priceUsd": 0.31401,
   "poolsFound": 0,
   "deepestPool": null,
   "liquidityUsd": 5465000,
   "volume24hUsd": null,
   "oldestPoolCreatedAt": null,
   "fullyDilutedValueUsd": 2155000000,
   "priceChange24hPercent": -1.54
  },
  "supply": 6861485919.61,
  "symbol": "JUP",
  "address": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
  "holders": {
   "top": [
    {
     "kind": "program",
     "owner": "EXJHiMkj6NRFDfhWBMKccHNwdSpCT7tdvQeRf87yHm6T",
     "amount": 1700000000,
     "percent": 24.78
    },
    {
     "kind": "program",
     "owner": "61aq585V8cR2sZBeawJFt2NPqmN7zDi1sws4KLs5xHXV",
     "amount": 1682700000,
     "percent": 24.52
    },
    {
     "kind": "program",
     "owner": "Any5gL74oUQy9Psb3goym9STaYMau4CMrTkryS37T7iz",
     "amount": 191569000,
     "percent": 2.792
    },
    {
     "kind": "program",
     "owner": "6tZT9AUcQn4iHMH79YZEXSy55kDLQ4VbA3PMtfLVNsFX",
     "amount": 176988000,
     "percent": 2.579
    },
    {
     "kind": "program",
     "owner": "FVhQ3QHvXudWSdGix2sdcG47YmrmUxRhf3KCBmiKfekf",
     "amount": 173405000,
     "percent": 2.527
    }
   ],
   "top10Percent": 65.5,
   "top10WalletsPercent": 5.997,
   "largestWalletPercent": 2.33
  },
  "program": "token",
  "decimals": 6,
  "metadata": {
   "uri": "https://static.jup.ag/jup/metadata.json",
   "source": "metaplex",
   "mutable": true,
   "updateAuthority": "61aq585V8cR
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-token-rug-check-due-diligence-6341453c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchaincheck.dev](https://www.zero.xyz/host/onchaincheck.dev/llms.txt)
