The Telegram channel scraper API for public channel profiles

Look up any public Telegram channel or group by username. Get the title, size and media counts as JSON.

Telegram Channel API at a glance

This API returns the profile of one public Telegram channel. Send a POST request with a username, then read the channel object from the response. Run the example below to see the exact shape.

Endpoint
POST /v1/data/telegram/channel
Authentication
API key as Authorization: Bearer wh_…
Stage
Stable
Output
One channel object with title, username, description, subscribers, photos, videos, links, verified, photo_url and url
Input
A channel or group username, with or without the @ sign, from 1 to 100 characters
Scope
Public data only. The API does not return messages. Use Telegram Messages for posts.
Targets per request
One username
Credit weight
1. See the pricing page for current rates.

One request, structured JSON.

This request looks up the Telegram News channel by username. The response shows the channel object without its photo link. Copy the request to try it yourself.

POST /v1/data/telegram/channel
curl -X POST "https://api.datablue.dev/v1/data/telegram/channel" \
  -H "Authorization: Bearer wh_..." \
  -H "Content-Type: application/json" \
  -d '{
    "username": "telegram"
  }'
Response (trimmed to 9 of 10 channel fields)
{
  "success": true,
  "time_taken": 0.62,
  "channel": {
    "title": "Telegram News",
    "username": "@telegram",
    "description": "The official Telegram on Telegram. Much recursion. Very Telegram. Wow.",
    "subscribers": 9080000,
    "photos": 16,
    "videos": 228,
    "links": 378,
    "verified": true,
    "url": "https://t.me/telegram"
  }
}

What a Telegram channel returns.

Every lookup returns one flat channel object.

Name and handle

The title field holds the public name of the channel, while the username field holds the handle with an @ sign. Store the username as your join key.

Description

The description field returns the text from the channel profile, so read it to sort channels by topic.

Subscribers

The subscribers field is a whole number. Our sample channel returned 9080000 subscribers when we ran it. Record the value on a schedule to watch growth.

Media counts

The photos and videos fields count media in the channel. The links field counts the links in the channel. The sample returned 16 photos and 228 videos.

Verification

The verified flag is true for our sample channel. Filter on it to split verified channels from the rest.

Links and photo

The url field holds the t.me link for the channel. A photo_url field points to the channel photo. Open the url to check any result by eye.

One option that shapes your lookup.

This API takes a single required parameter. Every other value comes back in the response.

Username

Set username to the handle of your target channel. The @ sign is optional, so the values telegram and @telegram both work in the same way. The value runs from 1 to 100 characters.

Channels and groups

The schema accepts a channel username or a group username. Check each response to see which fields your target returns.

One target per call

Each request looks up exactly one username. Loop over your list of usernames to cover them all.

What teams build with it.

A channel profile answers the sizing questions first. Pick the checks that fit your work.

Audience sizing

Read subscribers for a list of channels, then rank them to decide where a partnership fits best.

Growth tracking

Call the API every day and store the subscribers value. Plot the series to spot sudden jumps.

Channel directories

Build a directory from title, description and verified. Refresh each entry when you add new handles.

Vetting before you read posts

Check a channel profile before you pull its posts. Then call Telegram Messages for the posts.

Why call an API instead of scraping Telegram yourself.

A profile lookup looks small until you run it across a long list of handles. You then need retry logic and a stable schema.

DataBlue returns the profile as one flat object. Counts arrive as numbers, while verified arrives as a boolean. Your code reads each field by name.

Every field on this page appears in a live response. Build against those fields first, then widen your work to the other Telegram APIs as your needs grow. Start with a single username from a channel you follow.

Your first Telegram lookup in a minute.

Create a key and run a single lookup.

  1. Create an account

    Sign up to get your API key.

  2. Send a username

    Send a POST request with the username to /v1/data/telegram/channel. Add your Bearer key as the Authorization header.

  3. Read the channel

    Read each field straight off the channel object.

Responsible use of Telegram data.

This API covers public Telegram data only. Telegram publishes its own terms of service. Read them before you use the data commercially.

You are responsible for how you use the data, including privacy law in your region. This page gives general information, not legal advice. Review the DataBlue terms of service before you build.

Telegram channel scraper API questions.

Short answers about data and billing before you start.

It turns a public Telegram channel profile into structured JSON. One request returns exactly one channel object.

Send a POST request to /v1/data/telegram/channel with a Bearer token and a username in the body. Then read the channel object from the response.

No, the @ sign is optional in the username value. Use whichever form your list already holds.

It covers public channel and group profiles only. Send only the usernames of public channels or groups.

This API returns the profile only, so use Telegram Messages to read recent posts from a channel. Use Telegram Message to read one post by ID.

Telegram Channel describes the channel itself and nothing else. Telegram Messages returns up to 50 recent posts, while Telegram Message returns one post by ID. Pick the one that matches your question.

This API is marked stable in our catalogue today. Build against the documented fields, then check the changelog before each upgrade you ship to production.

This API has a credit weight of 1. Check the pricing page for current rates.

Look up a Telegram channel in a minute.

Create an account to get your key. Then run the example with a username of your choice.

Start free