{"uid":"cap_ZDTILAclBuScF8KTCUxD2","slug":"coinlight-solana-spl-token-balances-dbe2ad57","name":"Coinlight Solana SPL Token Balances","description":"Coinlight charges USDC per API call with the x402 protocol on Solana and Base.","url":"https://coinlight-app.vercel.app/p/solana-token-balances?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"},"queryParams":{"type":"object","examples":[{"address":"HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM"}],"required":["address"],"properties":{"address":{"type":"string","description":"Solana wallet address (base58)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"endpoint":"Solana token balances"}},"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_MVwB7D4MVDoNEFdbyHiwN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns all non-zero SPL and Token-2022 token balances held by a Solana wallet address, including mint, amount, decimals, and token account details, read live from mainnet.","exampleAgentPrompt":"What SPL tokens does the Solana wallet HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM hold right now — give me all non-zero balances with mint addresses and amounts?","exampleUseCases":[{"title":"Portfolio snapshot for a Solana wallet","prompt":"Show me every token this Solana wallet holds right now: HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM — I need the mint address, amount, and decimals for each one."},{"title":"Pre-trade token eligibility check","prompt":"Before I send the swap transaction, check whether wallet 4Nd1m9PLkKNbW5nGqB7ZYQxGKT9B3YeP2DXs7R1uEqPz actually holds any of the token with mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v and how much."},{"title":"Whale portfolio surveillance","prompt":"List all SPL and Token-2022 tokens held by Solana address 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM so I can see if they're holding any suspicious meme coins or insider positions."}],"resultDescription":"A JSON response listing every non-zero SPL and Token-2022 token balance for the queried wallet, with each entry containing the mint address, raw token amount, decimal precision, and the associated token account address — sourced live from Solana mainnet.","failureModes":["Invalid or malformed base58 wallet address returns an error","Wallet with zero token balances returns an empty list","Network or RPC node downtime may cause timeouts","Very large wallets with hundreds of token accounts may have slower response times","Rate limiting or payment failure (x402) if USDC balance insufficient"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, real-time snapshot of all SPL and Token-2022 token holdings for a Solana wallet in one call. It is ideal when you need to enumerate the full token portfolio rather than checking a single specific token (use the USDC-specific endpoint for that). Prefer this over on-chain RPC calls when you want a clean, structured JSON response without setting up Solana RPC infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:06:30.576Z","isFirstParty":false,"canonicalSlug":"coinlight-solana-spl-token-balances-dbe2ad57"}