{"uid":"cap_5VOvdebPzfyaQ5VUOKMQI","slug":"erc-20-token-balance-lookup-07602cd5","name":"ERC-20 Token Balance Lookup","description":"Live ERC-20 token balance held by a wallet: calls `balanceOf(address)` on the token contract and returns the raw balance plus a decimal-formatted amount (using the token's own decimals) with its symbol. Distinct from `address` (native ETH balance) and `token` (contract metadata). Reads live on-chain data with automatic endpoint fallback.","url":"https://chain.openverbs.com/v1/token-balance","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"chain":{"enum":["ethereum","base","arbitrum","optimism","polygon"],"type":"string","description":"EVM chain to query. One of: ethereum, base, arbitrum, optimism, polygon. Default \"ethereum\"."},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ERC-20 token contract address."},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Holder wallet address."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"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":"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_8C161OKjCJB9vaxcnl6NK","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 the live ERC-20 token balance (raw and decimal-formatted) held by a wallet address on a specified EVM chain","exampleAgentPrompt":"What's the current USDC balance (contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum?","exampleUseCases":[{"title":"DeFi portfolio token tracking","prompt":"Check how much USDC the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 holds on Base — the USDC contract there is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913."},{"title":"Token-gating eligibility check","prompt":"Does wallet 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B hold at least some LINK tokens on Ethereum? The LINK contract is 0x514910771AF9Ca656af840dff83E8264EcF986CA — grab their current balance."},{"title":"Cross-chain USDT balance comparison","prompt":"What's the USDT balance of wallet 0x3f5CE5FBFe3E9af3971dD833D26bA9b5C936f0bE on Polygon? USDT contract there is 0xc2132D05D31c914a87C6611C10748AEb04B58e8F."}],"resultDescription":"Returns the wallet's raw token balance (as an integer in the token's smallest unit) plus a human-readable decimal-formatted amount using the token contract's own decimals, along with the token symbol. Data is read live from the on-chain contract with automatic RPC endpoint fallback for reliability.","failureModes":["Invalid wallet address format (not a valid 0x hex address) returns a validation error","Invalid token contract address returns an error or zero balance if the contract does not implement ERC-20","Unsupported chain name returns a validation error — must be one of ethereum, base, arbitrum, optimism, polygon","Contract read failure due to RPC outage across all fallback endpoints returns a service error","Non-ERC-20 contract address (e.g. EOA or non-token contract) may return zero or an error"],"whenToPreferThis":"Use this endpoint when you need the live, formatted ERC-20 token balance (not native ETH) for a specific wallet on an EVM chain. Prefer this over the native address balance endpoint when dealing with tokens like USDC, USDT, WETH, LINK, DAI, etc. Use the sibling token-metadata endpoint if you only need contract info (symbol, decimals, supply) without a specific holder's balance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:41:21.643Z","isFirstParty":false}