toolzerhub API Docs

Get channel and posts

Returns a public channel's header (title, username, description, counters) and up to 20 posts (text, media, view count, timestamp, forward/reply info). Requires channel. Optional before or after page the stream; the two cannot be combined. Unknown or private channels return data: null.

1 credit / requestBilled only on success
GET
/v1/telegram/channel

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

channel*string

Public channel username, e.g. telegram. Accepts @telegram, t.me/telegram or a post link. Private channels, groups and unknown names return data: null.

before?integer

Return the 20 messages older than this message number — a cursor into a stream, not a page index. Use the LOWEST message number on the page you just read, not the highest; next_before in each response already has this value, so you never need to compute it. Cannot be combined with after.

Range1 <= value <= 100000000
after?integer

Return the 20 messages newer than this message number — the mirror of before. Use next_after from the previous response, or a stored newest_message_number to catch up on what's new since. Cannot be combined with before.

Range1 <= value <= 100000000
curl -X GET "https://example.com/v1/telegram/channel?channel=telegram" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "channel": "telegram",    "url": "https://t.me/s/telegram",    "title": "Telegram News",    "username": "telegram",    "description": "The official Telegram on Telegram.",    "subscribers_display": "9.82M",    "counters": {      "subscribers": "9.82M",      "photos": "14",      "videos": "225",      "links": "372"    },    "messages": [      {        "id": "telegram/435",        "message_number": 435,        "url": "https://t.me/telegram/435",        "published_at": "2026-04-09T07:01:44+00:00",        "views_display": "1.56M",        "text": "Hello world",        "photo_url": "https://cdn4.telesco.pe/file/photo.jpg",        "video_url": "https://cdn4.telesco.pe/file/clip.mp4",        "forwarded_from_name": "Other Channel",        "reply_to_text": "earlier post"      }    ],    "count": 20,    "page_size": 20,    "before": null,    "after": null,    "oldest_message_number": 435,    "newest_message_number": 454,    "next_before": 435,    "next_after": 454,    "exhausted": false  }}