Skip to main content
Version: 2.2

Get collection stats

Don't have an API key yet?

Start using this API for your project today.

Get your free API key
GEThttps://deep-index.moralis.io/api/v2.2/nft/:address/stats

Get the stats for a nft collection address.

PATH PARAMS
addressstringrequired
The address of the NFT collection
QUERY PARAMS
chainstring
The chain to query
Responses
API KEY
import Moralis from 'moralis';

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

const response = await Moralis.EvmApi.nft.getNFTCollectionStats({
"chain": "0x1"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"owners": {
"current": "1000"
},
"transfers": {
"total": "1000"
}
}