Telegram Public Post Comments
Fetch public discussion thread comments on a web-indexed Telegram broadcast channel post (t.me/s/*) with timestamps, replies, and reactions.
curl -sG "https://api.agentapigate.ai/v1/telegram/post/comments" \ --data-urlencode "channel=tginfoen" \ --data-urlencode "post_id=2212" \ --data-urlencode "limit=20" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Telegram Public Post Comments (`telegram.post.comments`) **channel**: tginfoen · **post_id**: 2212 · **count**: 20 ## comments - [1] comment_id: 172991, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172991, published_at: 2026-11-17T16:31:32+00:00 - [2] comment_id: 172570, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172570, published_at: 2026-11-14T10:53:22+00:00 - [3] comment_id: 172563, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172563, published_at: 2026-11-14T08:00:37+00:00 - [4] comment_id: 172562, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172562, published_at: 2026-11-14T08:00:37+00:00 - [5] comment_id: 172561, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172561, published_at: 2026-11-14T08:00:36+00:00 - [6] comment_id: 172560, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172560, published_at: 2026-11-14T08:00:36+00:00 - [7] comment_id: 172559, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172559, published_at: 2026-11-14T08:00:36+00:00 - [8] comment_id: 172557, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172557, published_at: 2026-11-14T07:08:04+00:00 - [9] comment_id: 172546, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172546, published_at: 2026-11-13T21:05:29+00:00 - [10] comment_id: 172545, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172545, published_at: 2026-11-13T21:04:36+00:00 - [11] comment_id: 172544, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172544, published_at: 2026-11-13T21:04:15+00:00 - [12] comment_id: 172543, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172543, published_at: 2026-11-13T19:11:34+00:00 - [13] comment_id: 172542, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172542, published_at: 2026-11-13T19:11:27+00:00 - [14] comment_id: 172541, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172541, published_at: 2026-11-13T18:51:17+00:00 - [15] comment_id: 172540, channel: tginfoen, post_id: 2212, comment_url: https://t.me/tginfoen/2212?comment=172540, published_at: 2026-11-13T18:45:14+00:00
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:telegram.post.comments · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| channel | string | required | tginfoen | Public web-indexed Telegram broadcast channel handle (t.me/s/*) (e.g. tginfoen, telegram). Private invite links and phone/user lookups return HTTP 400 PUBLIC_CHANNEL_ONLY. |
| post_id | number | required | 2212 | Numeric post ID inside the public broadcast channel (e.g. 2212) |
| limit | number | optional | 20 | Maximum public discussion comments returned (1-50) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0030 / call | $0/mo · Balance never expires |
| Remote MCP Tool | telegram_post_comments | OAuth 2.1 Hub & /mcp/social |
| x402 Base USDC | $0.0030 / call | Zero-signup USDC enabled |
| P50 Latency | 370 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 4448t → 690t (-84%) | Partner credit: paid_usd / x402 |
More telegram.post Sibling Endpoints
Frequently Asked Questions
How do I call Telegram Public Post Comments (telegram.post.comments) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/telegram/post/comments with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool telegram_post_comments on https://mcp.agentapigate.ai/mcp.
What does telegram.post.comments cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.003 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on telegram.post.comments?
Passing ?format=md transforms the response into normalized Markdown (~690 tokens vs ~4448 raw tokens, saving 84% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only social endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["social"], optional allowed_endpoints: ["telegram.post.comments"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.