# Telegram Post Comments API

> Returns comments from the linked discussion group of a specified Telegram channel post. Filters include the channel username, post ID, and an optional limit.

Source: https://www.sandbase.ai/apis/telegram/web/post-comments
API reference: https://www.sandbase.ai/apis/telegram/web/post-comments/docs

## Facts

- Provider: Telegram
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/telegram/web/post-comments`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, telegram
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/telegram/web/post-comments` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `channel` | string | yes |  |
| `post_id` | integer | yes |  |
| `limit` | integer | no |  |

## 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.

## 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

```bash
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 `limit` parameter supports values between 1 and 100.

#### Related APIs

- [Telegram Batch Channel Info](/model/telegram/web/batch-channel-info): Returns basic channel profile details including title, description, and verified status for multiple public Telegram channels at once.
- [Telegram Channel Info](/model/telegram/web/channel-info): Returns public metadata for a Telegram channel, including title, description, verified status, and username, using the public web preview.
- [Telegram Channel Posts](/model/telegram/web/channel-posts): Get a public Telegram channel's recent posts: text, media, forwards, replies, link previews, reactions, views and time, with cursor pagination.
