Monthly scrape of IANA Root Zone Database.
A GitHub Action runs on the 1st of every month (or manually), scrapes every TLD subpage from IANA, and publishes the result as a JSON file attached to a GitHub Release. Only the latest 3 releases are kept.
pip install requests beautifulsoup4
python scraper.pyOutput: iana_tlds.json
Each entry contains:
tld/domain— the TLD nametype— generic, country-code, sponsored, infrastructure, etc.manager— TLD manager namesponsoring_organisation— full org with addressadmin_contact/tech_contact— name, email, voice, faxname_servers— hostnames and IP addresseswhois_server/rdap_serverregistration_urlrecord_last_updated/registration_date