Skip to main content
POST
Walk every token account of a mint, largest balance first, with getTokenAccountsWithCursor. Powered by Ridge DB. The first page is the top holders, so a top-50 table is one call; keep paging for a full holder export.
  • Each row has the token account address, its owner wallet, the raw amount, decimals, uiAmount and uiAmountString.
  • limit defaults to 100 per page. Values above 1,000 are capped at 1,000.
  • Pass nextCursor back as cursor for the next page. Stop when hasMore is false. A full page sets hasMore to true, so the last page can come back empty.
  • Zero-balance accounts are included and come last. Skip amount “0” if you only want holders.
  • changedSince returns only accounts changed after that slot.
Costs 1 credit per call and counts only against General RPS. Request setup and error handling: RPC quickstart. Billing: credits and limits.

Authorizations

api_key
string
query
required

Body

application/json
jsonrpc
enum<string>

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string

A unique identifier for the request.

Example:

"1"

method
enum<string>

The name of the RPC method to invoke.

Available options:
getTokenAccountsWithCursor
Example:

"getTokenAccountsWithCursor"

params
(string | object)[]

The mint, then an optional configuration object.

Token mint address, as a base-58 encoded string.

Example:

"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

Response

Successfully retrieved a page of token accounts for the mint.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string

Identifier matching the request.

Example:

"1"

result
object

One page of the mint's token accounts.