{"uid":"cap_uSQwMMusL_0zolUhzmDAf","slug":"agentutility-token-balance-lookup-389335de","name":"AgentUtility Token Balance Lookup","description":"Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.","url":"https://x402.agentutility.ai/token-balance","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":{"required":["token","wallet"],"properties":{"block":{"description":"'latest' default, or hex/decimal block number."},"chain":{"description":"Chain id or slug. Default 'base'; also ethereum, arbitrum, optimism, polygon, bsc, avalanche."},"token":{"type":"string","description":"ERC-20 contract address (0x...)."},"wallet":{"type":"string","description":"Wallet address to query (0x...)."}}},"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","properties":{"chain":{"type":"string"},"token":{"type":"string"},"wallet":{"type":"string"},"balance":{"type":"string"},"balance_raw":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"chain":"base","token":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","wallet":"0x8f5cb67b49555e614892b7233cfddebfb746e531","balance":"1234.56","balance_raw":"1234560000"}},"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_plRWkBQBYZgdoQEluFUqW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the token balance of a wallet address for a specific ERC-20 token on a given chain","exampleAgentPrompt":"What's the current USDC balance (token 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913) for wallet 0x8f5cb67b49555e614892b7233cfddebfb746e531 on Base?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the chain identifier, token contract address, queried wallet address, human-readable balance (e.g. '1234.56'), and the raw integer balance in smallest token units (e.g. '1234560000').","failureModes":["Invalid wallet address format — malformed hex address returns an error","Unsupported chain — chain not available on this endpoint","Invalid token contract address — token not found or non-ERC-20 contract","Network or RPC errors — upstream blockchain node unavailable","Insufficient x402 payment — call rejected if USDC payment of $0.005 is not attached"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call on-chain ERC-20 token balance lookup without managing your own RPC infrastructure. Ideal for AI agents that need to verify wallet holdings, check USDC balances before a payment flow, or enrich user data with on-chain token balances — especially when operating on Base and paying via x402/USDC microtransactions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:54:36.466Z","isFirstParty":false}