{"uid":"cap_ujkOYO8226RejZ-Ffz4sj","slug":"webacy-smart-contract-risk-score-api-b31a4046","name":"Webacy Smart Contract Risk Score API","description":"Risk analysis for a smart contract: verified-source status, static analysis, asset-type resolution, and (optionally) deployer risk.","url":"https://api.webacy.com/contracts/:contractAddress?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"],"type":"string"},"pathParams":{"type":"object","properties":{"contractAddress":{"type":"string","description":"Contract address to analyze"}}},"queryParams":{"type":"object","required":["chain"],"properties":{"chain":{"type":"string","description":"Blockchain network, e.g. eth, bsc, pol, arb, opt, base"},"fromBytecode":{"type":"boolean","description":"Continue analysis from bytecode if source is unverified"},"deployer_risk":{"type":"boolean","description":"Analyze the deployer address and flag it if risky"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xQBslxw8FhYuULW0F7P1w","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs risk analysis on a smart contract address, including verified-source status, static analysis, asset-type resolution, and optional deployer risk flagging.","exampleAgentPrompt":"Can you run a Webacy risk check on this Ethereum contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on the eth chain and also check if the deployer looks risky?","exampleUseCases":[{"title":"Pre-interaction DeFi contract vetting","prompt":"Before I approve this contract 0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F on the eth chain, can you check its Webacy risk score and whether the source code is verified?"},{"title":"Automated token approval safety check","prompt":"I want to make sure this BSC contract 0x10ED43C718714eb63d5aA57B78B54704E256024E is safe — run a full Webacy analysis on it on the bsc chain, including deployer risk."},{"title":"Unverified contract bytecode fallback analysis","prompt":"This contract 0xAbCd1234... on Arbitrum doesn't seem to have verified source, but can you still run a Webacy risk scan on it using bytecode analysis on the arb chain?"}],"resultDescription":"Returns a structured risk report for the smart contract including: whether the source code is verified, static analysis findings (e.g. reentrancy, ownership issues), the resolved asset type (ERC-20, NFT, etc.), an overall risk score, and optionally a flag indicating whether the deployer address poses risk.","failureModes":["Contract address not found on the specified chain — returns 404 or empty result","Chain identifier not recognized or unsupported — returns validation error","Unverified contract with fromBytecode=false may return incomplete analysis","Deployer risk analysis unavailable if deployer address cannot be resolved","Payment not attached or insufficient — returns 402 Payment Required","Rate limiting or API key errors — returns 429 or 401"],"whenToPreferThis":"Use this endpoint when you need on-chain smart contract risk intelligence before interacting with, approving, or investing in a contract. It is the right choice when you need verified-source checks and static analysis combined in one call, and supports an optional deployer risk flag. Prefer this over generic block explorer lookups when you want a structured, scored risk assessment rather than raw contract metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:34:24.650Z","isFirstParty":false,"canonicalSlug":"webacy-smart-contract-risk-score-api-b31a4046"}