{"uid":"cap_G2hoQ-pdfG0XnTUStV2St","slug":"agentstoolshub-erc-20-token-balance-lookup-353711a8","name":"AgentsToolsHub ERC-20 Token Balance Lookup","description":"Read an ERC-20 token balance for any wallet on Base or Ethereum via public RPC eth_call — no key, no indexer. Returns the raw balance, human-readable amount (decimals applied) and token symbol. Use this when an agent needs to any token balance for any wallet, via public RPC.","url":"https://agentstoolshub.com/api/v1/crypto/token-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":["token","holder"],"properties":{"chain":{"enum":["base","ethereum"],"type":"string","description":"Chain"},"token":{"type":"string","description":"Token contract"},"holder":{"type":"string","description":"Holder address"}}}},"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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gYs9Y27rWEoloIIZSY_EI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 any wallet address on Base or Ethereum using public RPC eth_call, no API key required.","exampleAgentPrompt":"What's the USDC balance for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base? Use the token contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.","exampleUseCases":[{"title":"DeFi portfolio snapshot check","prompt":"Check how much USDC the wallet 0xAbCd1234...5678 holds on Ethereum — the USDC contract is 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48."},{"title":"Verify token airdrop receipt","prompt":"Did wallet 0x1234abcd...ef56 actually receive the airdrop? Check the balance of token contract 0xTokenAddress on Base for that holder."},{"title":"Monitor treasury wallet token holdings","prompt":"What's the current WETH balance of our treasury wallet 0xTreasury...0001 on Ethereum? The WETH contract is 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2."}],"resultDescription":"Returns the wallet's raw token balance (as a big integer), the human-readable amount with decimals applied, and the token symbol — all resolved via public RPC eth_call without requiring an API key or indexer.","failureModes":["Invalid or non-checksummed token contract address returns an error","Invalid holder address format causes a bad request response","Token contract address is not an ERC-20 contract, resulting in a failed eth_call","Unsupported chain value (anything other than 'base' or 'ethereum') returns a validation error","Public RPC node temporarily unavailable or rate-limited causing timeout or 503","Missing required query parameters (token or holder) returns 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need a quick, keyless ERC-20 token balance lookup on Base or Ethereum without setting up an indexer or managing API credentials. It's ideal for agents that need one-off balance checks, portfolio snapshots, or on-chain verification tasks without the overhead of a full blockchain data provider. Prefer alternatives (e.g. Alchemy, Moralis) when you need historical balances, batch multi-token lookups, or support for chains other than Base and Ethereum.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:39:30.627Z","isFirstParty":false,"canonicalSlug":"agentstoolshub-erc-20-token-balance-lookup-353711a8"}