List of all NFT API endpoints
NFT API Chain Support Matrix
Method | Ethereum | Polygon | Arbitrum | Optimism | Base | zkSync Era | Starknet | Astar | Solana |
---|---|---|---|---|---|---|---|---|---|
getNFTsForOwner | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Unsupported | Unsupported |
getContractsForOwner | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Unsupported | Unsupported |
getOwnersForNFT | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Unsupported | Unsupported |
isHolderOfContract | ✅ | ✅ | ✅ | ✅ | ✅ | Unsupported | ✅ | Unsupported | Unsupported |
getOwnersForContract | ✅; mainnet only | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported |
getNFTMetadata | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Unsupported | Unsupported |
getNFTMetadataBatch | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Unsupported | Unsupported |
getContractMetadata | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Unsupported | Unsupported |
getContractMetadataBatch | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Unsupported | Unsupported |
searchContractMetadata | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅; mainnet only | Unsupported | Unsupported |
getNFTsForContract | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | Unsupported | Unsupported |
getCollectionMetadata | ✅ | ✅ | ✅ | ✅ | ✅ | Unsupported | ✅ | Unsupported | Unsupported |
getCollectionsForOwner | ✅ | ✅ | ✅ | ✅ | ✅ | Unsupported | ✅ | Unsupported | Unsupported |
getSpamContracts | ✅; mainnet only | ✅; mainnet only | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported |
isSpamContract | ✅; mainnet only | ✅; mainnet only | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported |
isAirdropNft | ✅; mainnet only | ✅ | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported |
getFloorPrice | ✅; mainnet only | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported |
getNFTSales | ✅; mainnet only | ✅; mainnet only | Unsupported | ✅; mainnet only | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported |
computeRarity | ✅; mainnet only | ✅ | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported |
summarizeNFTAttributes | ✅; mainnet only | ✅ | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported |
reportSpam | ✅ | ✅ | ✅ | ✅ | ✅ | Unsupported | Unsupported | Unsupported | Unsupported |
refreshNftMetadata | ✅ | ✅ | ✅; mainnet only | ✅; mainnet only | Unsupported | Unsupported | Unsupported | Unsupported | Unsupported |
NFT API Endpoints By Usecase
Endpoint | Use Case | What to use it for |
---|---|---|
getNFTsForOwner | Ownership & Token Gating | Retrieve the NFTs owned by a wallet address |
getContractsForOwner | Retrieve the list of NFT contracts from which a wallet address owns one or more tokens. | |
getOwnersForNFT | Retrieve the owners of a given token | |
getOwnersForCollection | Retrieve all the owners for a given NFT contract or collection, including snapshotting owners at any block number. | |
isHolderOfCollection | Check whether a given wallet owns any NFT in a collection | |
getNFTMetadata | Metadata | Retrieve the metadata associated with a given NFT i.e. a specific tokenId |
getNFTMetadataBatch | Retrieve the metadata associated with several NFTs across collections in a single request | |
getContractMetadata | Retrieve the metadata associated with a given contract or collection | |
getContractMetadataBatch | Retrieve contract metadata for several different contracts in a single request | |
searchContractMetadataBETA | Search the metadata across contracts for specific keywords | |
refreshNftMetadata | Submit a request that Alchemy refresh the cached NFT metadata for a particular token. | |
reingestContract BETA | Triggers metadata refresh for an NFT collection/refreshes stale metadata after a reveal | |
getNFTsForContract | Retrieve all the NFTs for a given contract or collection | |
getSpamContracts BETA | Spam Detection | Retrieve a list of contracts marked as spam |
isSpamContract BETA | Returns whether a specific contract is marked as spam or not | |
reportSpamBETA | Report a contract if you think its spam | |
getFloorPrice BETA | Marketplace Data | Retrieve the floor price of a NFT collection by marketplace |
getNFTSales BETA | Retrieve NFT sales data across marketplaces | |
computeRarity BETA | Rarity | Compute the rarity of each attribute of an NFT. |
summarizeNFTAttributes BETA | Generate a summary of attribute prevalence for an NFT collection. | |
NFT Activity Webhook | Notifications | Receiving real-time updates for NFT Transfers and NFT mints |
NFT Metadata Updates Webhook | Receiving real-time updates for NFT metadata changes |