How to list all NFTs and tokens in a wallet
Fetch every asset owned by a Solana address in one API call. Returns NFTs, fungible tokens, and compressed NFTs with full metadata.
How does it work?
Call getAssetsByOwner with a wallet address to get all assets with parsed metadata, images, and prices. Filter by type using the interface parameter.
List all NFTs
Filter by
V1_NFT or ProgrammableNFT. Returns images via CDN for fast loading.List token holdings
Set
showFungible: true to include SPL tokens with balances, decimals, and USD prices.Include cNFTs
Compressed NFTs from DRiP, Helium, etc. are included automatically. Check
compression.compressed to identify them.API Notes
- displayOptions.showFungible: Set to
trueto include SPL tokens in response - Interface filtering: NFTs use
V1_NFT,ProgrammableNFT; tokens useFungibleToken - Image CDN: Prefer
cdn_uriover rawurifor faster, more reliable image loading - Compression: Check
compression.compressed === trueto identify cNFTs