{"uid":"cap_eUo3dTnMZYINBSQ6NoWo9","slug":"smart-contract-risk-analyzer-a734ae22","name":"Smart Contract Risk Analyzer","description":"Analyze a smart contract for risky functions","url":"https://api.api-agent-ia.ch/analyse-contrat?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["adresse"],"properties":{"adresse":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"example":{"adresse":"0x...","est_contrat":true,"fonctions_risquees":["selfdestruct"]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ex0tasiPWm-LnTeuBSAKQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an Ethereum smart contract address to identify risky functions such as selfdestruct","exampleAgentPrompt":"Can you analyze the smart contract at 0xAbC123... and tell me if it has any risky functions like selfdestruct that I should be worried about?","exampleUseCases":[{"title":"DeFi protocol safety check","prompt":"Before I approve this DeFi protocol to use my funds, can you scan the contract at 0x1234567890abcdef1234567890abcdef12345678 and tell me if it has any dangerous functions I should know about?"},{"title":"NFT contract audit before minting","prompt":"I'm about to mint from this NFT project — can you check the contract at 0xabcdefabcdefabcdefabcdefabcdefabcdefabcd for any risky functions like selfdestruct or anything suspicious?"},{"title":"Wallet security alert for incoming transaction","prompt":"I just received a transaction from this address 0x9876543210fedcba9876543210fedcba98765432 — can you check if it's a smart contract and whether it has any dangerous functions?"}],"resultDescription":"Returns a JSON object containing the queried contract address, a boolean indicating whether the address is a smart contract, and an array listing any detected risky functions (e.g. 'selfdestruct').","failureModes":["Invalid or malformed Ethereum address returns an error or empty result","Address is a wallet (not a contract), indicated by est_contrat: false","Network connectivity issues to the blockchain may result in timeout or 5xx error","Unverified or proxy contracts may not expose all functions, leading to incomplete detection"],"whenToPreferThis":"Use this endpoint when you need a quick, low-cost automated risk scan of a specific Ethereum/EVM smart contract address before interacting with it, approving tokens, or integrating it into a workflow. It is best suited for rapid pre-flight checks in agentic pipelines where a human or AI needs a simple risky-function signal without running a full formal audit.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:40:31.794Z","isFirstParty":false,"canonicalSlug":"smart-contract-risk-analyzer-a734ae22"}