{"uid":"cap_P-iydQXYTl8197Tli0Ic7","slug":"ethereum-contract-info-lookup-0bcae728","name":"Ethereum Contract Info Lookup","description":"Call when an agent needs is_contract, bytecode size and hash, EIP-1967 and legacy OpenZeppelin proxy slots, and owner() for one Ethereum mainnet address. An EOA is is_contract false. Read-only. No spend. Send JSON {\"address\":\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\"}. Exact $0.003 USDC on Base. Try unpaid POST /v1/sandbox/eth-contract-info first.","url":"https://agentshelf.syntexa.ch/v1/eth-contract-info?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"address":{"type":"string","examples":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],"description":"Account on Ethereum mainnet. Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (Circle USDC). Returns is_contract, bytecode size and hash, proxy slots, and owner() when present. An EOA is is_contract false."}}},"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_WPYvQ2IUbh1naN1CUH844","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 contract detection, bytecode size and hash, EIP-1967 and legacy OpenZeppelin proxy slot values, and owner() for a single Ethereum mainnet address.","exampleAgentPrompt":"Can you check whether 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 is a smart contract on Ethereum mainnet, and if so tell me its bytecode size, bytecode hash, whether it's a proxy, and who the owner is?","exampleUseCases":[{"title":"Verify proxy pattern before upgrade","prompt":"Before we upgrade this protocol, can you check if 0xC36442b4a4522E871399CD717aBDD847Ab11FE88 is an EIP-1967 proxy on Ethereum mainnet and what implementation address it currently points to?"},{"title":"Distinguish EOA from contract in pipeline","prompt":"I'm processing a list of Ethereum addresses and need to know if 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 is just a regular wallet or an actual smart contract — can you check?"},{"title":"Audit contract ownership on mainnet","prompt":"Who is the owner() of the Ethereum contract at 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, and is it a proxy? I need this for a security audit."}],"resultDescription":"A JSON object containing: is_contract (boolean indicating contract vs EOA), bytecode_size (integer byte count), bytecode_hash (keccak256 hash of deployed bytecode), EIP-1967 proxy implementation slot value, legacy OpenZeppelin proxy slot value, and owner() return value if the contract exposes it.","failureModes":["Invalid Ethereum address format — returns error indicating malformed input","Address not found or network unreachable — may return error or empty result","Contract has no owner() function — owner field absent or null in response","Payment not included or insufficient — 402 Payment Required response; use /v1/sandbox/eth-contract-info for free testing","Rate limiting or upstream Ethereum node failure — transient 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a fast, single-call summary of an Ethereum mainnet address covering contract detection, bytecode fingerprinting, proxy pattern identification (EIP-1967 and legacy OpenZeppelin), and ownership — without writing custom RPC calls. It is read-only with no side effects, making it safe for audits, pipelines, and agent workflows. Use the free sandbox endpoint (/v1/sandbox/eth-contract-info) first to validate integration before paying $0.003 USDC per call on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:49:21.953Z","isFirstParty":false,"canonicalSlug":"ethereum-contract-info-lookup-0bcae728"}