{"uid":"cap_axlkX3h-GGBhnczY_LwWr","slug":"erc-20-token-balance-on-base-c08f58d3","name":"ERC-20 Token Balance on 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_z3evcafxmbxi55n4?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_G6fpoGPgmZLSMZg7eDH3_","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 the ERC-20 token balance for a given address on the Base blockchain, along with the token's decimals and symbol.","exampleAgentPrompt":"What's the USDC balance (contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) for the Base wallet 0x742d35Cc6634C0532925a3b844Bc454e4438f44e? Also tell me the token's symbol and decimals.","exampleUseCases":[{"title":"DeFi portfolio balance check","prompt":"Can you tell me how many tokens the wallet 0x742d35Cc6634C0532925a3b844Bc454e4438f44e holds of the WETH contract at 0x4200000000000000000000000000000000000006 on Base, including the symbol and decimals?"},{"title":"Pre-transfer eligibility check","prompt":"Before I send tokens, can you check if address 0xAbC123... has any balance of the OP token at contract 0x4200000000000000000000000000000000000042 on Base?"},{"title":"Automated wallet monitoring alert","prompt":"Keep an eye on whether wallet 0xDEF456... still holds any of the token at contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base — tell me the balance, symbol, and decimals."}],"resultDescription":"Returns the token balance for the queried address (as a raw integer or decimal value), plus the token's symbol (e.g. 'USDC') and its decimal precision (e.g. 6), enabling calculation of the human-readable balance.","failureModes":["Invalid contract address format returns a validation error","Invalid holder address format returns a validation error","Token contract does not exist on Base returns null or zero balance","Network congestion may cause slow or failed RPC reads","Non-ERC-20 contract address may return unexpected results or errors"],"whenToPreferThis":"Use this endpoint when you need to check the balance of a specific ERC-20 token for a wallet on the Base blockchain, especially when you also need the token's symbol and decimal metadata in a single call. Prefer this over general blockchain APIs when targeting Base specifically and when cost-per-call matters for single-address lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:37:51.248Z","isFirstParty":false,"canonicalSlug":"erc-20-token-balance-on-base-c08f58d3"}