{"uid":"cap_nxg_fdDh5wFR1MdgS5-rr","slug":"base-erc-20-token-balance-lookup-6a5ba982","name":"Base ERC-20 Token Balance Lookup","description":"Pay-per-call utility APIs in USDC on Base: Hebrew calendar and text tools, Shabbat times, Base token control-risk screen and address summary, plus finance arithmetic tools. General information and arithmetic only; not investment, tax or legal advice and not a recommendation to buy, sell or hold anything.","url":"https://heb-utils-x402.hebutils-api.workers.dev/base-erc20-balance?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"],"type":"string"},"queryParams":{"type":"object","properties":{"token":{"type":"string"},"holder":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"balance":"0","decimals":6}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PpcRQx8FfBFAtpXlSTIkR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the token balance and decimals for a given ERC-20 token and holder address on the Base blockchain","exampleAgentPrompt":"What's the USDC balance for wallet address 0xABC...123 on Base? The token contract is 0xDEF...456.","exampleUseCases":[{"title":"Check wallet's token holdings","prompt":"Can you look up how many tokens wallet 0x1234567890abcdef1234567890abcdef12345678 holds for the token contract 0xabcdef1234567890abcdef1234567890abcdef12 on Base?"},{"title":"Verify DeFi position before action","prompt":"Before I proceed, check the USDC balance at token contract 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 for my address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base so I know if I have enough to cover this transaction."},{"title":"Monitor portfolio token balance","prompt":"What's the current balance and how many decimals does the token at contract 0x4200000000000000000000000000000000000006 use, for holder address 0xDeaDBeef000000000000000000000000DeaDBeef on Base?"}],"resultDescription":"A JSON object containing the token balance as a string (e.g. '1000000') and the number of decimals the token uses (e.g. 6 for USDC), allowing the caller to compute the human-readable balance by dividing by 10^decimals.","failureModes":["Invalid or malformed token contract address returns an error","Invalid or malformed holder address returns an error","Non-existent or non-ERC-20 contract address may return zero balance or an error","Network or RPC connectivity issues may cause timeouts","Payment failure (insufficient USDC) results in 402 response before the query is executed"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call balance lookup for any ERC-20 token on the Base L2 network without setting up your own RPC infrastructure. It is ideal for lightweight agent workflows that only occasionally need on-chain balance data and want to avoid managing API keys or node subscriptions. Not suitable for high-frequency polling or mainnet Ethereum (non-Base) queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:46:59.133Z","isFirstParty":false,"canonicalSlug":"base-erc-20-token-balance-lookup-6a5ba982"}