Telegram
What Telegram data is for.
Use Telegram when you need public profiles and creator metadata, posts, videos and catalog records without maintaining a separate adapter for each route. Start with the lowest-cost live operation, then add search or list endpoints only when the response shape fits your product.
Live
3
Paid only
0
Price floor
1 cr
Use cases
Telegram channel
Call /v1/telegram/channels/{handle} when you need a normalized telegram channel response with the same credit and cache rules as the rest of the catalog.
Telegram channel posts
Call /v1/telegram/channels/{handle}/posts when you need a normalized telegram channel posts response with the same credit and cache rules as the rest of the catalog.
Telegram post
Call /v1/telegram/channels/{handle}/posts/{postId} when you need a normalized telegram post response with the same credit and cache rules as the rest of the catalog.
Auth & error contract.
Auth
Send x-api-key: cf_live_... or Authorization: Bearer cf_live_.... A missing or invalid key returns 401.
Billing
Successful lookups charge the listed credits. Cache hits, 5xx responses and mapped 503 routes cost 0 credits.
Limits
429 includes Retry-After and costs nothing. Paid-only routes return 403 plan_required before any provider call.
Mapped routes
Every route on this page is live.
Operations
Live / 3
readyTelegram channel
/v1/telegram/channels/{handle}| Name | Type | Required | Description |
|---|---|---|---|
| handle | string | yes | Public handle or username. |
curl -s "https://api.cleanfetch.dev/v1/telegram/channels/{handle}?handle=example" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "telegram",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 0.08333333333333333h.
- • A public record that does not exist returns not_found and is charged once.
Telegram channel posts
/v1/telegram/channels/{handle}/posts| Name | Type | Required | Description |
|---|---|---|---|
| handle | string | yes | Public handle or username. |
| cursor | string | no | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/telegram/channels/{handle}/posts?handle=example" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "telegram",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 0.08333333333333333h.
- • A public record that does not exist returns not_found and is charged once.
Telegram post
/v1/telegram/channels/{handle}/posts/{postId}| Name | Type | Required | Description |
|---|---|---|---|
| handle | string | yes | Public handle or username. |
| postId | string | yes | Lookup parameter. |
curl -s "https://api.cleanfetch.dev/v1/telegram/channels/{handle}/posts/{postId}?handle=example&postId=example" \
-H "x-api-key: $CLEANFETCH_API_KEY"{
"data": {
"platform": "telegram",
"count": 1,
"items": [
{
"id": "123456",
"url": "https://example.com/item/123456",
"text": "Example public post returned by this endpoint.",
"createdAt": "2026-11-30T00:00:00.000Z",
"author": {
"username": "nasa",
"name": "NASA"
}
}
]
},
"meta": {
"lookupStatus": "found",
"creditsCharged": 1,
"cached": false
}
}Returns
platformcountitems[].iditems[].urlitems[].textitems[].createdAtInput notes
- • Free accounts can call this endpoint up to 3 times per day.
- • Responses are cached for 0.08333333333333333h.
- • A public record that does not exist returns not_found and is charged once.
Common Telegram API questions
How many Telegram operations are live?
3 of 3 cataloged operations are live. Every operation in this reference is live.
What does a Telegram call cost?
Live operations range from 1 to 1 credits. 3 are available on the free daily cap and 0 are paid-only. Cache hits cost 0 credits.
Are Telegram responses cached?
Successful responses are cached between 0.08333333333333333h and 0.08333333333333333h. A cache hit costs 0 credits and does not consume the free daily cap.
How do I authenticate Telegram requests?
Send x-api-key or Authorization: Bearer with a CleanFetch key. Missing or invalid keys return 401; paid-only routes return 403 plan_required; rate limits return 429 with Retry-After. A 5xx or timeout costs 0 credits.