Skip to content
OSINTtools.io

Telegram API

Verified today

Telegram's client API (MTProto, TDLib): resolve usernames, read channel history and search public posts from a logged-in account.

API · TDLib library · Free · Social media intelligence · core.telegram.org

Takes
Username · Phone · Name
Pricing
Free
Footprint
Passive · no contact with target
Account
Needed for full results
API
Yes
Last verified
Nov 29, 2026
Summary

Telegram's client API (MTProto, TDLib): resolve usernames, read channel history and search public posts from a logged-in account. It takes username, phone number and name. Read the cons before you build a workflow on it.

What it does

Telegram publishes three APIs. The Telegram API, spoken over its MTProto protocol and wrapped by the open-source TDLib library, is the one a full client uses: it can resolve an @username, return information about a user, channel or supergroup, read the message history of a chat, search messages, and search posts in public channels by text or hashtag. The Bot API is a simpler HTTPS interface for bot accounts: a bot receives the messages from its private chats and from channels where it is a member, and can fetch information about a public channel by @username. The Gateway API only sends verification codes.

Investigators mostly meet the client API through the libraries and scrapers built on it. To use it you sign up for Telegram with a phone number, then register an application at my.telegram.org to get an api_id and api_hash; every call is then made as that logged-in account. Telegram offers the API free of charge and publishes no numeric rate limits, but says accounts that log in with unofficial clients are put under observation and that flooding or spamming gets an account banned for good. Its terms forbid using data from the platform to train AI models.

Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is an API.

Pros
  • +Free of charge, per Telegram's own docs
  • +Post search covers public channels the account has not joined
  • +TDLib handles networking, encryption and local storage
  • +The full method list and schema are published
Cons
  • −Needs a Telegram account with a phone number and a registered api_id; calls are made as that account
  • −No numeric rate limits are published, and flooding can get the account banned
  • −Global post search is paid in Telegram Stars beyond a free allowance for Premium users

When to use it

  1. 01Use it when you need the message history of a public channel or group as structured data.
  2. 02Use it when you have an @username or a phone number and want the account or channel behind it.
  3. 03Use it when you are choosing a Telegram scraper and need to know what the underlying API allows.
Key featuresResolve an @username to a user, channel or groupChannel and supergroup information and participantsMessage history and message searchSearch of public channel posts by text or hashtagPhone number to user lookup where privacy settings allowTDLib open-source client librarySeparate Bot API over HTTPS for bot accounts

Next steps from this result

Suggested from the inputs Telegram API takes
  • Found a resultConfirm it with a second, independent source before you record it
  • Found a new identifierPivot on it only if your scope covers the new target
    Depends
  1. 01Open Telegram API and sign in.
  2. 02Paste the username and run the lookup.
  3. 03Record the result with the date and the exact query; results change over time.

Telegram API API

Telegram API has an API; its reference is not published here yet. Read its docs (opens in new tab) · Do you build it?

Technical details

Listing verified by an editor on Nov 29, 2026
API
Yes, see the vendor docs for auth and limits
Account
Needed for full results
Footprint
Passive · no contact with target
Pricing
Free
Platforms
API · TDLib library
Listed
Nov 29

Reviews

No reviews yet

Written by signed-in members. Each review appears here after an editor has read it.

Used Telegram API? Sign in to say what you used it for and how it went.

Sign in to review

Alternatives to Telegram API

Listed tools that take the same inputs, closest match first.

Telegram APIFree · API · verified today
Visit core.telegram.org (opens in new tab)