{"uid":"cap_XqNmhvOByyUTDV_jGjC4d","slug":"erc20-token-balance-lookup-766b6350","name":"ERC20 Token Balance Lookup","description":"Use when you need the current ERC20 token balance of a wallet on Base, Ethereum, Arbitrum, Optimism or Polygon, fetched live via balanceOf eth_call. Returns raw integer balance and a decimal-adjusted amount.","url":"https://biosfera.46-62-215-147.sslip.io/o/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","required":["chain","token","wallet"],"properties":{"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ERC20 contract address"},"wallet":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"wallet address to check"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fmGjmB9Lg0oON4esjeP3y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the live ERC20 token balance of a wallet address on Base, Ethereum, Arbitrum, Optimism, or Polygon, returning both raw integer and decimal-adjusted amounts.","exampleAgentPrompt":"What's the current USDC balance (contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) of wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum?","exampleUseCases":[{"title":"DeFi portfolio token balance check","prompt":"Check how many WETH tokens (contract 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) the wallet 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B holds on Ethereum right now."},{"title":"Airdrop eligibility verification","prompt":"Can you look up whether wallet 0x1234567890abcdef1234567890abcdef12345678 has any of the token at contract 0xabcdef1234567890abcdef1234567890abcdef12 on Arbitrum, and if so how much in human-readable form?"},{"title":"Automated treasury monitoring","prompt":"Fetch the current USDC balance (contract 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174) for our treasury wallet 0xDeaDbeefdEAdbeefdEadbEEFdeadbeEFdEaDbeeF on Polygon so I can see if it needs topping up."}],"resultDescription":"Returns the raw integer balance (as returned by the ERC20 balanceOf eth_call) and a human-readable decimal-adjusted amount for the specified wallet and token on the requested chain.","failureModes":["Invalid wallet or token address format (must be 0x-prefixed 40 hex character address)","Unsupported chain name provided (must be base, ethereum, arbitrum, optimism, or polygon)","Token contract address is not a valid ERC20 contract on the specified chain","RPC or network timeout when querying the chain","Payment failure or insufficient USDC balance for the $0.002 per-call fee"],"whenToPreferThis":"Use this endpoint when you need a live, on-chain ERC20 token balance for any specific wallet on the five supported EVM chains (Base, Ethereum, Arbitrum, Optimism, Polygon). It is preferable when you need both raw integer and decimal-adjusted balance in a single call, or when you are already working within the x402 micropayment ecosystem. For native ETH/USDC balance on Base specifically, a sibling endpoint may be more appropriate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T15:26:00.112Z","isFirstParty":false,"canonicalSlug":"erc20-token-balance-lookup-766b6350"}