Skip to main content
POST
Use excludeZero to hide empty token accounts. Keep the same mint or program filter while paging through results. Request setup and error handling: RPC quickstart. Billing: credits and limits.

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>
default:getTokenAccountsByOwnerV2
required

The name of the RPC method to invoke.

Available options:
getTokenAccountsByOwnerV2
Example:

"getTokenAccountsByOwnerV2"

params
string · object · object[]
required

Parameters for querying paginated token accounts owned by a specific public key.

Solana wallet address (pubkey) of the account owner to query token holdings for, as a base-58 encoded string.

Example:

"A1TMhSGzQxMr1TboBKtgixKz1sS6REASMxPo1qsyTSJd"

Response

Successfully retrieved paginated token accounts by owner.

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

Paginated token accounts with navigation metadata.