{"uid":"cap_hku4kIuK9qnThHrYs5y2O","slug":"erc-20-token-balance-lookup-932aee8e","name":"ERC-20 Token Balance Lookup","description":"Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.","url":"https://x402-gateway-production-1f21.up.railway.app/chain/erc20-balance?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","bodyType","body"],"properties":{"body":{"type":"object","required":["address","contract"],"properties":{"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"network":{"enum":["base","ethereum"],"type":"string","default":"base"},"contract":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"ready"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_04RhmXBr0wUwpjyQ8mx_5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the ERC-20 token balance for a given wallet address and contract on Base or Ethereum networks.","exampleAgentPrompt":"Check the ERC-20 token balance for wallet address 0xAbCd1234... using contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on the Base network.","exampleUseCases":[{"title":"DeFi portfolio token balance check","prompt":"What is the USDC balance for wallet 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe on the Base network? The USDC contract is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913."},{"title":"Airdrop eligibility verification","prompt":"Can you check if the wallet 0x1234567890abcdef1234567890abcdef12345678 holds any tokens from contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum?"},{"title":"On-chain treasury monitoring","prompt":"Look up the current token balance of our treasury wallet 0xDeAdBeEf00000000000000000000000000000000 for our governance token at contract 0x6B175474E89094C44Da98b954EedeAC495271d0F on Ethereum."}],"resultDescription":"Returns a JSON object with a status field (e.g. 'ready') and the ERC-20 token balance for the specified wallet and contract address on the requested network.","failureModes":["Invalid wallet address format (must match 0x followed by 40 hex characters)","Invalid contract address format (same pattern required)","Unsupported network (only 'base' and 'ethereum' accepted)","Payment failure or insufficient USDC for x402 toll","Contract address is not a valid ERC-20 token","Network RPC unavailability causing timeout"],"whenToPreferThis":"Choose this endpoint when you need a machine-payable, on-demand ERC-20 balance lookup for Base or Ethereum without setting up your own RPC node or Web3 provider. Ideal for AI agents that need lightweight, pay-per-call token balance queries without managing API keys or subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:45:07.271Z","isFirstParty":false,"canonicalSlug":"erc-20-token-balance-lookup-57bb52d8"}