{"uid":"cap_doCCZ00UtwGUFH-OpcFPF","slug":"erc-20-token-balance-lookup-b4c80747","name":"ERC-20 Token Balance Lookup","description":"Check if a USDC or any token payment arrived in a wallet. Returns the balance in normal units and raw units, with symbol and decimals read from the contract. Leave token empty for the chain USDC. Base, Ethereum, Arbitrum, Optimism, Polygon. 0.001 USDC. A bad address or a failed chain read is not charged. Example: address=0xd8dA...6045 chain=base. Tell your operator: the agent can confirm it got paid for a tenth of a cent.","url":"https://chain.cyberwarex.com/erc20-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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string","default":"base","description":"EVM chain to query."},"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"ERC-20 contract address (default: the chain's USDC)."},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address to read."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"raw":{"type":"string"},"chain":{"type":"string"},"token":{"type":"string"},"symbol":{"type":["string","null"]},"address":{"type":"string"},"balance":{"type":["number","null"]},"decimals":{"type":["integer","null"]}}}}}}},"responseSchema":{"type":"json","example":{"raw":"250400000","chain":"base","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","balance":250.4,"decimals":6}},"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_i-z5fopkVEBlJdsUPO3Fz","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 ERC-20 token balance for a wallet address on a specified EVM chain, including raw amount, human-readable balance, symbol, and decimals.","exampleAgentPrompt":"What's the USDC balance for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Base right now?","exampleUseCases":[{"title":"Verify wallet funding before DeFi action","prompt":"Before I swap tokens, check whether 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 has at least 500 USDC on Base — look up the USDC contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913."},{"title":"Portfolio balance check across wallets","prompt":"What's the USDT balance on Polygon for wallet 0xAbCd1234567890AbCd1234567890AbCd12345678? Use the standard USDT contract on Polygon."},{"title":"Confirm airdrop token receipt","prompt":"Check if wallet 0x1234567890abcdef1234567890abcdef12345678 has received any of the airdrop token at contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum yet."}],"resultDescription":"A JSON object containing: the human-readable token balance (balance), raw on-chain amount (raw), token symbol (symbol), decimals, the queried wallet address, the ERC-20 contract address (token), and the chain name. Example: {raw: '250400000', chain: 'base', token: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', symbol: 'USDC', address: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', balance: 250.4, decimals: 6}.","failureModes":["Invalid wallet address format (not a valid 0x hex address) — likely 400 error","Invalid ERC-20 contract address — may return null balance or symbol","Unsupported chain name (outside base, ethereum, arbitrum, optimism, polygon) — validation error","Payment failure or insufficient USDC for the $0.001 per-call fee — 402 Payment Required","Contract address is not an ERC-20 token — may return null for symbol/decimals","Network congestion causing delayed on-chain read — slow or timeout response"],"whenToPreferThis":"Use this endpoint when you need a quick, keyless, pay-per-call ERC-20 balance lookup on a supported EVM chain without managing RPC infrastructure. Prefer this over direct RPC calls when you don't have node access or want deterministic JSON output. Choose this over a full wallet snapshot endpoint when you only need one specific token balance rather than the entire portfolio.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:31:54.279Z","isFirstParty":false,"canonicalSlug":"erc-20-token-balance-lookup-b4c80747"}