{"uid":"cap_taD_wyYZ8pxjpu3Mi4C_x","slug":"rugguard-pre-trade-rug-check-api-54f9552b","name":"RugGuard Pre-Trade Rug Check API","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/scan/%7Bchain%7D/%7Bcontract%7D","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":"settled","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_Bhhrv-E3Gpv_d5Yn7BnFw","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":"Scans a crypto smart contract on Base or Solana for rug pull risk signals, returning a 0–100 risk score, verdict, and specific heuristic flags","exampleAgentPrompt":"Before I buy this token, can you run a rug check on contract 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base — I want to know the risk score, verdict, and any critical flags like unlocked LP or active mint authority.","exampleUseCases":[{"title":"Verify token safety before portfolio investment","prompt":"I'm thinking about adding this Solana token to my portfolio, but I want you to scan it first — run a rug check and tell me if there are any critical red flags like active mint authority or suspicious holder concentration I should know about."},{"title":"Audit suspicious Base contract for honeypot risk","prompt":"This Base contract just popped up and is getting hyped in the community, but something feels off. Can you check it for honeypot signals and locked liquidity? Give me the risk score and any high-severity flags."},{"title":"Batch validate tokens before trading execution","prompt":"I've got a shortlist of three tokens I want to trade into today. Before I execute any buys, run quick rug checks on all of them and flag anything with critical risk scores or renounced ownership issues I need to know about."}],"resultDescription":"Returns a JSON object with a 0–100 integer risk score (0=safe, 100=critical), a verdict string (safe/low_risk/medium_risk/high_risk/critical/uncertain), an array of heuristic flags with severity levels (low/medium/high/critical), a summary object covering honeypot status, LP lock, mint authority, owner renounced, buy/sell tax percentages, and top-10 holder concentration, plus a scan ID, timestamp, and cache hit indicator.","failureModes":["Invalid chain value (not 'base' or 'solana') returns 422 validation error","Malformed contract address returns 422 or 400","Contract not found or too new returns verdict 'uncertain' with low score_confidence","Payment not provided or insufficient USDC returns 402 Payment Required","Data too sparse for reliable scoring returns verdict 'uncertain'","Rate limiting or upstream data provider errors may return 5xx"],"whenToPreferThis":"Use this endpoint when an AI agent needs a fast, pay-per-call rug pull risk assessment for a specific smart contract on Base or Solana before executing or recommending a token purchase. Prefer it over manual on-chain analysis when speed and structured output (score + flags) are needed. It requires no API key — only a per-call x402 USDC micropayment — making it ideal for agentic workflows that need deterministic risk gating without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:30:31.705Z","isFirstParty":false}