{"uid":"cap_dMwDmwv1PAR7DiOoEkrVp","slug":"allthebot-wallet-balance-base-7fbb1341","name":"AllTheBot Wallet Balance (Base)","description":"Wallet balance and ERC-20 token balance on Base: live ETH, USDC and up to 5 ERC-20 balances of any address, read from Base mainnet. Pre-flight funding check before a payment or a swap. No API key.","url":"https://api.zkrobotics.fr/x402/base/wallet?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":{"tokens":{"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"maxItems":5},"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.00125088","tokens":[{"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC","balance":"14.946508","balance_raw":"14946508"}],"address":"0x60fd97850059dF9600C4E26f09aC58EF51561963","network":"base"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OtJ6w8WFQTd7fOgppwY0b","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live ETH and ERC-20 token balances (including USDC and up to 5 custom tokens) for any address on Base mainnet","exampleAgentPrompt":"What's the current ETH and USDC balance of 0x60fd97850059dF9600C4E26f09aC58EF51561963 on Base? Also check the ERC-20 balance for token 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.","exampleUseCases":[{"title":"Pre-swap funding check","prompt":"Before I do a swap, can you check if 0x60fd97850059dF9600C4E26f09aC58EF51561963 has enough USDC and ETH for gas on Base? Check token 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 too."},{"title":"Portfolio balance snapshot","prompt":"Give me a quick snapshot of the ETH and token balances on Base for wallet 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B — include USDC and these two tokens: 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb and 0x4200000000000000000000000000000000000006."},{"title":"Payment readiness verification","prompt":"I'm about to send a payment on Base — can you confirm that 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD has at least 50 USDC and some ETH for the gas fee?"}],"resultDescription":"A JSON object with the ETH balance (as a decimal string), the Base network identifier, the queried address, and an array of token objects each containing the token contract address, symbol, human-readable balance, and raw balance integer — covering USDC by default and up to 5 additional ERC-20 tokens if specified.","failureModes":["Invalid address format (not a valid 0x hex address) returns an error","Requested token address not found or not an ERC-20 contract returns zero or error","Base mainnet RPC unavailable causes timeout or 5xx response","More than 5 ERC-20 token addresses provided exceeds maxItems constraint","Payment of 0.0015 USDC not included causes 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a no-API-key, pay-per-call balance check specifically on Base mainnet — ideal for pre-flight funding checks before swaps or payments, portfolio snapshots, or agent pipelines that need live on-chain balances without managing API credentials. Prefer this over general blockchain explorers when you need ETH plus multiple ERC-20 balances in a single call on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:47:50.914Z","isFirstParty":false,"canonicalSlug":"allthebot-wallet-balance-base-7fbb1341"}