{"uid":"cap_8gZqeNnN_wj-AgO6XS-R4","slug":"beggar-bot-erc-20-token-balance-lookup-base-mainnet-bb8888c8","name":"Beggar Bot ERC-20 Token Balance Lookup (Base Mainnet)","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/erc20balances?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","properties":{"chain":{"type":"string","description":"base (default)"},"native":{"type":"string","description":"true|false"},"tokens":{"type":"string","description":"comma token 0x list ≤25"},"addresses":{"type":"string","description":"comma 0x list ≤25"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JNCSsj5z590v3YqIHiKoo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches ERC-20 token balances (and optionally native ETH) for up to 25 wallet addresses on Base mainnet or Base Sepolia, paid via x402 micropayment.","exampleAgentPrompt":"Check the USDC and WETH balances for these two wallets on Base mainnet: 0xAbC...111 and 0xDeF...222 — also include native ETH.","exampleUseCases":[{"title":"DeFi agent pre-trade balance check","prompt":"Before executing a swap, check whether wallet 0xAbC...111 has enough USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) on Base mainnet to cover the trade."},{"title":"Multi-wallet portfolio snapshot","prompt":"Pull the USDC and native ETH balances for all five of my team wallets on Base — here are the addresses: 0xAA1..., 0xBB2..., 0xCC3..., 0xDD4..., 0xEE5...."},{"title":"Testnet balance verification for QA","prompt":"Check the token balances on Base Sepolia for wallet 0xTest...999 — I want to see both native ETH and the test ERC-20 at 0xToken...123 to confirm the faucet worked."}],"resultDescription":"Returns a JSON object mapping each queried wallet address to its balances for each requested ERC-20 token (and optionally native ETH), on the specified chain (Base mainnet by default or Base Sepolia).","failureModes":["Payment not received or insufficient USDC — 402 payment required response","Invalid wallet address format — 400 bad request","More than 25 addresses or tokens submitted — request rejected or truncated","Invalid token contract address — zero or error balance returned","Unsupported chain value — defaults to base or returns error","Network congestion on Base causing delayed RPC response"],"whenToPreferThis":"Use this endpoint when you need on-chain ERC-20 (and optionally native) token balances for one or more wallet addresses on Base mainnet or Base Sepolia, especially in automated agent workflows that can handle x402 micropayments. Prefer it over generalist blockchain APIs when you need a simple, low-cost per-call pricing model on Base and want to query up to 25 addresses and 25 tokens in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:38:42.478Z","isFirstParty":false,"canonicalSlug":"beggar-bot-erc-20-token-balance-lookup-base-mainnet-bb8888c8"}