{"uid":"cap_fR8w4FfFBbUhxIOs98Zlq","slug":"erc-20-token-balance-lookup-base-chain-b78e6331","name":"ERC-20 Token Balance Lookup (Base Chain)","description":"Real-time airfare intelligence for AI travel-booking agents: flight price-drop prediction, fare-fraud and deal-legitimacy verification, and verified booking links for any route and date. Pay-per-call in USDC on Base. No API key.","url":"https://tripguard-fare-intel.onrender.com/chain/erc20-balance?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"token":{"type":"string","description":"ERC-20 contract. Defaults to USDC on Base."},"address":{"type":"string","description":"Account to read."}}},"responseSchema":{"type":"json","example":{"raw":"4111000","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"4.111","address":"0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE","decimals":6}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.12","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.12/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gS4BPUh7t_QPEX_o6C10_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.12","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 wallet address on Base, defaulting to USDC.","exampleAgentPrompt":"What's the current USDC balance of the wallet 0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE on Base? I need the human-readable amount with decimals.","exampleUseCases":[{"title":"Pre-payment funding check","prompt":"Before I send that payment, check how much USDC is sitting in wallet 0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE on Base so I know if we have enough."},{"title":"Agent wallet balance monitoring","prompt":"Check the USDC balance on Base for my agent's wallet at 0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE — I want to know if it's running low."},{"title":"Custom ERC-20 token balance lookup","prompt":"Look up the balance of the token at contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 for address 0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE on Base and give me the formatted amount."}],"resultDescription":"Returns a JSON object with the wallet's raw token balance (integer string), human-readable formatted amount (e.g. '4.111'), the token contract address, the queried wallet address, and the token's decimal precision.","failureModes":["Invalid or malformed wallet address returns an error or null balance","Invalid ERC-20 contract address causes a failed contract call","Network issues with Base RPC result in a timeout or 500 error","Address with zero balance returns '0' — not an error but may be misinterpreted","Non-ERC-20 contract address causes unexpected response or revert"],"whenToPreferThis":"Use this endpoint when you need to verify an on-chain ERC-20 (especially USDC) balance on the Base L2 network before executing a payment, funding check, or eligibility validation. Prefer this over Ethereum mainnet balance checkers when operating within the Base ecosystem or x402 payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:31:37.609Z","isFirstParty":false,"canonicalSlug":"erc-20-token-balance-lookup-base-chain-b78e6331"}