Master the searchAssets endpoint to discover NFTs, compressed assets, and fungible tokens on Solana. Advanced filtering, pagination, and efficient asset discovery.
page
parameter starts at 1. For blazing-fast infinite scrolling, use cursor pagination (before
/after
).tokenType
fungible
, nonFungible
, regularNft
, compressedNft
, all
.tokenType | What you get | Typical use-case |
---|---|---|
fungible | SPL & Token-22 tokens only | Wallet balances, token-gating |
nonFungible | All NFTs (compressed and regular) | Portfolio overview |
regularNft | Legacy & pNFTs (uncompressed) | Marketplace listings |
compressedNft | cNFTs only | Ultra-cheap mass mints |
all | Everything (tokens and NFTs) | Catch-all discovery |
page
starts at 1). Good for static views.before
or after
values from the previous response for fast, infinite scrolling.options
)Flag | Effect |
---|---|
showNativeBalance | Includes SOL balance of the wallet |
showCollectionMetadata | Adds collection-level JSON data |
showGrandTotal | Returns the total match count (slower) |
showInscription | Appends inscription & SPL-20 info (experimental) |