SpyID is a simple Python script that allows you to retrieve the Telegram User ID of any public account by entering their @username — directly from the command line.
⚠️ You must log in with your own Telegram account via the Telegram API to use this tool. It does not work for private users or usernames that don’t exist.
- Retrieve Telegram user IDs via
@username - Accepts input with or without
@ - Command-line interface (CMD/Terminal)
- Keeps the window open after execution
- Fully local — no bot required
- Python 3.7 or higher
- A Telegram account
- API credentials (
api_idandapi_hash)
- Clone the repository:
git clone https://github.com/ImNotKurtz/spyid.git
cd spyid
# Preview Photo
