{"uid":"cap_x95IaL95x0kIytii05hJV","slug":"smart-contract-verification-lookup-1fdc5b64","name":"Smart Contract Verification Lookup","description":"EVM contract verification status from Sourcify (open, no key): match type (exact/partial), compiler, contract name, ABI function and event counts, proxy implementations. Only verified contracts; source files are not returned. Unverified contracts give a 404.","url":"https://api.chainmarket-api.workers.dev/api/crypto/smart-contract-verify?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"},"queryParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Contract address, 0x + 40 hex characters"},"chainId":{"type":"string","description":"EVM chain id as a number (default 1 = Ethereum mainnet)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"match":"match","source":"https://sourcify.dev/server/v2/contract/1/0xdAC17F958D2ee523a2206206994597C13D831ec7","address":"0xdAC17F958D2ee523a2206206994597C13D831ec7","chainId":"1","isProxy":false,"compiler":"solc","language":"Solidity","verified":true,"checkedAt":"2026-10-23T09:35:54.344Z","functions":["name","deprecate"],"proxyType":null,"eventCount":11,"verifiedAt":"2024-08-08T13:56:23Z","contractName":"TetherToken","runtimeMatch":"match","creationMatch":"match","functionCount":32,"compilerVersion":"0.4.18+commit.9cf6e910","implementations":[],"fullyQualifiedName":"TetherToken.sol:TetherToken"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zIORfT3tP2B3ygVwRCROe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether an EVM smart contract address is verified on Sourcify and returns ABI, compiler, proxy, and function metadata","exampleAgentPrompt":"Can you check if the smart contract at 0xdAC17F958D2ee523a2206206994597C13D831ec7 on Ethereum mainnet (chain ID 1) is verified — and tell me its name, what functions it exposes, and whether it's a proxy?","exampleUseCases":[{"title":"DeFi protocol due diligence check","prompt":"Before I interact with this DeFi protocol, can you verify that the contract at 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D on Ethereum mainnet is verified, tell me its name, and list its public functions?"},{"title":"Token contract transparency audit","prompt":"I want to know if the token contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum chain ID 1 has verified source code on Sourcify — and whether it's a proxy contract."},{"title":"Multi-chain contract verification check","prompt":"Check whether the contract at 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174 is verified on Polygon (chain ID 137) and tell me the compiler version and how many functions it has."}],"resultDescription":"Returns a JSON object with: verified boolean, contract name, Sourcify source URL, runtime and creation match types, compiler name and version, language, list of function signatures, event count, proxy type, implementation addresses, and timestamps for when the contract was verified and last checked.","failureModes":["Contract address not found or not verified — verified field returns false","Invalid address format (not 0x + 40 hex chars) — request rejected or error response","Unsupported or unknown chain ID — may return unverified or error","Network timeout on Sourcify backend — transient failure, retry recommended","Contract exists on-chain but source was never submitted to Sourcify — returns unverified"],"whenToPreferThis":"Use this endpoint when you need to programmatically check whether an EVM smart contract has verified, human-readable source code via Sourcify, and want structured metadata like function lists, proxy detection, and compiler details — without needing an API key or account. Prefer this over manual Etherscan lookups or raw RPC calls when you need rich verification metadata in a single pay-per-call request.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:44:51.482Z","isFirstParty":false,"canonicalSlug":"smart-contract-verification-lookup-1fdc5b64"}