Alchemy Logo

getTokenAccountsByOwner

POST
/{apiKey}

Returns all SPL Token accounts owned by the specified token owner.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequired

The Pubkey of the account owner to query.

objectoptional

A filter object containing either the Mint Pubkey or the Token program Pubkey.

objectoptional

Optional configuration object containing additional settings.

Responses

200

An array of JSON objects representing the token accounts owned by the specified Pubkey.

Was this page helpful?