{"uid":"cap_Q1dFE7KddzvA0XwCTfUV4","slug":"rugguard-pre-trade-rug-check-bf767dd8","name":"RugGuard Pre-Trade Rug Check","description":"Pay-per-call rug check for crypto smart contracts. Built for AI agents on Agentic.market (x402). USDC fractional pricing, no API key.","url":"https://rugguard.redfleet.fr/v1/pretrade/check","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["chain","contract"],"properties":{"chain":{"enum":["base","solana"],"type":"string","description":"Chain identifier. `base` = EVM (14 heuristics). `solana` = SPL (5 heuristics)."},"contract":{"type":"string","description":"Token contract address. EVM: `0x` + 40 hex chars. Solana: base58 mint address."}},"additionalProperties":false},"queryParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["scan_id","chain","contract","score","verdict","scanned_at"],"properties":{"chain":{"enum":["base","solana"],"type":"string"},"flags":{"type":"array","items":{"type":"object","required":["code","severity"],"properties":{"code":{"type":"string","description":"Heuristic identifier, e.g. OWNER_NOT_RENOUNCED."},"severity":{"enum":["info","low","medium","high","critical"],"type":"string"}}}},"score":{"type":"integer","maximum":100,"minimum":0,"description":"Weighted risk score, 0 = safe, 100 = critical."},"scan_id":{"type":"string","format":"uuid"},"summary":{"type":"object","additionalProperties":true},"verdict":{"enum":["safe","low_risk","medium_risk","high_risk","critical","uncertain"],"type":"string"},"contract":{"type":"string"},"cache_hit":{"type":"boolean"},"signature":{"type":["string","null"]},"disclaimer":{"type":"string"},"scanned_at":{"type":"string","format":"date-time"},"key_fingerprint":{"type":["string","null"]},"score_confidence":{"enum":["insufficient_data","low","medium","high"],"type":"string"},"rug_probability_30d":{"type":["number","null"],"maximum":1,"minimum":0}}}}},"responseSchema":{"type":"object","example":{"chain":"base","flags":[{"code":"OWNER_NOT_RENOUNCED","severity":"high"},{"code":"TOP10_CONCENTRATION_HIGH","severity":"high"}],"score":62,"scan_id":"01J9-aaaa-bbbb-cccc-dddddddddddd","summary":{"honeypot":false,"lp_locked":true,"owner_renounced":false,"source_verified":true,"top10_concentration_pct":71.4},"verdict":"medium_risk","contract":"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed","cache_hit":false,"disclaimer":"Data analytics best-effort, not a security guarantee.","scanned_at":"2026-05-17T00:00:00+00:00","score_confidence":"high","rug_probability_30d":0.41}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4GOzN3hydrLNgMG6jn_5E","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a crypto token smart contract on Base or Solana for rug pull risk, returning a weighted risk score, verdict, and detailed flags.","exampleAgentPrompt":"Before I buy this token, run a rug check on contract 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base and tell me the risk score, verdict, and any critical flags.","exampleUseCases":[{"title":"Evaluate new DeFi token safety","prompt":"I found a promising Solana token that just launched. Can you run a quick rug check on it and let me know if there are any major red flags I should worry about before I invest?"},{"title":"Assess holder concentration risk","prompt":"I'm looking at this Base token and want to understand if the top holders are too concentrated. Check the contract and tell me if it looks safe or if there's a rug pull risk."},{"title":"Screen tokens for honeypot indicators","prompt":"Before I add this token to my portfolio, scan its smart contract on Base for honeypot behavior, LP lock status, and ownership risks. Give me a clear verdict on whether it's safe to buy."}],"resultDescription":"Returns a JSON object with a UUID scan ID, the chain and contract address, a weighted risk score from 0 (safe) to 100 (critical), a verdict enum (safe/low_risk/medium_risk/high_risk/critical/uncertain), an array of heuristic flags with severity levels, a 30-day rug probability estimate (0–1), score confidence level, a summary object with honeypot/LP/owner/concentration details, and a disclaimer.","failureModes":["Invalid contract address format returns an error (not a 40-hex EVM address or valid base58 Solana mint)","Unsupported chain value (not 'base' or 'solana') returns a validation error","Contract with no on-chain data returns verdict 'uncertain' with score_confidence 'insufficient_data'","Payment failure via x402 protocol results in 402 response blocking the call","Network timeout if the chain RPC is slow or unavailable"],"whenToPreferThis":"Use this endpoint when an AI agent needs a fast, pay-per-call (no API key required) pre-trade safety signal for a specific token contract on Base (EVM, 14 heuristics) or Solana (SPL, 5 heuristics). Prefer it over generic blockchain explorers when you need a structured risk score, rug probability, and severity-tagged flags in a single API call without a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:32:23.172Z","isFirstParty":false}