Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

searchAssets

Returns the digital assets of an ownerAddress that match filters such as name, creatorAddress, grouping, interface, and compressed, with sorting and pagination.

Request

curl "https://<your-endpoint>.mainnet.rpcpool.com/<your-token>" -s -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": "123",
    "method": "searchAssets",
    "params": {
        "ownerAddress": "Ewb8XmZ4RbSAxnFY4P4XMtjz5EccYn12bnUF6T4SSvVq",       
        "page": 1,
        "limit": 50
    }
}'

Parameters

Name
Description
Required

negate

Indicates whether the search criteria should be inverted or not.

No

conditionType

Indicates whether to retrieve all ("all") or any ("any") asset that matches the search criteria.

No

interface

The interface value, one of "V1_NFT", "V1_PRINT", "LEGACY_NFT", "V2_NFT", "FungibleAsset", "FungibleToken", "Custom", "Identity", "Executable", "ProgrammableNFT", "MplCoreAsset", "MplCoreCollection", "MplCoreGroup", or "MplBubblegumV2".

No

ownerAddress

The address of the owner. Required on Triton: requests without it fail with "No owner address provided".

Yes

ownerType

Type of ownership, "single" or "token".

No

creatorAddress

The address of the creator.

No

creatorVerified

Indicates whether the creator must be verified or not.

No

authorityAddress

The address of the authority.

No

grouping

The grouping ["key", "value"] pair.

No

delegate

The address of the delegate.

No

frozen

Indicates whether the asset is frozen or not.

No

supply

The supply of the asset.

No

supplyMint

The address of the supply mint.

No

compressed

Indicates whether the asset is compressed or not.

No

compressible

Indicates whether the asset is compressible or not.

No

royaltyTargetType

Type of royalty, "creators", "fanout", or "single".

No

royaltyTarget

The target address for royalties.

No

royaltyAmount

The royalties amount.

No

burnt

Indicates whether the asset is burnt or not.

No

sortBy

Sorting criteria, as an object { sortBy: <value>, sortDirection: <value> }. sortBy is one of "id" (the default), "created", "updated", "recent_action", or "none". sortDirection is "asc" (the default) or "desc". Sorting by anything other than "id" requires page.

No

limit

The maximum number of assets to retrieve, up to 1000 (the default).

No

page

The index of the "page" to retrieve, starting at 1.

No

before

Fetch assets before the given ID.

No

after

Fetch assets after the given ID.

No

jsonUri

The value for the JSON URI.

No

name

Matches assets whose name contains this text. The match is case-sensitive.

No

options

Display options, as an object of flags that default to false: showFungible, showCollectionMetadata, showUnverifiedCollections, showZeroBalance, showInscription. Also accepted as displayOptions.

No

cursor

Fetch the next page with the cursor value from the previous response.

No

tokenType

The kind of token to return, one of "fungible", "nonFungible", "regularNFT", "compressedNFT", or "all". Can't be combined with ownerType or interface.

No

isAgent

Indicates whether the asset is a Metaplex agent or not.

No

agentToken

The address of the agent token.

No

assetSigner

The address of the asset signer.

No

Parameters are sent as a named object; unknown parameter names are rejected. Use one way to paginate per request: page, cursor, or before and after. cursor, before, and after need sorting by id.


Adapted from the Metaplex searchAssets reference, maintained by the Metaplex Foundation.


Contact support by clicking the chat icon in your customer dashboard Sales questions? Contact us AI agent? Read llms.txt Follow updates: Blog · X · YouTube · Telegram · GitHub

Last updated