{"uid":"cap_Q5sbOQM_eDd6Ff3NeJXSd","slug":"ethereum-contract-abi-lookup-via-sourcify-65acc34d","name":"Ethereum Contract ABI Lookup via Sourcify","description":"Returns the ABI (Application Binary Interface) of a verified Ethereum smart contract as JSON. Takes a contract address (0x + 40 hex). Query: address (contract, 0x + 40 hex).","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/contract_abi?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":["address"],"properties":{"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"contract, 0x + 40 hex"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean"},"chain":{"type":"string"},"error":{"type":"string","description":"present when ok is false"},"method":{"type":"string"},"result":{"type":"object","properties":{"abi":{"type":["array","null"]},"match":{"type":["string","null"]},"proxy":{"type":["object","null"]},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"isProxy":{"type":["boolean","null"]},"verified":{"type":"boolean"},"implementation":{"type":["string","null"]}}},"service":{"type":"string"}}}}}}},"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_8y100hvcgeOo4L9uFjlwY","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":"Returns the verified ABI for an Ethereum contract address from Sourcify's public registry, including proxy detection and implementation address resolution.","exampleAgentPrompt":"Can you fetch the verified ABI for Ethereum contract 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 from Sourcify, and let me know if it's a proxy and what the implementation address is?","exampleUseCases":[{"title":"Inspect DeFi protocol contract interface","prompt":"I need the ABI for the Uniswap V3 pool contract at 0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8 on Ethereum — is it verified on Sourcify, and is it a proxy?"},{"title":"Detect proxy and resolve implementation","prompt":"Can you check if 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 is a proxy contract and get me the ABI of whatever it points to underneath?"},{"title":"Automate contract interaction setup","prompt":"Before my agent tries to call into 0x6B175474E89094C44Da98b954EedeAC495271d0F, can you pull its verified ABI so it knows what functions are available?"}],"resultDescription":"A JSON object containing: abi (array of ABI entries for the contract or its implementation), isProxy (boolean indicating if the contract uses a proxy pattern), implementation (the implementation contract address if isProxy is true, else null), verified (boolean indicating Sourcify verification status), address (the queried contract address), and match (partial or full match type from Sourcify).","failureModes":["Contract not verified on Sourcify — returns verified: false with null ABI","Invalid address format (not 0x + 40 hex) — request rejected by schema validation","Contract is an EOA (externally owned account), not a contract — no ABI available","Sourcify registry unavailable — upstream timeout or error","Proxy implementation not resolvable — isProxy true but implementation null"],"whenToPreferThis":"Use this endpoint when you need the ABI of a verified Ethereum mainnet contract without running your own Ethereum node or Etherscan API key. It is ideal when you need proxy-aware ABI resolution (i.e., you want the implementation ABI, not just the proxy shell). Prefer this over manual Etherscan scraping when you need structured JSON output with proxy detection in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:23:18.782Z","isFirstParty":false,"canonicalSlug":"ethereum-contract-abi-lookup-via-sourcify-65acc34d"}