{"uid":"cap_67K0_QFP7j7zNARj5Cye-","slug":"erc-20-token-balance-lookup-373f04fa","name":"ERC-20 Token Balance Lookup","description":"Web page to clean Markdown for AI agents. Pay per call with x402 (USDC on Base).","url":"https://138-197-15-135.sslip.io/v1/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":["queryParams"],"properties":{"queryParams":{"type":"object","required":["wallet"],"properties":{"chain":{"type":"string","description":"Chain: base (default), ethereum, arbitrum, optimism"},"token":{"type":"string","description":"Token contract (default USDC)"},"wallet":{"type":"string","description":"Wallet address"}}}}}}},"responseSchema":{"type":"json","example":{"raw":"1500000","chain":"base","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","wallet":"0x…","balance":"1.5","decimals":6}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eKMOIXSQ4DJPzdw5cdQlQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","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 a specified EVM chain (Base, Ethereum, Arbitrum, Optimism), defaulting to USDC on Base.","exampleAgentPrompt":"What's the USDC balance for wallet 0xAbCd1234...5678 on Base right now?","exampleUseCases":[{"title":"Pre-payment balance verification","prompt":"Before I send that x402 payment, check whether wallet 0xAbCd1234...5678 has at least 5 USDC available on Base."},{"title":"Multi-chain portfolio snapshot","prompt":"Look up the USDC balance for 0xDead...Beef on Ethereum, Arbitrum, and Optimism so I can see where my funds are spread."},{"title":"Custom ERC-20 token audit","prompt":"Check the balance of the token at contract 0x6B175474E89094C44Da98b954EedeAC495271d0F for wallet 0x1234...abcd on Ethereum — I need the human-readable amount and the raw integer."}],"resultDescription":"Returns a JSON object containing: the human-readable token balance (e.g. '1.5'), the raw integer balance (e.g. '1500000'), the token's decimal precision, the resolved token contract address, the chain name, and the queried wallet address.","failureModes":["Invalid or malformed wallet address returns an error","Unsupported chain identifier returns an error","Invalid token contract address returns an error or zero balance","Network timeouts from on-chain RPC calls may cause latency or failure","Payment failure (x402) if insufficient USDC to cover the $0.0025 call fee"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call on-chain ERC-20 balance check without setting up your own RPC node or blockchain SDK. It is ideal for AI agent workflows that need to verify wallet balances before executing payments, gating actions on sufficient funds, or building DeFi dashboards, particularly on Base, Ethereum, Arbitrum, or Optimism.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:30:14.303Z","isFirstParty":false,"canonicalSlug":"erc-20-token-balance-lookup-373f04fa"}