# osintverse-community/tldextract

Splits a URL or hostname into subdomain, registered domain and public suffix

## Install and run

```sh
ot install osintverse-community/tldextract
ot run osintverse-community/tldextract url:https://forums.news.cnn.com/
```

The first `ot run` installs the tool after asking once. New to `ot`? See https://otinstaller.com/docs/getting-started.

From an AI agent, through ot's MCP server (`ot mcp`):

```
run_tool {"tool":"osintverse-community/tldextract","inputs":{"url":"https://forums.news.cnn.com/"}}
```

## Inputs

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `url` | url | yes |  |  |

## Outputs

Finds: domain, subdomain.

## What a run does

- Does not contact the target.
- Does not collect personal data.
- Does not need an account.
- Connects to publicsuffix.org, raw.githubusercontent.com.

An agent needs the person's consent before running this tool, because it goes online. See https://otinstaller.com/docs/agents#consent.

## Trust

- Latest version: 5.4.0
- Signed: no
- Verified publisher: yes
- Health: healthy
- Installs in the last 30 days: 0
- License: BSD-3-Clause
- Runtime: Python wheel (pipx), pinned by hash
- Repository: https://github.com/osintverse-community/tldextract
- Packaged by the community from a third-party tool

## Links

- Web page: https://otinstaller.com/osintverse-community/tldextract
- JSON: https://api.otinstaller.com/v1/tools/osintverse-community/tldextract
- README: https://github.com/osintverse-community/tldextract#readme
- Homepage: https://github.com/john-kurkowski/tldextract
- Security details: https://otinstaller.com/osintverse-community/tldextract/security
