GET /v1/telegram/web/fetch_channel_posts
Get channel posts (paginated)
stable · 2 credits per success
Fetch a public channel's recent posts (text, photos, videos, forwards, replies, link previews, reactions, views, time).;channel: Channel username (required).;limit: Number of posts (1-100, default 20; when >20 the server automatically pages toward older posts).;before: Pagination cursor — fetch older posts, pass `data.pagination.before_cursor` from the previous page.;after: Pagination cursor — fe…
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| after | integer | query | no | 取更新:传上页 after_cursor | 0 |
| limit | integer | query | no | 返回条数 | 20 |
| before | integer | query | no | 取更老:传上页 before_cursor | 0 |
| channel | string | query | yes | 频道用户名 | durov |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 2 credits. Any failure — including a 200 that fails the quality gate — costs 0.