{"uid":"cap_5wZ7PCPXF8qPZ8TKTv0pu","slug":"allthebot-contract-check-eth-45ea85d9","name":"AllTheBot Contract Check (ETH)","description":"Pay-per-call APIs for AI agents over x402: token safety reports, Base and Ethereum on-chain reads, crypto prices, domain checks (DNS, WHOIS, SSL, email), finance data (FX, SEC), worldwide weather forecasts, France alerts, text AI, fun content. USDC on Base, no account, no API key.","url":"https://api.zkrobotics.fr/x402/eth/contract?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[0-9a-fA-F]{40}$"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"eth":"0","type":"contract","erc20":{"symbol":"USDC","decimals":6},"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","network":"ethereum","bytecode_size":2186}},"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_MMs1DoOdwNvufG0rekupE","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 an Ethereum address is a smart contract, EOA wallet, or EIP-7702 delegated wallet, returning bytecode size, ETH balance, and ERC-20 token symbol.","exampleAgentPrompt":"Before I send USDC to 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum, can you check whether it's a regular wallet or a smart contract, and tell me its ETH balance and any ERC-20 token info?","exampleUseCases":[{"title":"Pre-transfer safety check","prompt":"I'm about to send 500 USDC to 0xdAC17F958D2ee523a2206206994597C13D831ec7 on Ethereum — can you first check if it's a real wallet or a smart contract so I don't lose my funds?"},{"title":"DeFi contract verification","prompt":"Can you confirm whether 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D is a smart contract on Ethereum and tell me its bytecode size and ERC-20 symbol if it's a token contract?"},{"title":"EIP-7702 delegation detection","prompt":"Is the Ethereum address 0xAbCd1234567890abcd1234567890abcdef123456 a standard wallet, an EIP-7702 delegated wallet, or a smart contract? I need to know before I integrate it into my app."}],"resultDescription":"Returns a JSON object with the address type ('contract', 'eoa', or 'eip7702'), bytecode size in bytes, ETH balance as a string, network name ('ethereum'), and if applicable an ERC-20 object with symbol and decimals.","failureModes":["Invalid address format (not matching 0x + 40 hex chars) returns a validation error","Address not found or network timeout returns an error","Non-Ethereum addresses (e.g. Base, Polygon) not supported — use the Base variant instead","Rate limit or payment failure returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need to classify an Ethereum mainnet address before sending funds or interacting with it programmatically — especially when you want to distinguish between EOAs, EIP-7702 delegated wallets, and smart contracts, or when you need ERC-20 metadata for a token contract address. Use the sibling Base endpoint for Base network addresses.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:46:08.219Z","isFirstParty":false,"canonicalSlug":"allthebot-contract-check-eth-45ea85d9"}