Docs / Platforms / Telegram3 operations / 3 live / 0 mapped

Telegram

Telegram is exposed through 3 live operations covering public profiles and creator metadata, posts, videos and catalog records. The full reference is below; mapped routes are explicitly disabled and never charge credits.
Overview & use cases

What Telegram data is for.

Live Telegram capabilities, credit floor, and typical lookup workflows.

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.

Contract / auth

Auth & error contract.

The platform follows the same gateway and billing rules as the rest of CleanFetch.

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.

Reference / 3

Operations

Live routes are expanded first with parameters, request example and response fields. Mapped routes are compact placeholders.

Live / 3

ready
GET

Telegram channel

/v1/telegram/channels/{handle}
1 credits3/day free0.08333333333333333h cache
NameTypeRequiredDescription
handlestringyesPublic handle or username.
Request
curl -s "https://api.cleanfetch.dev/v1/telegram/channels/{handle}?handle=example" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "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[].createdAt

Input 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.
GET

Telegram channel posts

/v1/telegram/channels/{handle}/posts
1 credits3/day free0.08333333333333333h cache
NameTypeRequiredDescription
handlestringyesPublic handle or username.
cursorstringnoLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/telegram/channels/{handle}/posts?handle=example" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "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[].createdAt

Input 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.
GET

Telegram post

/v1/telegram/channels/{handle}/posts/{postId}
1 credits3/day free0.08333333333333333h cache
NameTypeRequiredDescription
handlestringyesPublic handle or username.
postIdstringyesLookup parameter.
Request
curl -s "https://api.cleanfetch.dev/v1/telegram/channels/{handle}/posts/{postId}?handle=example&postId=example" \
  -H "x-api-key: $CLEANFETCH_API_KEY"
Response
{
  "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[].createdAt

Input 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.
FAQ / Telegram

Common Telegram API questions

Pricing, caching, authentication, and placeholder behavior.
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.

ready