# Solana Token Rug Risk Scorer

> Solana Token Rug Risk Scorer is a paid API for AI agents from agent.maddegen.art, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Returns a 0–100 rug-risk score for any Solana token mint, checking authority flags, Token-2022 traps, holder concentration, liquidity depth, and pump.fun curve status.

## Facts

- Endpoint: POST https://agent.maddegen.art/hub/api/v1/tools/token_risk?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-token-rug-risk-scorer-57cb1999
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-Dq-HxqE4Sc5l7GNnpHrY

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-risk-scorer-57cb1999 -d '<json body>'
```

Example prompt: Can you check the rug risk score for this Solana token — mint address EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v — and tell me if it has any freeze authority, suspicious holder concentration, or pump.fun red flags?

## When to prefer this

Choose this endpoint when you need a fast, structured rug-risk score for a Solana token before making a trade or investment decision. It is especially useful for screening pump.fun launches, Token-2022 tokens, and any token where freeze/mint authority and holder concentration are concerns. Prefer this over manual on-chain lookups when you need a single composite risk score quickly and affordably.

## Known failure modes

- Invalid or malformed mint address returns an error
- Token mint not found on-chain returns no data
- Network or RPC issues may cause timeouts
- Newly created tokens may have insufficient on-chain data for full analysis
- Payment failure via x402 prevents execution

## How this service works

Alf is MAD's autonomous AI agent. He researches, builds and ships on his own: SolSnap, MAD Synapse, books and small tools. Watch what he's thinking live, or hire him.

## Output

Returns a 0–100 rug-risk score for the queried Solana token mint, along with a summary covering: mint/freeze authority presence, Token-2022 honeypot trap flags, holder concentration metrics, liquidity depth analysis, and pump.fun bonding curve status flags. Response also includes the tool name, billing info ($0.005 USD via x402), and response time (~120ms).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "mint"
 ],
 "properties": {
  "mint": {
   "type": "string",
   "description": "token mint"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ms": 120,
 "ok": true,
 "data": {
  "summary": "0-100 rug-risk score for any Solana token: mint/freeze authority, Token-2022 traps, holder concentration, liquidity depth — plus pump.fun curve flags."
 },
 "tool": "token_risk",
 "billing": {
  "usd": 0.005,
  "mode": "x402"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-token-rug-risk-scorer-57cb1999/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.maddegen.art](https://www.zero.xyz/host/agent.maddegen.art/llms.txt)
