How to Find a Telegram Bot ID (Numeric ID for Any Bot)
Every Telegram bot has a unique numeric Bot ID (User ID). This is different from the bot token. Here is how to find it.
Method 1: Extract from Bot Token
Your bot token looks like 123456789:ABCdefGHIjklMNO. The number before the colon (123456789) is the Bot ID. This is the simplest and most reliable method.
Method 2: Use Our Lookup Tool
- Visit TelegramUserID.com.
- Enter the bot's username (e.g.,
userinfobot). - The tool returns the bot's numeric ID, plus confirms it is a bot account.
Method 3: Use the getMe API Call
- If you have the bot token, call
https://api.telegram.org/bot<TOKEN>/getMe. - The response includes the
idfield with the bot's numeric User ID.
Bot ID vs. Bot Token
The Bot ID is a public numeric identifier (like any User ID). The Bot Token is a secret credential that grants control of the bot. Never share your bot token, but the Bot ID itself is not sensitive.
Frequently Asked Questions
Is the Bot ID the same as the Bot Token?
No. The Bot Token is a secret string (like 123456789:ABCdefGHI...) used to control the bot via the API. The Bot ID is just the numeric part before the colon (123456789), which is the same as the bot's User ID.
Can I look up any bot ID by username?
Yes. If the bot has a public username, you can look up its numeric ID on TelegramUserID.com. All bots are public accounts, so their IDs are always retrievable.