Skip to main content
POST
Covers SPL Token and Token-2022 accounts, sorted by token account address. Also accepted as get_token_accounts.
  • Send owner, mint or both. ownerAddress and mintAddress are accepted as aliases.
  • Empty token accounts are hidden unless options.showZeroBalance is true.
  • amount is the raw balance in base units.
  • limit defaults to 1000 and may not exceed 1000.
  • With no page, before or after, the response cursor is the last account’s address. Send it back as cursor for the next page; stop when token_accounts is empty.
  • A query that matches more than 200,000 token accounts returns an error, so mint alone does not work for widely held tokens. Add owner, or use getTokenLargestAccounts.
  • Costs 1 credit and counts against your plan’s DAS RPS limit.
Request setup and error handling: RPC quickstart. Billing: credits and limits. All DAS methods: DAS API overview.

Authorizations

api_key
string
query
required

Body

application/json
jsonrpc
enum<string>
required

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
required

A unique identifier for the request.

Example:

"1"

method
enum<string>
required

The name of the RPC method to invoke.

Available options:
getTokenAccounts
Example:

"getTokenAccounts"

params
object
required

Owner and/or mint, and pagination. Send at least one of owner or mint. Unknown keys are rejected.

Response

Successfully retrieved token accounts.

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

A page of token accounts.