Discover/t API
live

t APIt.me

Retrieve comments from public Telegram channel posts. Access comment text, author info, timestamps, and media flags via a single structured endpoint.

This API takes change requests — .
Endpoint health
verified 3d ago
get_comments
1/1 passing latest checkself-healing
Endpoints
1
Updated
23d ago

What is the t API?

The t.me API exposes 1 endpoint — get_comments — that returns structured comment data from any public Telegram channel post. Each response includes up to 8 fields per comment: comment_id, author_name, author_url, text, datetime, reply_text, has_photo, and has_video. Comments are ordered oldest-first, and pagination is handled automatically up to your specified limit.

This call costs5 credits / call— charged only on success
Try it
Maximum number of comments to return.
Telegram channel username (the part after t.me/, e.g. 'ilchegg').
Numeric post ID within the channel (e.g. '10400').
api.parse.bot/scraper/198b3ea1-90b0-47b8-a7ac-7a9a302463cb/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/198b3ea1-90b0-47b8-a7ac-7a9a302463cb/get_comments?limit=20&channel=ilchegg&post_id=10400' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace t-me-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.


"""Walkthrough: Telegram Comments API — fetch and inspect discussion comments on public channel posts."""
from parse_apis.Telegram_Comments_API import Telegram, ParseError

client = Telegram()

# Fetch comments from a known public post, capped to 5 items.
for comment in client.discussions.get(channel="ilchegg", post_id="10400", limit=5):
    print(comment.author_name, comment.text, comment.datetime)

# Drill-down: take ONE comment and inspect its fields including photo URLs.
first = client.discussions.get(channel="ilchegg", post_id="10400", limit=1).first()
if first:
    print(first.comment_id, first.author_name, first.has_photo, first.photo_urls)

# Typed error handling: catch infrastructure-level failures.
try:
    result = client.discussions.get(channel="nonexistent_channel_xyz", post_id="1", limit=1).first()
except ParseError as exc:
    print(f"Error fetching discussion: {exc}")

print("exercised: discussions.get (list + first + error)")
All endpoints · 1 totalmissing one? ·

Retrieve comments from a public Telegram channel post. Comments are returned sorted by time (oldest first). Pagination through older comments is handled automatically until the specified limit is reached. Each comment includes the author name, profile URL, message text, timestamp, media flags, and photo URLs when available. Posts without a linked discussion group return an empty comments list.

Input
ParamTypeDescription
limitintegerMaximum number of comments to return.
channelrequiredstringTelegram channel username (the part after t.me/, e.g. 'ilchegg').
post_idrequiredstringNumeric post ID within the channel (e.g. '10400').
Response
{
  "type": "object",
  "fields": {
    "channel": "string",
    "post_id": "string",
    "comments": "array of comment objects with comment_id, author_name, author_url, text, datetime, reply_text, has_photo, photo_urls, has_video",
    "comments_count": "integer — total number of comments on the post"
  },
  "sample": {
    "data": {
      "channel": "ilchegg",
      "post_id": "10400",
      "comments": [
        {
          "text": "2/2",
          "datetime": "2026-06-30T19:23:38+00:00",
          "has_photo": true,
          "has_video": false,
          "author_url": "https://t.me/skravol",
          "comment_id": "483893",
          "photo_urls": [
            "https://cdn4.telesco.pe/file/o6PnToqm3poz4h4HuRvxLg9tPv690ztp7LSigZBCW-HUabjtAO1d2Hh3yoDr3YxeYp5AEbz9Pvpt4JFhsXUJKtjRU4-g9KQI8hS0HpYyB8HHC3A9pvU812gtheafM8_24BTCRl7DhGPTHDajg09W3QcQazs0tFLOmjcxNdBY6fvVSSwqBHkUsxf4Kw43Wtp-CetASuKYBfObkO0N24re504OzjBltZhXmVYbfMzQmnsduGFQ0zOGEdCKpXUMFO26u0rRXvzwG4YSjpBboMivWdu7I9D6aTl2tfGMJ9JKP3Yh1LQMK4PtpLIm6JvzPnDPbNdzIE1IfYfI3Ss_93jj4w.jpg"
          ],
          "reply_text": "2/2",
          "author_name": "👁️"
        }
      ],
      "comments_count": 238
    },
    "status": "success"
  }
}

About the t API

What the API Returns

The get_comments endpoint retrieves comments from a public Telegram channel post identified by a channel username and a numeric post_id. The response includes a top-level comments_count (the total number of comments on the post), an array of comment objects, and the original channel and post_id values echoed back for reference.

Comment Object Fields

