{"uid":"cap_Xi5KOgoE7efIQR_auR-9u","slug":"ethereum-erc-20-token-balance-lookup-345b5973","name":"Ethereum ERC-20 Token Balance Lookup","description":"Call when an agent needs an Ethereum mainnet ERC-20 token balance_raw and human balance for token and owner. Example token is Circle USDC. decimals() scales the human balance. Read-only on eip155:1. No spend. Send JSON {\"token\":\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\"owner\":\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\"}. Exact $0.001 USDC on Base. Try unpaid POST /v1/sandbox/eth-erc20-balance first.","url":"https://agentshelf.syntexa.ch/v1/eth-erc20-balance?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"owner":{"type":"string","examples":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"],"description":"Wallet whose token balance is read on Ethereum mainnet. Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045. Returns balance_raw and a human balance from decimals()."},"token":{"type":"string","examples":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],"description":"ERC-20 contract on Ethereum mainnet. Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (Circle USDC). EIP-55 or all one case. Paired with owner."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WFrY4vmLh2YYrBOIsOz6z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the raw and human-readable ERC-20 token balance for a given wallet address on Ethereum mainnet","exampleAgentPrompt":"What's the current USDC balance for the Ethereum wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045? Use the USDC contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and give me both the raw and human-readable amounts.","exampleUseCases":[{"title":"Portfolio balance check for DeFi wallet","prompt":"Check how much USDC (contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 holds on Ethereum mainnet right now, and show me the human-readable amount."},{"title":"Verify token receipt after on-chain transfer","prompt":"Did the transfer go through? Check if wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 now has a non-zero balance of LINK tokens at contract 0x514910771AF9Ca656af840dff83E8264EcF986CA on Ethereum mainnet."},{"title":"Monitoring whale wallet token holdings","prompt":"What's the current DAI balance (contract 0x6B175474E89094C44Da98b954EedeAC495271d0F) for the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum? Give me both the raw balance and the scaled human amount."}],"resultDescription":"Returns a JSON object containing balance_raw (the integer token balance as stored on-chain, unscaled) and a human-readable balance derived by dividing balance_raw by 10^decimals(), where decimals() is read from the ERC-20 contract. Both values correspond to the specified owner wallet on Ethereum mainnet (eip155:1).","failureModes":["Invalid token contract address (not a valid ERC-20 contract) — may return error or zero balance","Invalid owner address format — request rejected with validation error","Token contract does not implement decimals() — human balance computation fails","Network or RPC unavailability for Ethereum mainnet — service error response","Payment not provided or insufficient — HTTP 402 returned; use sandbox endpoint for unpaid testing"],"whenToPreferThis":"Choose this endpoint when you need on-chain ERC-20 token balance data for any wallet on Ethereum mainnet (eip155:1), especially when you need both the raw and human-scaled balance in a single call. Prefer the sandbox endpoint (/v1/sandbox/eth-erc20-balance) for testing without payment. Use this over a general blockchain RPC call when you want a simple JSON API abstraction without managing your own Web3 connection. Best suited for read-only balance lookups with no state mutation needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T18:44:16.929Z","isFirstParty":false,"canonicalSlug":"ethereum-erc-20-token-balance-lookup-345b5973"}