{"uid":"cap_e-Kf0ukJ4je1J4-KDsQ1w","slug":"token-rug-scan-api-849f0009","name":"Token Rug Scan API","description":"24/7 Edge pay-per-call biomedical, multi-chain token/escrow/wallet forensics, clean web extraction, and x402 verification APIs settled via USDC on Base and Solana.","url":"https://agy-x402-gateway.omega-x402-edge.workers.dev/api/v1/token-rug-scan?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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","properties":{"chain":{"type":"string","description":"Optional chain override: base or solana"},"address":{"type":"string","description":"Base 0x... or Solana Base58 mint address"}}},"discoverable":{"type":"boolean"}}},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","required":["chain","address","onchain","market","rug_risk_score","verdict","risk_flags","scanned_at"],"properties":{"chain":{"enum":["base","solana"],"type":"string"},"market":{"type":"object"},"address":{"type":"string"},"onchain":{"type":"object"},"verdict":{"enum":["low_risk","medium_risk","high_rug_risk"],"type":"string"},"risk_flags":{"type":"array","items":{"type":"string"}},"scanned_at":{"type":"string"},"rug_risk_score":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"chain":"solana","market":{"symbol":"BONK","liquidity_usd":4200000},"address":"DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263","onchain":{"mint_authority":null,"freeze_authority":null,"top5_holders_pct":18.4},"verdict":"low_risk","risk_flags":["deep_dex_liquidity"],"scanned_at":"2026-11-05T00:00:00.000Z","rug_risk_score":10}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gHMtLf9fb-3cbs3FHpEAi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans a Base or Solana token address for rug-pull risk, returning an on-chain forensics report with a numeric risk score and verdict","exampleAgentPrompt":"Can you scan this Solana token — DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 — and tell me if it's a rug pull risk? I want to see the risk score, verdict, and any red flags like mint authority or concentrated top holders.","exampleUseCases":[{"title":"Memecoin safety check before buying","prompt":"Before I ape into this new Solana memecoin at mint address 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU, can you run a rug scan on it and tell me the risk score and whether the mint authority is revoked?"},{"title":"Automated DeFi portfolio risk screening","prompt":"I'm holding a few Base tokens — can you scan 0x4200000000000000000000000000000000000006 on Base for rug-pull risk and flag anything suspicious like high holder concentration or frozen liquidity?"},{"title":"Pre-trade token vetting for a trading bot","prompt":"My trading bot just found a potential entry on Solana token DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 — run a rug scan on it and block the trade if the verdict comes back as high_rug_risk."}],"resultDescription":"Returns a JSON object containing: the chain (base or solana), token address, on-chain data (mint_authority, freeze_authority, top5_holders_pct), market data (symbol, liquidity_usd), a numeric rug_risk_score (0-100), a verdict enum (low_risk, medium_risk, or high_rug_risk), an array of risk_flags (e.g. 'deep_dex_liquidity', 'mint_authority_active'), and a scanned_at timestamp.","failureModes":["Invalid or malformed token address returns an error response","Address not found on specified chain returns empty or error result","Chain mismatch (Base address queried on Solana or vice versa) may return no data","Rate limiting or payment failure via x402 results in 402 Payment Required","Very new tokens with insufficient on-chain history may return incomplete market data"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call rug-pull and token safety assessment for Base or Solana tokens without maintaining your own blockchain indexer. It is well-suited for pre-trade vetting, portfolio screening, or alerting workflows where you need a structured risk verdict and specific red-flag signals like mint authority status or top-holder concentration. Prefer this over general blockchain explorers when you need a computed risk score and verdict rather than raw on-chain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T14:28:07.462Z","isFirstParty":false,"canonicalSlug":"token-rug-scan-api-849f0009"}