# Telegram Username Database

A public, browser-based dataset and analytics dashboard for Telegram usernames selected from official English-language dictionaries.

Dashboard: https://amirfabo.github.io/telegram-usernames-database/

## Dataset overview

The repository contains three JSON datasets:

| File | Description |
|---|---|
| `data/users.json` | Active Telegram user accounts associated with the scanned usernames |
| `data/channels.json` | Active Telegram channels and supergroups associated with the scanned usernames |
| `data/banned_usernames.json` | Usernames identified as permanently banned by Telegram |

The dataset is based on approximately 70,000 scanned username candidates. The exact totals are calculated from the current JSON files and displayed in the dashboard.

## Username source

The candidate usernames were selected from official English-language dictionaries. This describes the source of the candidate word list; it does not imply that every word is available or registered as a Telegram username.

## Counting methodology

The dashboard uses the following definitions:

- **Active usernames** = number of records in `users.json` + number of records in `channels.json`.
- **Banned usernames** = number of strings in `banned_usernames.json`.
- **Total usernames** = active usernames + banned usernames.

## Data schema

### `users.json`

A JSON array of user objects:

| Field | Type | Description |
|---|---|---|
| `type` | string | Record type; `user` |
| `username` | string | Telegram username |
| `is_nft` | boolean | Whether the username is an NFT collectible username |
| `user_id` | integer | Telegram user ID |
| `is_bot` | boolean | Whether the account is a bot |
| `dc_id` | integer or null | Telegram data center ID, when available |
| `is_premium` | boolean | Whether the account has Telegram Premium |
| `full_name` | string | User's displayed full name |

Example:

```json
{
  "type": "user",
  "username": "aaron",
  "is_nft": false,
  "user_id": 676520,
  "is_bot": false,
  "dc_id": null,
  "is_premium": false,
  "full_name": "Aaron"
}
```

### `channels.json`

A JSON array of channel objects:

| Field | Type | Description |
|---|---|---|
| `type` | string | Record type; `channel` |
| `username` | string | Telegram channel or supergroup username |
| `is_nft` | boolean | Whether the username is an NFT collectible username |
| `channel_id` | integer | Telegram channel ID |
| `title` | string | Channel or supergroup title |
| `dc_id` | integer or null | Telegram data center ID, when available |

Example:

```json
{
  "type": "channel",
  "username": "aachen",
  "is_nft": false,
  "channel_id": 1093507657,
  "title": "Aachen",
  "dc_id": 2
}
```

### `banned_usernames.json`

A JSON array of strings. Each entry is a username identified as permanently banned:

```json
[
  "aback",
  "abacus",
  "abaft"
]
```

## Dashboard features

- Overview statistics with pie/doughnut charts.
- General, user-specific and channel-specific breakdowns.
- Search by username, full name, title, user ID or channel ID.
- Switch between user, channel and banned-username records.
- Filters for Basic/NFT, Regular/Premium, bot status and DC ID.
- Sorting, pagination and CSV export.

## Data notes and limitations

- This repository is a snapshot of a username scan, not a live Telegram availability checker.
- Telegram account status and username classification can change after collection.
- `dc_id` may be `null` when it was not available during collection.
- The dashboard treats `is_nft: false` as Basic for its Basic vs NFT charts.
- The dashboard treats `is_premium: false` as Regular for its Regular vs Premium chart.
- Banned usernames are stored separately and are not user or channel records.
- The dashboard does not infer or expose `was_online` or `is_long_time` fields.

## Disclaimer

This is an independently collected dataset and is not affiliated with, endorsed by, or officially maintained by Telegram. Telegram is a trademark of its respective owner. The dataset is provided for research and informational purposes. Users are responsible for complying with applicable laws, Telegram's terms and privacy requirements when using the data.
