{"uid":"cap_4RsGdwChX_Mf_CRqjeZZs","slug":"aegis-smart-contract-quick-scan-7855bb78","name":"Aegis Smart Contract Quick Scan","description":"Fast security verdict for a deployed contract on Base, Ethereum, Arbitrum, Optimism, Polygon or BSC. Static analysis plus one reasoning pass returns a 0 to 100 risk score, a verdict and up to five findings, each with a file and a line. Nothing is charged when the source is unverified or does not compile.","url":"https://api.tradeperpetua.xyz/scan","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"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon","bsc"],"type":"string","default":"base","description":"Chain, one of base, ethereum, arbitrum, optimism, polygon, bsc"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Deployed contract address to audit"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"tier":{"enum":["scan"],"type":"string"},"summary":{"type":"string"},"verdict":{"enum":["critical_risk","high_risk","caution","looks_ok"],"type":"string"},"findings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"location":{"type":"string","description":"File.sol:LINE"},"severity":{"enum":["critical","high","medium","low","info"],"type":"string"}}}},"confidence":{"enum":["high","medium","low"],"type":"string"},"risk_score":{"type":"number","description":"0 to 100, capped per severity band"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"5","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9hb-q3dQ1_fYbLnRM7JdK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a fast static analysis and AI reasoning pass on a deployed smart contract to return a 0–100 risk score, verdict, and up to five findings with file and line references.","exampleAgentPrompt":"Can you do a quick security scan on the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum and tell me the risk score and any critical findings?","exampleUseCases":[{"title":"Pre-investment DeFi contract vetting","prompt":"Before I interact with this yield farm, can you run a quick security scan on 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f on Base and tell me if there are any critical or high-severity issues I should worry about?"},{"title":"NFT mint contract safety check","prompt":"I'm about to mint from a new NFT project — can you scan the contract at 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Ethereum and give me the risk verdict before I connect my wallet?"},{"title":"Monitoring a newly deployed contract on Polygon","prompt":"We just deployed a contract at 0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6 on Polygon — can you do a quick audit scan and tell me the risk score and any findings so we can patch issues before going live?"}],"resultDescription":"Returns a JSON object containing: a risk_score (0–100), a verdict enum (critical_risk, high_risk, caution, or looks_ok), a confidence level (high, medium, or low), a plain-English summary, and an array of up to five findings each with an id, title, severity (critical/high/medium/low/info), and a file:line location string. No charge is applied when the contract source is unverified or fails to compile.","failureModes":["Contract source not verified on-chain — scan is free but no findings returned","Invalid or non-existent contract address returns an error","Unsupported chain value returns validation error","Contract fails to compile — scan is free, no results produced","Network timeout or upstream analysis service unavailable","Payment not received or insufficient USDC causes 402 response"],"whenToPreferThis":"Use this endpoint when you need a fast, affordable ($5 USDC) security signal on a deployed contract across Base, Ethereum, Arbitrum, Optimism, Polygon, or BSC — especially when time matters more than exhaustive coverage. Prefer this over the full audit when you want a quick go/no-go verdict with top-line findings rather than a deep six-lens analysis. Ideal for pre-interaction checks, monitoring newly deployed contracts, or triaging contracts before committing to a full audit.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T11:27:52.218Z","isFirstParty":false}