{"uid":"cap_wx-GZ-POHf5EtfVOXgwZW","slug":"api-strale-io-9c91fe0d","name":"Smart Contract Source Verification Check","description":"Check if a smart contract's source code is verified on Etherscan. Returns compiler version, license type, proxy status, and contract name. Unverified contracts are a red flag for token safety. Supports 60+ EVM chains.","url":"https://api.strale.io/x402/contract-verify-check?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":["contract_address"],"properties":{"chain_id":{"type":"string","description":"Chain ID. Default: 1"},"contract_address":{"type":"string","description":"Smart contract address (0x...)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"chain_id":"1","contract_address":"0xdAC17F958D2ee523a2206206994597C13D831ec7"},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0xf6911422064bdff7f618f42d9c580ed213993d5ddb1b3e1546ed9c2bcd1d0d78"},"capability":"contract-verify-check","latency_ms":107,"provenance":{"source":"etherscan.io","fetched_at":"2026-06-13T04:27:16.431Z"}},"chain_id":"1","is_proxy":false,"evm_version":"Default","is_verified":true,"license_type":null,"contract_name":"TetherToken","compiler_version":"v0.4.18+commit.9cf6e910","contract_address":"0xdAC17F958D2ee523a2206206994597C13D831ec7","optimization_used":false,"implementation_address":null}},"exampleRequest":{"chain_id":"1","contract_address":"0xdAC17F958D2ee523a2206206994597C13D831ec7"},"tags":["x402"],"displayCostAmount":"0.0216","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D3EDjZvNyNYVfjjz1b5z0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a smart contract's source code is verified on Etherscan, returning compiler version, license type, proxy status, and contract name across 60+ EVM chains.","exampleAgentPrompt":"Can you check if the contract at 0xdAC17F958D2ee523a2206206994597C13D831ec7 is verified on Etherscan on Ethereum mainnet (chain ID 1) — I want to know the compiler version, license, and whether it's a proxy?","exampleUseCases":null,"resultDescription":"Returns whether the contract source code is verified on Etherscan, along with compiler version, SPDX license type, proxy status (is it a proxy contract), and the contract name. Unverified status is flagged as a red flag for token safety.","failureModes":["Contract address not found on specified chain — returns unverified or not found status","Invalid contract address format (not a valid 0x... address) — returns validation error","Unsupported chain ID — returns error indicating chain is not supported","Etherscan API unavailable for that chain — may return timeout or upstream error","Contract exists but has never been verified — returns unverified status with no additional metadata"],"whenToPreferThis":"Use this endpoint when you need to quickly assess the safety and transparency of a smart contract by checking source code verification status on Etherscan. Ideal for token due diligence, DeFi security checks, and pre-investment screening across any of 60+ EVM-compatible chains. Prefer this over generic blockchain explorers when you need a structured, machine-readable response about verification metadata including proxy detection and license type.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:50:52.036Z","isFirstParty":false,"canonicalSlug":"api-strale-io-9c91fe0d"}