{"uid":"cap_-guUqx6fbKMqZxJoWbPbt","slug":"contract-address-inspector-e405b0bb","name":"Contract Address Inspector","description":"Is this address a wallet or a smart contract? Returns whether it has code on Base, its bytecode size, ETH balance and nonce ($0.003 per call).","url":"https://api.api-agent-ia.ch/contrat?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":["adresse"],"properties":{"adresse":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"nonce":1,"reseau":"base","adresse":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","solde_eth":"0.009800646158085843","est_contrat":true,"taille_bytecode":1852}},"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__fS60qbL-U2VUd2SaeEmS","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":"Checks whether a given blockchain address is a smart contract (rather than an externally-owned account)","exampleAgentPrompt":"Can you check if the address 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 is a smart contract or just a regular wallet?","exampleUseCases":[{"title":"DeFi token contract validation","prompt":"Before I interact with this DeFi protocol, can you confirm that 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 is actually a smart contract and not just someone's wallet?"},{"title":"Scam address screening","prompt":"I got sent this address 0xdAC17F958D2ee523a2206206994597C13D831ec7 — can you check if it's a real contract or just an EOA before I send funds?"},{"title":"NFT contract verification","prompt":"I want to make sure the NFT collection at 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D is actually a deployed contract — can you verify that for me?"}],"resultDescription":"Returns a JSON object containing the queried address and a boolean field 'est_contrat' (true if the address is a smart contract, false if it is an externally-owned account).","failureModes":["Missing or malformed 'adresse' query parameter returns an error","Invalid non-hex address string causes a lookup failure","Network or RPC issues may cause temporary unavailability","Address not found on the target chain returns an error or false result"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap binary answer on whether a blockchain address is a smart contract or a regular wallet. Ideal for pre-flight checks before interacting with an address, screening untrusted addresses, or validating contract deployments without running a full node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:30:14.370Z","isFirstParty":false,"canonicalSlug":"contract-address-inspector-e405b0bb"}