TLD Extraction Library

JSON →
library 0.13.2 ·python
verified May 20, 2026

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.

total hits 16
actors 5 distinct systems
last hit 4d ago Script
OAI-SearchBot
6
Script
4
ChatGPT-User
1
Search engines
1
Humans
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇮🇳 India · 🇬🇧 United Kingdom · 🇨🇦 Canada