Each object in the comments array contains: comment_id (a unique identifier for the comment), author_name (display name), author_url (link to the author's Telegram profile), text (the comment message), datetime (ISO timestamp), reply_text (the text of the parent comment if this is a reply, otherwise null), has_photo (boolean indicating whether the comment contains a photo), and has_video (boolean indicating whether the comment contains a video).

Parameters and Pagination

The two required parameters are channel (the username portion of the channel's t.me URL, e.g. ilchegg) and post_id (the numeric post identifier, e.g. 10400). The optional limit parameter caps how many comments are returned. Pagination through older comments is handled automatically — you specify a limit and the endpoint works backward through the comment thread until that count is reached or all comments are exhausted.

Coverage Constraints

This API only covers public Telegram channels that have an active discussion group attached. Private channels, channels without a linked discussion group, and direct message threads are not accessible. The text field reflects plaintext content; rich formatting such as embedded links within comment text may not be fully preserved.

Reliability & maintenanceVerified

The t API is a managed, monitored endpoint for t.me — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when t.me changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official t.me API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3d ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Monitor audience reactions to specific posts on a public Telegram channel using text and datetime fields
  • Track reply chains within a post using the reply_text field to reconstruct threaded discussions
  • Detect media-heavy discussions by filtering comments where has_photo or has_video is true
  • Aggregate commenter profiles via author_url to identify recurring contributors in a channel
  • Measure post engagement by comparing comments_count across multiple post_id values in the same channel
  • Build a comment archive for a specific Telegram channel post using the comment_id and datetime fields
  • Analyze sentiment or topic trends across comments on a news or crypto channel post
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Telegram have an official developer API for reading channel comments?+
Yes. Telegram provides the official Bot API (https://core.telegram.org/bots/api) and the MTProto-based Telegram API (https://core.telegram.org/api). Both require app credentials and, for channel data, specific permissions. The Bot API's comment access is limited compared to what this endpoint surfaces directly from public discussion widgets.
What does the `reply_text` field contain?+
If a comment is a direct reply to another comment in the thread, reply_text contains the plaintext of that parent comment. If the comment is not a reply, the field is null. This lets you identify threaded exchanges without needing a separate lookup.
Can I retrieve comments from private Telegram channels or groups?+
No. The API only covers public Telegram channels that have an attached discussion group visible without authentication. Private channels and private groups are not accessible. You can fork this API on Parse and revise it to add authentication-based access if your use case requires private channel data.
Does the API return the full message content of comments, including embedded links or formatted text?+
The text field returns the plaintext body of each comment. Rich formatting such as inline hyperlinks, bold, or inline mentions may not be fully preserved. The API currently covers text, timestamps, author info, and media presence flags. You can fork it on Parse and revise to add richer formatting extraction if your use case requires it.
Can I retrieve all posts from a channel, not just comments on a single post?+
Not currently. The API covers comments on a specific post identified by channel and post_id. There is no endpoint for listing all posts in a channel or iterating post IDs automatically. You can fork the API on Parse and revise it to add a post-listing endpoint.
Page content last updated . Spec covers 1 endpoint from t.me.
Related APIs in Social MediaSee all →
library.tiktok.com API
Search TikTok's Commercial Content Library to discover ads by company name or keyword, then view detailed information like creative format, scheduling dates, audience targeting, and video thumbnails. Monitor competitor advertising strategies and track ad campaigns across supported regions.
tiktok.com API
Retrieve detailed information about any public TikTok video including captions, media URLs, view counts, likes, and shares, plus access all comments posted on that video. Perfect for analyzing trending content, monitoring video performance, or building applications that need TikTok video data.
facebook.com API
Search and retrieve ads running across Facebook, Instagram, Messenger, and Audience Network to analyze creative content, spending data, and political ad transparency information. Look up specific ads by keyword or page to get comprehensive details about active advertising campaigns.
facebook.com Ad Library API
Search and retrieve detailed information about ads running on Facebook, including creative content, audience targeting parameters, and transparency metrics. Access comprehensive ad data across multiple campaigns to monitor advertising trends and competitive activity.
modash.io API
Find and analyze influencers across Instagram, TikTok, and YouTube by filtering for location, follower count, engagement rates, and other key metrics to identify the perfect creators for your campaigns. Access detailed influencer reports, contact information, and use AI-powered search to discover creators that match your specific needs.
threads.com API
Search for posts and users on Threads by keyword to discover content, view engagement metrics like likes and replies, and explore user profiles with their media. Find trending discussions and connect with creators all in one search experience.
threads.net API
Search for posts and user accounts on Threads by keyword to discover relevant content and creators. Find specific discussions, hashtags, and profiles that match your interests on the platform.
hypeauditor.com API
Find and analyze influencer profiles across Instagram and other platforms with detailed engagement metrics, contact information, and linked social accounts. Search by keyword or location, retrieve profile analytics, and identify top-performing creators to inform influencer marketing decisions.