{"uid":"cap_gfLDFaER0vkA_zjtTLxeu","slug":"wallet-balance-eth-and-erc-20-tokens-d27c98a6","name":"Wallet Balance: ETH and ERC-20 Tokens","description":"Free APEX on X1, and free USDC plus APEX on Arc, three times a day. No gas, no sign-up. Plus a swap, a screener, APEX City and token checks.","url":"https://apexfaucet.xyz/api/x402/evm-wallet-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","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"enum":["ethereum","base","arc","bnb"],"type":"string","description":"Chain to read: ethereum, base, arc or bnb. Default ethereum."},"tokens":{"type":"string","description":"Optional: up to 20 ERC-20 addresses, comma separated. Default: the chain USDC."},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet to read."}}}}},"output":{"type":"object"}}},"responseSchema":{"type":"json","schema":{"type":"object","properties":{"ok":{"type":"boolean"},"data":{"type":"object"},"paid":{"type":"number"}}}},"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_LMXnOwkOSS5iqGKPob076","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 native ETH (or equivalent) balance plus ERC-20 token balances for a given wallet address on Ethereum, Base, Arc, or BNB Chain.","exampleAgentPrompt":"What's the ETH balance and USDC balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum right now?","exampleUseCases":[{"title":"Portfolio snapshot for DeFi dashboard","prompt":"Can you pull the ETH balance and USDC holdings for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base so I can see their current portfolio?"},{"title":"Multi-token balance check on BNB","prompt":"Check what BNB and token balances are sitting in 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on BNB Chain — I want to see the USDC balance specifically."},{"title":"Verify wallet holdings before trade","prompt":"Before I proceed, can you check the ETH balance and whether 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B is a contract address on Ethereum?"}],"resultDescription":"Returns a JSON object with ok status, the queried chain and block number, the wallet's native balance (e.g. ETH) as both a raw big-integer string and a human-readable decimal, an array of ERC-20 token balances each with symbol/decimals/raw/balance fields, the wallet address, block timestamp, whether the address is a smart contract, the account nonce, and the amount paid in USDC.","failureModes":["Invalid wallet address format (must match ^0x[0-9a-fA-F]{40}$) returns an error","Unsupported chain value returns an error — only 'ethereum', 'base', 'arc', 'bnb' are accepted","More than 20 ERC-20 token addresses provided may cause truncation or error","Payment failure (insufficient USDC balance for x402 micropayment) blocks the request","Unrecognized or non-existent token contract addresses may return zero balances silently","Network congestion or RPC downtime on the target chain may cause timeout errors"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost on-chain balance read for a single wallet across Ethereum, Base, Arc, or BNB Chain without running your own node. It supports up to 20 ERC-20 tokens per call in addition to the native balance, making it efficient for portfolio snapshots. Prefer it over generic blockchain explorers when you need machine-readable JSON output suitable for agent workflows and are happy to pay a $0.002 micropayment via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T14:03:13.641Z","isFirstParty":false,"canonicalSlug":"wallet-balance-eth-and-erc-20-tokens-d27c98a6"}