{"uid":"cap_BOAmquF9yd637YEWqlu0y","slug":"ethereum-erc-20-balance-balanceof-7d8d4168","name":"Ethereum ERC-20 Balance (balanceOf)","description":"","url":"https://api.arysphere.com/v1/ventures/x402_chain_reads_v1/eth_erc20_balanceof?utm_source=zero.xyz","method":"POST","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","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ERC-20 contract, 0x + 40 hex"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"holder, 0x + 40 hex"}}}},"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_iVoKSNFZ8xHWTsjDwBUhI","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 of a holder address on Ethereum mainnet by calling balanceOf on the specified contract.","exampleAgentPrompt":"What's the current ERC-20 token balance for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 holding the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum mainnet?","exampleUseCases":[{"title":"DeFi portfolio token check","prompt":"How many USDC tokens does the wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 currently hold on Ethereum mainnet? The USDC contract is 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48."},{"title":"Airdrop eligibility verification","prompt":"Can you check whether the address 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B holds any tokens for the ERC-20 contract at 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 on Ethereum mainnet?"},{"title":"Smart contract token gate check","prompt":"Before granting access, verify that the user wallet 0x742d35Cc6634C0532925a3b844Bc454e4438f44e holds at least some of the governance token at contract 0x6B175474E89094C44Da98b954EedeAC495271d0F on Ethereum."}],"resultDescription":"Returns the raw ERC-20 balanceOf value for the specified holder address against the given token contract on Ethereum mainnet, reflecting the live on-chain balance at the time of the call.","failureModes":["Invalid or malformed token address (not matching 0x + 40 hex) returns a validation error","Invalid or malformed holder address returns a validation error","Contract address is not an ERC-20 contract — balanceOf call may revert or return unexpected data","Ethereum node unavailability or network congestion may cause timeouts","Payment failure (x402) if USDC balance is insufficient for the $0.002 fee"],"whenToPreferThis":"Choose this endpoint when you need a live, real-time balanceOf read for any ERC-20 token on Ethereum mainnet and want a simple paid API without managing your own RPC node. Prefer it over generic Ethereum node providers when you want per-call micropayment billing via x402 and don't need batch reads or event log history.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T08:26:00.228Z","isFirstParty":false,"canonicalSlug":"ethereum-erc-20-balance-balanceof-32307ed8"}