Skip to content
Alchemy Logo

getTokenAccounts_v2

POST
/{apiKey}
CUs160Throughput CUs200

Returns all SPL token accounts for a given mint and/or owner, including token balances, mint addresses, and account metadata. At least one of mint or owner must be provided.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringoptional

The base-58 owner (wallet) address whose token accounts to list. Either owner or mint must be provided.

stringoptional

The base-58 mint address to filter token accounts by. Either owner or mint must be provided.

integeroptional

The page of results to return (1-based).

integeroptional

The maximum number of token accounts to return per page.

stringoptional

The cursor used for pagination.

stringoptional

Returns results before the specified cursor.

stringoptional

Returns results after the specified cursor.

objectoptional

Display and formatting options for the response.

Responses

200

A paginated list of SPL token accounts matching the query.

Was this page helpful?