{"uid":"cap_r5KkOq809Bk4J3d_QDOM5","slug":"solana-spl-token-balances-by-wallet-c36920c3","name":"Solana SPL Token Balances by Wallet","description":"All SPL and Token-2022 token accounts of a wallet: non-zero balances sorted by raw amount (mint, token account, amount, decimals, ui), empty-account count (reclaimable rent), delegate. Up to 100 balances.","url":"https://mintintel.35-171-220-195.sslip.io/v1/sol/token-balances/:addr?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"},"pathParams":{"type":"object","required":["addr"],"properties":{"addr":{"type":"string","description":"base58 owner address"}},"additionalProperties":false},"queryParams":{"type":"object","properties":{},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["owner","tokenAccounts","balances"],"properties":{"owner":{"type":"string"},"balances":{"type":"array"},"tokenAccounts":{"type":"integer"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_StexU3tnx8Pi1_4m1Z61A","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns all SPL and Token-2022 token account balances for a given Solana wallet address, sorted by amount descending, including mint, decimals, UI amount, delegate, and empty-account count.","exampleAgentPrompt":"Show me all the SPL and Token-2022 token balances for the Solana wallet 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin — I want the balances sorted by amount and also want to know how many empty token accounts there are for potential rent reclaim.","exampleUseCases":[{"title":"Crypto portfolio snapshot for a wallet","prompt":"What SPL tokens does the Solana wallet DYw8jCTfwHNRJhhmFcbXvVDTqWMEVFBX6ZKUmkdYZSKm hold right now? Give me all balances sorted from largest to smallest."},{"title":"Reclaimable rent audit for empty accounts","prompt":"I want to clean up the wallet 5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1 — how many empty token accounts does it have that I could close to reclaim rent?"},{"title":"DeFi agent token holdings check","prompt":"Before the swap, check all token balances for the wallet 7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs so I can see exactly what SPL tokens are available and their amounts."}],"resultDescription":"A JSON object containing the owner address, total token account count, an array of up to 100 non-zero token balance records (each with mint, token account address, raw amount, decimals, UI-formatted amount, and delegate if set), and the count of empty accounts eligible for rent reclaim.","failureModes":["Invalid base58 address returns an error or empty result","Wallet with no token accounts returns an empty balances array","Rate limiting or payment failure (x402) if USDC payment is not provided","Result capped at 100 balances — wallets with more than 100 token accounts will have truncated results","RPC node unavailability may cause transient errors"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, sorted snapshot of all SPL and Token-2022 token holdings for a Solana wallet in a single call, especially when you also need empty-account rent reclaim data or delegate information. Prefer it over on-chain RPC calls when you want a clean, pre-sorted JSON response without managing raw Solana RPC complexity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:15.986Z","isFirstParty":false,"canonicalSlug":"solana-spl-token-balances-by-wallet-c36920c3"}