{"uid":"cap_EQUzTdDlQvNM1-2LYS7BP","slug":"ethereum-onchain-balance-checker-a1ef866f","name":"Ethereum Onchain Balance Checker","description":"Pay-per-call data for AI agents, paid in USDC on Base with x402: token risk checks (rug check) on Base, Ethereum, Arbitrum, Optimism, Polygon and Solana, onchain reads (balances, transactions, gas, contracts, NFTs, whale trades, new pools, ENS and Basenames), ECB exchange rates, and Canadian sales tax and business days.","url":"https://ca-tax-api-mainnet.lxtap.workers.dev/eth/balances?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":["address"],"properties":{"tokens":{"type":"string","pattern":"^(0x[0-9a-fA-F]{40})(,0x[0-9a-fA-F]{40}){0,19}$","description":"Comma-separated ERC-20 contract addresses on Ethereum, up to 20"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet address on Ethereum"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"chain":"eth","tokens":[{"raw":"37192124","token":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","symbol":"USDC","balance":"37.192124","decimals":6},{"raw":"116800000000000","token":"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984","symbol":"UNI","balance":"0.0001168","decimals":18}],"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","nativeSymbol":"ETH","nativeBalance":"5.773252986299759339"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QVdozGTr_aQV7cPpCo6HB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 balance of an Ethereum wallet plus balances of up to 20 specified ERC-20 tokens, formatted with each token's symbol and decimals, read live from Ethereum mainnet.","exampleAgentPrompt":"What's the current ETH balance and USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) and USDT (0xdAC17F958D2ee523a2206206994597C13D831ec7) balance for the Ethereum wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?","exampleUseCases":[{"title":"Portfolio snapshot for a wallet","prompt":"Can you check the ETH balance and the balances of DAI (0x6B175474E89094C44Da98b954EedeAC495271d0F) and WETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) for the Ethereum address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?"},{"title":"Pre-trade liquidity check","prompt":"Before I make a swap, can you tell me how much ETH and USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) the wallet 0xAbCd1234567890abcdef1234567890abcdef1234 currently holds on Ethereum mainnet?"},{"title":"DeFi position monitoring","prompt":"I want to monitor this Ethereum wallet — can you pull the live balances for ETH plus these three tokens: LINK at 0x514910771AF9Ca656af840dff83E8264EcF986CA, UNI at 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984, and AAVE at 0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9 for address 0x3f5CE5FBFe3E9af3971dD833D26bA9b5C936f0bE?"}],"resultDescription":"A structured response containing the wallet's native ETH balance and, for each supplied ERC-20 contract address, the token symbol, decimal precision, and formatted balance — all read live from Ethereum mainnet.","failureModes":["Invalid wallet address format (not a valid 0x hex address) — request rejected","Invalid ERC-20 contract address in the tokens list — may return error or zero balance for that token","More than 20 ERC-20 addresses supplied — schema validation failure","Contract address supplied is not an ERC-20 token — may return error or null data","Network or RPC node unavailability — service may time out or return 5xx","Wallet has no balance — returns zero values rather than an error"],"whenToPreferThis":"Use this endpoint when you need live, formatted ETH and multi-token ERC-20 balances for a single Ethereum mainnet address in one call. Prefer it over generic block explorer APIs when you need decimals and symbols pre-formatted and want to check up to 20 tokens simultaneously. Not suitable for historical balances, Ethereum testnets, or non-Ethereum chains (use the sibling OP Mainnet endpoint for that chain).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:38:27.460Z","isFirstParty":false,"canonicalSlug":"ethereum-onchain-balance-checker-a1ef866f"}