{"uid":"cap_MQV1U-0JupzlaheCDMaYH","slug":"contract-abi-lookup-via-sourcify-05369e7d","name":"Contract ABI Lookup via Sourcify","description":"Fetch a verified contract's ABI and metadata by address, keylessly, from Sourcify. Returns the ABI plus a summarized list of function and event signatures, the contract name and compiler, and proxy detection (is_proxy + implementation address). Block explorers gate the ABI behind an API key; this does not. Chains: base, ethereum, arbitrum, optimism, polygon, bsc, avalanche. No API keys, no LLM, one x402 USDC micropayment per call.","url":"https://abi.cyberwarex.com/abi","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":["address"],"properties":{"chain":{"enum":["arbitrum","avalanche","base","bsc","ethereum","optimism","polygon"],"type":"string","description":"EVM chain (default base)."},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Contract address (0x + 40 hex chars, required)."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"abi":{"type":"array","description":"the full ABI (JSON array)."},"name":{"type":["string","null"]},"chain":{"type":"string"},"match":{"type":["string","null"],"description":"exact_match or match."},"events":{"type":"array","items":{"type":"string"}},"source":{"type":"string"},"address":{"type":"string"},"compiler":{"type":["string","null"]},"is_proxy":{"type":"boolean"},"verified":{"type":"boolean","description":"true if Sourcify has verified source."},"functions":{"type":"array","items":{"type":"string"}},"abi_entries":{"type":"integer"},"implementation":{"type":["string","null"],"description":"logic address if proxy."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qZOUUxdjK4V8YCza1vAfb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetch a verified smart contract's ABI, metadata, function/event signatures, and proxy detection for a given address across 7 EVM chains — no API key required.","exampleAgentPrompt":"Can you pull the verified ABI and function signatures for the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum? Also tell me if it's a proxy and what the implementation address is.","exampleUseCases":[{"title":"Decode a DeFi protocol's interface","prompt":"What functions and events does the contract 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D expose on Ethereum? Fetch its ABI from Sourcify so I can see the full interface."},{"title":"Proxy contract investigation","prompt":"I need to know if the contract at 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f on Ethereum is a proxy — if so, what's the actual implementation address?"},{"title":"Cross-chain contract comparison","prompt":"Get me the ABI and compiler version for contract 0x4200000000000000000000000000000000000006 on Base so I can see what it does."}],"resultDescription":"Returns a JSON object containing: the full ABI array, the contract name and compiler version, the chain and address, a list of human-readable function signatures, a list of event signatures, the number of ABI entries, whether the contract is verified on Sourcify, the match type (exact_match or match), whether the contract is a proxy, and the implementation address if applicable.","failureModes":["Contract not verified on Sourcify — returns unverified or empty result","Invalid address format — 400 error if address doesn't match 0x + 40 hex pattern","Unsupported chain — only base, ethereum, arbitrum, optimism, polygon, bsc, avalanche are valid","Payment failure — x402 micropayment not processed correctly","Network timeout — Sourcify upstream may be slow or unavailable"],"whenToPreferThis":"Choose this endpoint when you need a smart contract's ABI on any of the 7 supported EVM chains without holding an Etherscan or similar block explorer API key. It's ideal for agents operating keylessly via x402 micropayments, and adds value over raw Sourcify access by also returning parsed function/event signature lists, contract name, compiler info, and proxy detection in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:58.466Z","isFirstParty":false}