Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.2

Get collection stats

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"
}
}