{"uid":"cap_jYh9AxXDQ5HC1tHMY_QGK","slug":"agent402-tools-wallet-balances-69393ef8","name":"agent402.tools Wallet Balances","description":"All token balances for any address in one call, from Coinbase's indexed data API - ERC-20 + native on EVM, SPL on Solana; no per-token contract calls, no RPC wrangling. Networks: base, ethereum, base-sepolia, solana, solana-devnet. Symbols/decimals populated for whitelisted tokens (USDC always included).","url":"https://agent402.tools/api/wallet-balances","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":{"address":{"type":"string","description":"Wallet address - EVM 0x… or Solana base58, matching the network"},"network":{"type":"string","description":"base (default) | ethereum | base-sepolia | solana | solana-devnet"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["address","network","balances","count"],"properties":{"count":{"type":"integer"},"address":{"type":"string"},"network":{"type":"string"},"balances":{"type":"array","items":{"type":"object","properties":{"raw":{"type":"string"},"name":{"type":"string"},"amount":{"type":"string"},"symbol":{"type":"string"},"contract":{"type":"string"},"decimals":{"type":"integer"}}}}}}}}}},"responseSchema":{"type":"json","example":{"count":1,"address":"0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0","network":"base","balances":[{"raw":"8655000","name":"USD Coin","amount":"8.655","symbol":"USDC","contract":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","decimals":6}]}},"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_CeA8TSc2f2TfWk3w1XXte","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":"Fetch all token balances (ERC-20, native, and SPL) for any EVM or Solana wallet address in a single API call using Coinbase's indexed data","exampleAgentPrompt":"What tokens does wallet 0x742d35Cc6634C0532925a3b8D4C9B7e8f2d4A1b9 hold on Base — show me all balances including ERC-20s and the native ETH?","exampleUseCases":null,"resultDescription":"A list of all token balances held by the specified wallet address on the given network, including token symbols, decimal-adjusted amounts, and both ERC-20/native tokens (EVM) or SPL tokens (Solana) — no need to call individual token contracts.","failureModes":["Invalid or malformed wallet address returns an error","Address format mismatch (e.g. EVM address on Solana network) causes failure","Unsupported network name returns an error","Rate limiting or payment failure (402) if x402 payment not properly handled","Network-specific downtime may cause intermittent failures"],"whenToPreferThis":"Use this endpoint when you need all token balances for a wallet in a single call without RPC node access or per-token contract calls. Ideal for portfolio aggregation, balance checks across EVM chains (Base, Ethereum, Base Sepolia) and Solana, leveraging Coinbase-indexed data for reliability and speed. Prefer this over direct RPC calls when simplicity, cost-effectiveness ($0.002/call), and multi-token aggregation matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:59:02.607Z","isFirstParty":false}