RugGuard
SOL --
Home / Developers

RugGuard API

Add Solana token safety checks to your bot, wallet, dashboard or trading tool. Simple REST + JSON, one API key.

Your API keys
--

Log in to create API keys. Free accounts get 50 units/day to try it.

Webhooks
--

Get alerts pushed to your bot in seconds instead of polling: new flags, score drops, liquidity pulled, dev dumps. Included in API Builder and Scale.

Quick start

curl -H "Authorization: Bearer YOUR_KEY" \
  https://rugguard.app/v1/token/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
import requests
r = requests.get("https://rugguard.app/v1/token/<MINT>",
                 headers={"Authorization": "Bearer YOUR_KEY"}, timeout=30)
data = r.json()
print(data["safety_score"], data["verdict"])   # e.g. 29 DANGER

Endpoints

EndpointCostWhat you get
GET /v1/token/{mint}1Safety score, verdict, findings (authorities, Token-2022 traps, honeypot signs, holders, liquidity), market data, report and card URLs. Cached up to 10 min.
GET /v1/token/{mint}/deep5Everything above + dev wallet, bundled launch wallets, snipers, dev's past tokens, LP burn/lock. Pro & Trader. Up to ~90s.
GET /v1/token/{mint}/insiders10Insider Map data: launch wallets, who funded them, linked groups and what they hold. Returns 202 while computing: poll every 5s. Trader.
GET /v1/alerts?since=&limit=&mint=1Public alert history: flags, big score changes, Guardian rug signals (liquidity pulled, dev dumps…).
GET /v1/trending1Trending Solana tokens with prices and safety scores.
GET /v1/token/{mint}/ai20AI explanation of the report: verdict line, summary, top risks, positives, what to check. API Builder & Scale.
GET /v1/token/{mint}/x200AI analysis of recent X (Twitter) posts: sentiment score, buzz, bot likelihood, scam red flags, notable posts. Cached 1h. API Scale.
GET /v1/news/brief1AI market brief for Solana traders (headline, sentiment, key points), refreshed every ~3 hours.
GET/POST /v1/webhooks, DELETE /v1/webhooks/{id}0Manage webhooks by API. POST body: {"url", "mints", "min_level"}. Builder & Scale.
GET /v1/usage0Your plan, quota and what's left today.

Example response

{
  "mint": "6RE3…kpump", "symbol": "MIKEDYSON",
  "safety_score": 15, "verdict": "DANGER",
  "findings": [
    {"level": "critical", "text": "Tiny liquidity ($3,731): you may not be able to sell…"},
    {"level": "good", "text": "Mint authority revoked: no one can create new tokens."}
  ],
  "market": {"price_usd": "0.0000038", "liquidity_usd": 3731, "market_cap": 3713, "age_hours": 13.7},
  "report_url": "https://rugguard.app/token/6RE3…", "card_url": "https://rugguard.app/og/token/6RE3….png"
}

Verdicts: LOWER RISK (75–100), CAUTION (50–74), HIGH RISK (30–49), DANGER (0–29), NOT ENOUGH DATA (too new to judge). Higher score = safer.

Webhook payload

POST https://your-bot.example.com/rugguard
X-RugGuard-Signature: sha256=<HMAC-SHA256 of the raw body with your signing secret>
{"type": "token.liq_pulled", "id": "evt_8812", "created_at": 1795480000,
 "data": {"mint": "6RE3…", "symbol": "MIKE", "level": "critical",
          "text": "Liquidity pulled: -94% in 5 minutes", "safety_score": 12,
          "report_url": "https://rugguard.app/token/6RE3…"}}
import hmac, hashlib
def verify(body: bytes, header: str, secret: str) -> bool:
    expected = "sha256=" + hmac.new(secret.encode(), body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, header)

Answer with any 2xx status within 6 seconds. An endpoint that fails 25 times in a row is paused.

Limits & errors

Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (seconds until 00:00 UTC). Errors are JSON: {"error": {"code": "quota_exceeded", "message": "…"}}.

StatusCodeMeaning
400invalid_addressNot a valid Solana address
401invalid_keyMissing, wrong or revoked key
403plan_requiredEndpoint not included in your plan
404not_a_tokenAddress isn't a token mint (no units charged)
429rate_limited / quota_exceededToo fast, or daily units used. See Retry-After
502upstream_errorBlockchain read failed (no units charged): retry