API for displaying top-level domains

Anyone who wants any good web service requests and lists all possible TLDs.

I'm looking at http://domainapi.com/ right now. I can request TLDs, but I cannot find a way to list them. If anyone can think of other good examples that have updated the TLD.

+5
source share
2 answers

You can get this information directly from IANA. The data here is http://www.iana.org/domains/root/db , and HTML looks pretty easy to clean up.

0
source

ICANN appears to provide a computer readable list of all valid TLDs:
https://data.iana.org/TLD/tlds-alpha-by-domain.txt (found through this page )

I'm not sure how often it is updated, but as of the moment (November 2018), it says that it was last updated 13 hours ago.

I don’t know how often you can request it without bothering them, so I would not do it too often. This is not how the list changes often.

0
source

Source: https://habr.com/ru/post/1435988/


All Articles