Telegram Public Post Detail
Retrieve single post metrics from a public web-indexed Telegram broadcast channel (t.me/s/*) including text, views, forwards, reactions, and media.
curl -sG "https://api.agentapigate.ai/v1/telegram/post/detail" \ --data-urlencode "channel=durov" \ --data-urlencode "post_id=340" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Telegram Public Post Detail (`telegram.post.detail`) **found**: true Β· **channel**: durov Β· **post_id**: 340 ## post - **post_id**: 340 - **channel**: durov - **post_url**: https://t.me/durov/340 - **public_web_url**: https://t.me/s/durov/340 - **type**: text - **published_at**: 2024-07-31T21:11:09+00:00 - **text**: π© Big day! Today we introduce the Telegram Browser and Mini App Store, plus many other innovations β¨π¬ π₯ The Browser lets users switch between viewing websites and messaging, merging communication with news consumption. It is equipped with all the features you would expect from a browser β like se - **views**: 21400000 - **is_forwarded**: false - **reactions**: emoji: β, count: 8.26K, paid: true, count: 101K, paid: false, count: 63.6K, paid: false, count: 31.2K, paid: false - **media**: has_unsupported: true - **link_preview**: url: https://telegram.org/blog/w3-browser-mini-app-store, site_name: Telegram, title: Telegram Browser, Gifting Stars and More, description: Today's update brings a new in-app browser that supports multiple tabs and makes Web3 available to almost a billion users, the ability to gift Stars to friends
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:telegram.post.detail Β· Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| channel | string | required | durov | Public web-indexed Telegram broadcast channel handle (t.me/s/*) (e.g. durov, telegram). Private invite links and phone/user lookups return HTTP 400 PUBLIC_CHANNEL_ONLY. |
| post_id | number | required | 340 | Numeric post/message ID inside the public broadcast channel (e.g. 340) |
| 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_detail | OAuth 2.1 Hub & /mcp/social |
| x402 Base USDC | $0.0030 / call | Zero-signup USDC enabled |
| P50 Latency | 1360 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 1208t β 301t (-75%) | Partner credit: paid_usd / x402 |
More telegram.post Sibling Endpoints
Frequently Asked Questions
How do I call Telegram Public Post Detail (telegram.post.detail) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/telegram/post/detail with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool telegram_post_detail on https://mcp.agentapigate.ai/mcp.
What does telegram.post.detail 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.detail?
Passing ?format=md transforms the response into normalized Markdown (~301 tokens vs ~1208 raw tokens, saving 75% 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.detail"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.