{"uid":"cap_3bEO6c7GmxbXFCH6gqnmq","slug":"baseaudit-oracle-x402-b0d450de","name":"BaseAudit Oracle x402","description":"Real-Time Smart Contract Security & Bytecode Audit Oracle for Base Mainnet, payable via x402.","url":"https://baseaudit-x402.vercel.app/v1/audit","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","title":"AuditRequest","required":["address"],"properties":{"address":{"type":"string","title":"Address","pattern":"^0x[0-9a-fA-F]{40}$","maxLength":42,"minLength":42}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","properties":{"type":{"const":"json"},"example":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean"}}}}}}},"responseSchema":{"type":"object","properties":{"address":{"type":"string"},"is_proxy":{"type":"boolean"},"risk_level":{"type":"string"},"risk_score":{"type":"integer"},"is_contract":{"type":"boolean"},"security_findings":{"type":"array"},"bytecode_size_bytes":{"type":"integer"},"implementation_address":{"type":"string"}}},"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_A9V3PauNL_SX9xMkzQgyQ","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":"Performs a real-time security and bytecode audit of a smart contract on Base Mainnet, returning risk scores, proxy detection, and security findings.","exampleAgentPrompt":"Can you run a security audit on the Base Mainnet contract at 0x4200000000000000000000000000000000000006 and tell me its risk level, whether it's a proxy, and any security findings?","exampleUseCases":[{"title":"DeFi contract safety check before investing","prompt":"Before I interact with this DeFi protocol on Base, can you audit the contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and tell me if it's risky or has any known vulnerabilities?"},{"title":"Token contract rug pull screening","prompt":"I found a new token on Base with contract address 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA — can you scan it for security issues, check if it's a proxy, and give me a risk score so I know if it's safe to buy?"},{"title":"Automated contract risk monitoring in a trading bot","prompt":"My trading bot is about to interact with contract 0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22 on Base — run a quick security audit on it and flag anything suspicious before the trade goes through."}],"resultDescription":"Returns a JSON object with the contract address, a boolean indicating if it's a proxy, a risk level string (e.g. 'low', 'medium', 'high'), an integer risk score, a boolean confirming if the address is a contract, an array of security findings, the bytecode size in bytes, and the implementation address if it's a proxy contract.","failureModes":["Invalid address format (not a valid 0x-prefixed 40-hex-char address) — returns validation error","Address is an EOA (externally owned account), not a contract — is_contract returns false with limited audit data","Contract not found or not deployed on Base Mainnet — may return error or empty findings","x402 payment failure (insufficient USDC or wallet not configured) — payment-level error before audit executes","Network timeout or RPC unavailability for Base Mainnet — upstream connectivity error"],"whenToPreferThis":"Choose this endpoint when you need a fast, automated security assessment of a specific smart contract deployed on Base Mainnet without commissioning a full manual audit. It is ideal for pre-interaction risk checks, DeFi safety screening, proxy detection, and automated trading pipelines. Prefer this over manual audits for real-time, per-address lookups. Not suitable for Ethereum mainnet or other EVM chains — use only for Base Mainnet addresses.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-19T06:41:11.176Z","isFirstParty":false}