
POST
Retrieve SOL balances — and optionally SPL token balances — for multiple wallets at once.
/wallets/balanceOnly public keys are needed. This endpoint never requires private keys.
Quick Start
Parameters
| Parameter | Type | Description |
|---|---|---|
publicKeys | string[] | Array of wallet public keys to query. Between 1 and 100 addresses |
tokenAddress | string | (Optional) Solana address of an SPL token. When provided, each wallet’s token balance is included alongside SOL |
Two Query Modes
You can check SOL balances alone, or include a token address to get both SOL and token balances in the same request.- SOL only
- SOL + Token
Pass an array of wallet addresses. The response includes the SOL balance for each wallet and a total across all wallets.
Response
- SOL only (200)
- SOL + Token (200)
Errors
| Code | Message | Cause |
|---|---|---|
NO_WALLETS | No wallets provided | publicKeys array is empty or missing |
INVALID_WALLET | Invalid wallet address | One or more public keys are invalid |
INVALID_TOKEN | Invalid token address | tokenAddress is not a valid Solana address |
TOO_MANY_WALLETS | Maximum 100 wallets per request | Array exceeds 100 entries |
RATE_LIMIT | Rate limit exceeded | Too many requests — see Rate Limits |
INTERNAL_ERROR | Internal server error | Retry or contact support |
Notes
- This is a read-only endpoint — no transactions are sent and no fees are charged
- Non-existent or empty wallets return
sol: 0with no error - Token amounts are returned in raw units — divide by
10^decimalsto get the human-readable value
What’s Next?
Create Wallets
Generate new Solana wallets in bulk
Initialize Wallets
Prepare wallets for optimal trading speed
Distribute SOL
Fund your wallets with SOL
Withdraw SOL
Collect SOL from multiple wallets