get Token Accounts With Cursor
Every holder of a token, largest balance first, page by page.
1 credit a call. Free plan includes 500,000 credits a month.
What it returns
Pass a mint and a page size. Each page lists token accounts with owner, amount and decimals, sorted by balance, plus a cursor for the next page.
The first page is the top holders, so a top-50 table is one call; keep paging for a full holder export.
What you can build
Top holders tables
Show a token’s top 50 holders with one call.
Concentration
Work out what share of supply the top 10 hold.
Snapshots
Export every holder for an airdrop or a migration.
Whale tracking
Watch the largest holders of a token.
Call it
Replace the URL with your endpoint from the dashboard.
getTokenAccountsWithCursor1 credit
Request
curl "$SOLANA_RPC_URL" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "getTokenAccountsWithCursor", "params": [ "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", { "limit": 50 } ] }'
Response shape
{
"context": {
"slot": "…"
},
"value": {
"accounts": [
{
"address": "…",
"owner": "…",
"amount": "…",
"decimals": 6
}
],
"hasMore": true,
"nextCursor": "…"
}
}Parameters
- mintstring
- The token. First positional parameter.
- limitnumber
- Holders a page.
- cursorstring
- The nextCursor from the previous page.
Good to know
- Empty accounts can appear at the end of the list; skip amount "0" if you only want holders.
Start calling getTokenAccountsWithCursor.
Free to start. Paid plans from €39 a month.