Etherscan API when minting

Hi all,

I am a noob but when trying to mint NFTs from a contract using Etherscan I keep running into the issue of the token id already being claimed.
So, I ran a .csv of all the tokens but it stops with 5000 records. On a 10,000 token mint this is useless if 9k already sold.

Apparently, the only way to get around this is to use etherscan’s APIs

Can someone please advise how I can overcome this or if anyone here has a program or code or script etc that i can use to find out which tokens are missing (eg not yet minted)?

Thanks so much!