I'm looking for an API that allows to export all wallets from a given ERC20 Token or ERC721 NFT. I already tried some, but most of them take multiple minutes to respond, which is too slow for us, as we want to integrate it on the frontend. Any API out there? :)
3 Answers
Welcome Ptr43!
I think you could try Radiant Segment (https://segment.radiant.so), you can find their API docs here: https://docs.radiant.so
-
This is super cool, Ethereum & Polygon as of now, hope they add support for additional chains :)– Ptr43Commented Jan 19, 2023 at 8:14
You can use The Graph/Moralis/Covalent if the smart contract emits events.
You can get all the NFT owners by contract address using Moralis getNFTOwners.
Here is a step-by-step example of how to do it: https://docs.moralis.io/web3-data-api/evm/how-to-get-nft-owners-by-an-address
Let me know if you need any help!
Disclosure: I work at Moralis
-
Looks nice for NFTs, would be great to have ERC20 owners as well.– Ptr43Commented Jan 19, 2023 at 8:13