{"uid":"cap_p7iVYKokrhrei4igSs1VF","slug":"allthebot-contract-or-wallet-checker-a2613b07","name":"AllTheBot Contract or Wallet Checker","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/base/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.009800646158085843","type":"contract","erc20":{"symbol":"USDC","decimals":6},"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","network":"base","bytecode_size":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_TX5WqeV7h2-kv1NiE8qr4","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":"Determines whether a Base network address is an EOA wallet, an EIP-7702 delegated wallet, or a smart contract, and returns bytecode size, ETH balance, and ERC-20 symbol.","exampleAgentPrompt":"Before I send funds, can you check if 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base is a wallet or a smart contract, and tell me its ETH balance and whether it's an ERC-20 token?","exampleUseCases":[{"title":"Safety check before sending crypto","prompt":"I'm about to send USDC to 0x4200000000000000000000000000000000000006 on Base — can you first check if that's a wallet or a smart contract, and what its ETH balance is?"},{"title":"Identify unknown token contract","prompt":"Someone sent me 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 as a contract address on Base — can you tell me what type of address it is and what ERC-20 token symbol it has?"},{"title":"Detect EIP-7702 delegated wallet","prompt":"Can you check if the Base address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 is a regular wallet, an EIP-7702 delegated account, or a smart contract, and show me the bytecode size?"}],"resultDescription":"Returns a JSON object containing the address type (EOA, EIP-7702 delegated wallet, or contract), bytecode size in bytes, ETH balance as a decimal string, ERC-20 symbol and decimals if the address is a token contract, the address itself, and the network name (base).","failureModes":["Invalid address format (not matching ^0x[0-9a-fA-F]{40}$) returns a validation error","Address not found or RPC timeout may return an error or empty result","Non-ERC-20 contracts will return null/empty ERC-20 fields","Payment failure (x402) if USDC balance insufficient"],"whenToPreferThis":"Use this endpoint when you need a cheap, fast pre-flight safety check on any Base address before sending funds — especially useful when the address origin is unknown, when you want to distinguish EIP-7702 delegated wallets from regular EOAs, or when you need to confirm whether an address is an ERC-20 token contract. Prefer this over a generic Ethereum block explorer API when you specifically target Base mainnet and want a single call that bundles type classification, bytecode size, ETH balance, and ERC-20 metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:39:36.874Z","isFirstParty":false,"canonicalSlug":"allthebot-contract-or-wallet-checker-a2613b07"}