For example Ethereum Name Service (ENS): https://etherscan.io/token/0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85

I am looking for an API that returns the total number of NFTs created. I'm using Etherscan and Ethplorer API (getTokenInfo), but some addresses like CryptoKitties address return the right number of NFTs created, while some addresses like Ethereum Name Service return nothing.

Can you help me? Thank you


You could use the Etherscan API for search the NFTs of an address like:

https://api.etherscan.io/api?module=account&action=tokennfttx&address=" + address + "&startblock=0&endblock=999999999&sort=asc&apikey=" + key

Where "address" is the address you want to retrieve and the "key" your API key (if you don't provide an API key, the returned nº of NFTs is limited).

If ENS gives you 0 NFTs, the address you are looking/searching (more probabily the ENS smart contract address) aren't the same that emits the NFTs. Looking on Etherscan it seems that the address that emits the ENS NFTs tokens is: 0x283af0b28c62c092c9727f1ee09c02ca627eb7f5 (but you should do your own research).

You could try with:


That returns a lot of NFTs results (more than 9999). Hope it helps!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.