Skip to main content
POST
Pass the wallet as ownerAddress. Results include NFTs held in SPL Token and Token-2022 accounts, Metaplex Core assets and compressed NFTs, merged into one list.
  • Accepted method names: getAssetsByOwner and get_assets_by_owner.
  • Set options.showFungible to also list fungible tokens with a nonzero balance. Each one then carries token_info.balance, token_accounts, associated_token_address and, when a price is known, price_info.total_price.
  • Tokens without Token Metadata or a Token-2022 metadata extension are not listed. Assets whose supply is zero are skipped.
  • limit defaults to 1000 and may not exceed 1000. Without page, before or after, the response carries a cursor; pass it back as cursor for the next page. page works with every sort; cursor, before and after need the default id sort.
  • Default order is asset id descending. A wallet holding more than 200,000 token accounts returns an error.
  • One request examines at most 200,000 candidate assets. For deep pages, page by cursor rather than high page numbers.
  • Cost: 1 credit per page. Counts against your plan’s DAS RPS limit.
See the DAS API overview for pagination, sorting and display options. 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>
required

The name of the RPC method to invoke.

Available options:
getAssetsByOwner
Example:

"getAssetsByOwner"

params
object
required

Named parameters.

Response

One page of the wallet's assets.

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 assets.