{"uid":"cap_bclHWY-UgTl9sK6ioHinO","slug":"centralcity-ai-erc-20-token-balance-lookup-base-97da77f4","name":"centralcity.ai ERC-20 Token Balance Lookup (Base)","description":"An address's balance of one ERC-20 token on Base, with the token's decimals and symbol.","url":"https://centralcity.ai/api/public/x402/off_x2jkqqwlaxndsttu?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"The token's contract address on Base (0x and 40 hex digits)."},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"The holder: a Base address (0x and 40 hex digits)."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PHzZeqRkefwubE7EYPavD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an ERC-20 token balance for a given wallet address on the Base blockchain, including the token's symbol and decimals.","exampleAgentPrompt":"What's the USDC balance for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base — give me the amount with the token's symbol and decimals so I can display it correctly.","exampleUseCases":[{"title":"DeFi portfolio balance tracker","prompt":"How many tokens does wallet 0xAbC1234567890abcdef1234567890abcdef123456 hold for the USDC contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base? Include the decimals so I can format the amount properly."},{"title":"Airdrop eligibility verification","prompt":"Before I process this airdrop, check whether address 0x1234567890abcdef1234567890abcdef12345678 holds any of the governance token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base and tell me the balance with its symbol."},{"title":"Automated wallet monitoring alert","prompt":"Check the current balance of the token at contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 for my wallet 0xdead000000000000000042069420694206942069 on Base — I need the raw amount and decimals to see if it's dropped below my threshold."}],"resultDescription":"Returns the token balance for the specified address as a raw or formatted amount, along with the token's symbol (e.g. USDC) and decimals (e.g. 6), enabling correct display and computation of human-readable balances.","failureModes":["Invalid or malformed address (not 0x + 40 hex chars) returns a validation error","Token contract address does not exist on Base, returning zero or error","Address has no balance for the token (returns 0)","Network/RPC issues causing a timeout or unavailable response","Rate limiting or payment failure when x402 payment is not settled"],"whenToPreferThis":"Use this endpoint when you need onchain ERC-20 token balance data specifically on the Base network, with token metadata (symbol and decimals) included in a single call, rather than querying a raw RPC node or indexer separately.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:40:55.504Z","isFirstParty":false,"canonicalSlug":"centralcity-ai-erc-20-token-balance-lookup-base-97da77f4"}