Skip to main content
Version: 2.2

Get the top NFT collections by market cap

GEThttps://deep-index.moralis.io/api/v2.2/market-data/nfts/top-collections

Get the top NFT collections by market cap

💡PREMIUM ENDPOINT

To use this API, you will need an API key under a Moralis account with the Pro or above plan. To upgrade your API plan, go to the billing page in the Moralis Dashboard.

This API has no parameter and you can simply use the Try It button to test it out.

Responses
200 Returns the top NFT collections by market caparray
rankstringrequired
The rank
collection_titlestringrequired
The collection title
collection_imagestringrequired
The collection image
floor_price_usdstringrequired
The floor price in USD
floor_price_24hr_percent_changestringrequired
The floor price 24hr percent change
market_cap_usdstringrequired
The market cap in USD
market_cap_24hr_percent_changestringrequired
The market cap 24hr percent change
volume_usdstringrequired
The volume in USD
volume_24hr_percent_changestringrequired
The volume 24hr percent change
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = await Moralis.EvmApi.marketData.getTopNFTCollectionsByMarketCap({});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
[
{
"rank": "1",
"collection_title": "CryptoPunks",
"floor_price_usd": "0.0",
"floor_price_24hr_percent_change": "0.0",
"market_cap_usd": "0.0",
"market_cap_24hr_percent_change": "0.0",
"volume_usd": "0.0",
"volume_24hr_percent_change": "0.0"
}
]