{"uid":"cap_tZo-278dQFIyuMeaGfBkK","slug":"verified-contract-metadata-lookup-8e523e85","name":"Verified Contract Metadata Lookup","description":"Verified contract metadata by address and chain: contract name, compiler version, optimization, license, and proxy with implementation address, from a block explorer behind an API key. Does not return full source. contract source, verified contract, compiler version, proxy implementation, contract metadata Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/contract/source","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":{"chain":{"type":"string","description":"default ethereum"},"address":{"type":"string","description":"contract 0x..."}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9powdcCfDOK8gKCxF-90Q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns verified contract metadata (name, compiler version, optimization, license, proxy/implementation address) for a smart contract by address and chain, sourced from a block explorer.","exampleAgentPrompt":"Can you look up the verified contract metadata for address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum mainnet — I want to know the contract name, compiler version, whether it uses a proxy, and what the implementation address is?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the contract name, Solidity compiler version, optimization enabled/disabled status, SPDX license identifier, whether the contract is a proxy, and the implementation contract address if applicable. Does not include full source code.","failureModes":["Contract address not verified on the target block explorer — returns error or empty metadata","Unsupported chain ID — returns an error indicating the chain is not available","Invalid contract address format — returns a validation error","Block explorer API key rate limit or downtime — returns a service unavailable error","Contract exists on-chain but has no verified metadata — returns partial or null fields"],"whenToPreferThis":"Use this endpoint when you need quick, structured contract metadata (name, compiler, license, proxy info) without the overhead of fetching full source code. Ideal for auditing pipelines, contract identity resolution, proxy detection, and compliance checks where only build metadata is required. Prefer this over full source endpoints when bandwidth or cost is a concern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:54:38.759Z","isFirstParty":false}