{"uid":"cap_DClXpHoUylZEvMuFc83pQ","slug":"coinlight-solana-usdc-balance-54495cbd","name":"Coinlight Solana USDC Balance","description":"Coinlight charges USDC per API call with the x402 protocol on Solana and Base.","url":"https://coinlight-app.vercel.app/p/solana-usdc-balance?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 USDC balance"}},"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_xEerdnRtwKtPWsJn43v8a","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 the total USDC balance of a Solana wallet by summing all associated USDC token accounts","exampleAgentPrompt":"What's the total USDC balance for Solana wallet HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM? I want to make sure it has enough to cover the payment before I proceed.","exampleUseCases":[{"title":"Pre-payment USDC sufficiency check","prompt":"Before sending the invoice, check how much USDC is in the Solana wallet HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM so I know if they can cover the 50 USDC charge."},{"title":"Agent wallet treasury monitoring","prompt":"How much USDC does my agent's Solana wallet 9xW8kpZ3mNqFdLrT5aVbYcHjUeXsRwA2KlP7nBvQgEm hold right now? I want to top it up if it's below 10 USDC."},{"title":"Verify counterparty funds before deal","prompt":"Can you check the USDC balance on Solana address 4rFjKpQmVnL8dTsWxBhYeZoNaUgCvXwP2mRk9jHsAqD before I agree to the trade — I need to confirm they actually have the funds."}],"resultDescription":"A JSON response containing the total USDC balance (summed across all USDC token accounts) for the specified Solana wallet address, labeled under the endpoint name.","failureModes":["Invalid or malformed base58 wallet address returns an error","Wallet address with no USDC token accounts returns zero balance","Network or RPC node timeouts may cause failed lookups","Missing required 'address' query parameter returns a validation error","Rate limiting or payment failure if x402 payment not included"],"whenToPreferThis":"Use this endpoint when you need a quick, single-call lookup of a Solana wallet's total USDC balance — especially before initiating or accepting a USDC payment on Solana. Prefer this over general Solana RPC calls when you want a clean, aggregated balance that sums across all USDC token accounts without writing custom logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:03:04.080Z","isFirstParty":false,"canonicalSlug":"coinlight-solana-usdc-balance-54495cbd"}