# tldextract — card for AI agents

Parse URLs to extract subdomain, domain and TLD using the Public Suffix List.

Category: Scraping, browsers and parsing · PyPI package `tldextract` · latest version 5.4.0 (checked 2026-11-01)
Install: `pip install tldextract`
License: BSD-3-Clause (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 55.5 (#1402 of all tools, 39 of 141 in its category)
- Used in 3 public projects set up for AI coding agents (0.0%)
- Downloads last week: 10,202,411 (as of 2026-11-24), +8.8% over 4 weeks
- GitHub stars: 2,032 (as of 2026-11-24)
- Last push: 2026-11-01

## Often used with
Requests 86.7%, Pydantic 84.0%, python-dotenv 82.7%, Jinja2 80.0%, lxml 80.0%, NumPy 78.7%

## Links
- AgentGid page: https://agentgid.com/tools/tldextract/
- Homepage: https://github.com/john-kurkowski/tldextract
- Repository: https://github.com/john-kurkowski/tldextract

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
