{"uid":"cap_qtBtCCETkNDHlKO4b8DFD","slug":"erc-20-token-balance-48449a1f","name":"ERC-20 Token Balance","description":"Balance of any ERC-20 token (contract address, or USDC/USDT/DAI by symbol) for a wallet or ENS name on Ethereum, Base, Arbitrum, Optimism or Polygon: raw and decimal-adjusted amount, symbol and decimals; up to 20 tokens per call. Use before transfers, swaps or payments.","url":"https://bess-x402.onrender.com/v1/evm/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"type":"string","description":"ethereum, base, arbitrum, optimism or polygon"},"tokens":{"type":"string","description":"Comma-separated token addresses or USDC/USDT/DAI"},"address":{"type":"string","description":"Wallet address or ENS name"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.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_jhibNmUWquDWpIil48cPf","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":"Returns raw and decimal-adjusted ERC-20 token balances for a wallet address or ENS name across Ethereum, Base, Arbitrum, Optimism, and Polygon — up to 20 tokens per call.","exampleAgentPrompt":"Check how much USDC and DAI the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 holds on Ethereum and Base right now — I need the decimal-adjusted amounts before I send a transfer.","exampleUseCases":[{"title":"Pre-swap balance verification","prompt":"Before I swap tokens on Uniswap, can you check how much USDC and USDT vitalik.eth has on Ethereum so I know if he has enough to cover the trade?"},{"title":"Multi-chain portfolio snapshot","prompt":"Give me the USDC, USDT, and DAI balances for wallet 0xAbCd...1234 across Ethereum, Arbitrum, and Optimism all at once."},{"title":"Payment eligibility check","prompt":"I need to pay someone 500 USDC on Polygon — can you check if address 0x742d35Cc6634C0532925a3b8D4C9B7f6E3b1A2D3 actually has that much before I proceed?"}],"resultDescription":"Returns a list of token balance objects for each queried token, each containing: raw balance (integer string), decimal-adjusted human-readable balance, token symbol, token decimals, contract address, and the chain it was queried on.","failureModes":["Invalid or malformed wallet address returns an error","ENS name that cannot be resolved returns a resolution failure","Unsupported chain name returns a validation error","Token symbol not in the supported list (USDC/USDT/DAI) and no contract address provided returns an error","More than 20 tokens requested in a single call may be rejected","Payment failure via x402 protocol causes a 402 response and no data is returned","Network/RPC errors for a specific chain may cause partial or empty results"],"whenToPreferThis":"Use this endpoint when you need on-chain ERC-20 token balances for a specific wallet before executing a transfer, swap, or payment — especially when you need to check multiple tokens or multiple chains in a single call. It supports ENS name resolution and common stablecoin symbols (USDC/USDT/DAI) without needing to know the contract address. Prefer this over general blockchain explorers when you need programmatic, structured balance data with decimal adjustment included.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:32:11.371Z","isFirstParty":false,"canonicalSlug":"erc-20-token-balance-48449a1f"}