TLD Extraction Library
JSON →The `tld` library provides functions to reliably extract the top-level domain (TLD) from a given URL, along with subdomains and full domain names. It leverages the Public Suffix List to ensure accuracy. The current version is 0.13.2, and it typically sees several updates per year, though major versions may have longer gaps.
Traffic · last 30 days ↑100% vs prev 7d
total hits 16
actors 5 distinct systems
last hit 4d ago Script
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇮🇳 India · 🇬🇧 United Kingdom · 🇨🇦 Canada
Resources
packagepypi.org/project/tld/ ↗
API endpoints
full doc /v1/registry/tld
install /v1/registry/tld/install
compatibility /v1/registry/tld/compatibility