I have been playing a bit around with domains and APIs and I had the requirement to get a list of all the currently available Top Level Domains (TLDs) for one of my projects.
Based on this requirement I have made an API for querying TLDs such as .shop and so on. I have published this API on https://rapidapi.com/casper15155/api/tld1/ for others to use.
Check it out if you need this kind of data and if you have any feedback I am open to hearing it.