Telegram Post Comments
https://api.sandbase.ai/v1/api/telegram/web/post-commentsReturns comments from the linked discussion group of a specified Telegram channel post. Filters include the channel username, post ID, and an optional limit.
- Price
- $0.0015USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 2 required · 1 optional
Try the model
Playground
[
{
"data": {
"channel": "example",
"comments": [],
"mtproto_required": true,
"note": "帖子评论需要在「设置」页启用并登录 MTProto 后端",
"post_id": 1
}
}
]Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.0015 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- channel
- string · required
- post_id
- integer · required
- limit
- integer · optional
Access
- Provider
- Telegram
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/telegram/web/post-comments
- Authentication
- Bearer API key
API README
Telegram Post Comments API
Retrieve discussion comments for a specific post using channel and post_id. Use limit to adjust the number of comments returned.
Use cases
- Analyze user discussions and feedback on specific channel posts.
- Monitor linked group responses to broad channel announcements.
- Archive comment threads connected to public channel content.
Request
curl -X POST "https://api.sandbase.ai/v1/api/telegram/web/post-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channel": "telegram", "post_id": 450}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | Channel username; post_id: Post ID; limit: number of comments (1-100). |
post_id | integer | Yes | Post ID |
limit | integer | No | Number of comments |
Notes
- The
limitparameter supports values between 1 and 100.
Related APIs
- Telegram Batch Channel Info: Returns basic channel profile details including title, description, and verified status for multiple public Telegram channels at once.
- Telegram Channel Info: Returns public metadata for a Telegram channel, including title, description, verified status, and username, using the public web preview.
- Telegram Channel Posts: Get a public Telegram channel's recent posts: text, media, forwards, replies, link previews, reactions, views and time, with cursor pagination.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/telegram/web/post-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"channel": "example",
"post_id": 1
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Telegram Post CommentsThis API Telegram | $0.0015 per call | JSON | Jul 31, 2026 |
Telegram | $0.01 per call | JSON | Jul 31, 2026 |
Telegram | $0.0015 per call | JSON | Jul 31, 2026 |
Telegram | $0.0015 per call | JSON | Jul 31, 2026 |
Telegram | $0.0015 per call | JSON | Jul 31, 2026 |
Telegram | $0.0015 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Telegram Post Comments API?
Send a POST request to https://api.sandbase.ai/v1/api/telegram/web/post-comments with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Telegram Post Comments API cost?
$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Telegram Post Comments API accept?
Required: channel (string) and post_id (integer). Optional: limit (integer). The Parameters table and the Playground on this page list every field.
What does the Telegram Post Comments API return?
A JSON response returned in the same HTTP request (synchronous).
Do I need a Telegram developer account or API key?
No. Telegram Post Comments runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Telegram API access separately.
