get Token Accounts By Owners
One token’s balance across up to 250 wallets, in a single call.
1 credit a call. Free plan includes 500,000 credits a month.
What it returns
Pass a list of wallets and a mint. Each wallet comes back with its token account, raw and UI amount, decimals and the slot of its last update.
A wallet with no account for the mint gets a zero row, not an error, so the reply lines up with your list.
What you can build
Top holder refresh
Update a token’s top holders’ balances in one call.
Who still holds
Check whether first buyers still hold the token.
Leaderboards
Refresh balances for a list of tracked traders.
Eligibility checks
Check an allowlist against a token balance.
Call it
Replace the URL with your endpoint from the dashboard.
getTokenAccountsByOwners1 credit
Request
curl "$SOLANA_RPC_URL" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "getTokenAccountsByOwners", "params": [ [ "Bs88sAYgQehsK2fkzn6fxB6FgSJJPbxzAmcfQ3Eb6TWC", "BMLE4H5XLDS8WwCjEXCL9tmF4ZSNFnd5jmw2Xm9uG4To" ], "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" ] }'
Response shape
{
"context": {
"apiVersion": "3.0.0",
"slot": 378770899
},
"value": [
{
"owner": "Bs88sAYgQehsK2fkzn6fxB6FgSJJPbxzAmcfQ3Eb6TWC",
"account": "EzewvqfZPbroCmuRiKFj3KoHQ1XkuDc8qJ9MYCTzcJUY",
"amount": "540966303",
"decimals": 6,
"uiAmount": 540.966303,
"uiAmountString": "540.966303",
"slot": 370336402
}
]
}Parameters
- ownersstring[]
- 1 to 250 wallets. First positional parameter.
- mintstring
- The token. Second positional parameter.
Good to know
- A wallet with several accounts for the mint gets one row per account.
Start calling getTokenAccountsByOwners.
Free to start. Paid plans from €39 a month.