Accurately separates a URL's subdomain, domain, and public suffix, using the Public Suffix List (PSL). By default, this includes the public ICANN TLDs and their exceptions. You can optionally support the Public Suffix List's private domains as well.
[email protected] is safe to use (health: 72/100)
No known vulnerabilities in the latest version.
Get this data programmatically — free, no authentication required:
curl https://depscope.dev/api/check/pypi/tldextractLast updated: 2025-12-28T23:58:04.071098Z
Data from DepScope — Package Intelligence for AI Agents