Discover/TGStat API
live

TGStat APIin.tgstat.com

Search Telegram channels and groups, get ranked ratings lists, and fetch detailed channel profiles including subscriber metrics and category data via the TGStat API.

Endpoints
4
Updated
17d ago
Try it
Pagination page number, use nextPage from previous response to get next page of results
Sort order. Accepted values: participants, avg_reach, ci_index, members_t, members_y, memb
Keyword to search for in channel name or description
Country ID to filter results by (e.g. 8 for India, 1 for Russia). Omit to search globally.
Category name to filter by (e.g. education, cryptocurrencies)
api.parse.bot/scraper/ebf74fe8-f81a-4263-8013-8aa752ee2694/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X POST 'https://api.parse.bot/scraper/ebf74fe8-f81a-4263-8013-8aa752ee2694/search_channels' \
  -H 'X-API-Key: $PARSE_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "page": "0",
  "sort": "participants",
  "query": "education"
}'
All endpoints · 4 totalclick to expand

Search for Telegram channels using advanced filters like keyword, category, and country. Returns a paginated list of channels with handles, subscriber counts, and internal IDs. Pagination uses the page parameter returned in nextPage.

Input
ParamTypeDescription
pageintegerPagination page number, use nextPage from previous response to get next page of results
sortstringSort order. Accepted values: participants, avg_reach, ci_index, members_t, members_y, members_7d, members_30d
querystringKeyword to search for in channel name or description
countryintegerCountry ID to filter results by (e.g. 8 for India, 1 for Russia). Omit to search globally.
categorystringCategory name to filter by (e.g. education, cryptocurrencies)
Response
{
  "type": "object",
  "fields": {
    "hasMore": "boolean indicating if more results are available",
    "channels": "array of channel objects with name, handle, tgstat_id, and subscribers fields",
    "nextPage": "integer page number for fetching next page of results",
    "nextOffset": "integer offset for next page"
  },
  "sample": {
    "data": {
      "hasMore": true,
      "channels": [
        {
          "name": "Rajasthan Vacancy Education News Sarkari Result Jobs",
          "handle": "@rajasthanvacancy_in",
          "tgstat_id": null,
          "subscribers": "575 403"
        },
        {
          "name": "EDUCATION NEWS RAJASTHAN",
          "handle": "@education_news_rajasthan",
          "tgstat_id": null,
          "subscribers": "510 883"
        }
      ],
      "nextPage": 1,
      "nextOffset": 30
    },
    "status": "success"
  }
}

About the TGStat API

The TGStat API provides 4 endpoints for discovering and analyzing Telegram channels and groups indexed by TGStat. The search_channels endpoint accepts keyword, category, and country filters and returns paginated results with channel handles, subscriber counts, and internal TGStat IDs. The get_channel_profile endpoint delivers detailed metadata including description, category, geo/language tags, and subscriber metrics for any public channel by username.

Search and Filter Telegram Channels

The search_channels endpoint accepts a query string for keyword matching against channel names and descriptions, a category name (e.g. education, cryptocurrencies), a country integer ID (e.g. 8 for India, 1 for Russia), and a sort parameter with options including participants, avg_reach, ci_index, members_7d, and members_30d. Results are paginated: each response includes a hasMore boolean, a nextPage integer, and a nextOffset value to iterate through additional pages. Each item in the channels array carries name, handle, tgstat_id, and subscribers.

Channel and Group Ratings

The get_ratings_channels endpoint returns a ranked list of Telegram channels filterable by category and sortable by members or reach. The get_ratings_groups endpoint provides the same structure for Telegram groups and chats, with members as the verified sort value. Both return arrays of objects with name, handle, tgstat_id, and subscribers (or member counts), making them suitable for building leaderboards or benchmarking a channel against peers in a given category.

Channel Profile Detail

The get_channel_profile endpoint accepts a Telegram username with or without the @ prefix and returns a single structured object. Fields include title, handle, description, tgstat_id, a url pointing to the TGStat profile page, an info object with category and geo/language metadata, and a metrics object containing subscriber count and related figures. This endpoint is the right starting point when you have a specific channel handle and need its full public profile in one call.

Common use cases
  • Build a Telegram channel discovery tool filtered by country and category using search_channels
  • Track subscriber count changes over time by periodically calling get_channel_profile for a list of handles
  • Generate category leaderboards for Telegram channels using get_ratings_channels sorted by reach
  • Compare group membership across categories using get_ratings_groups with a category filter
  • Identify top Telegram channels in a niche (e.g. cryptocurrencies) for influencer or partnership research
  • Enrich a Telegram handle database with category, geo, and description data via get_channel_profile
  • Monitor new entrants in a category by paginating search_channels sorted by members_30d
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does TGStat offer an official developer API?+
Yes. TGStat publishes an official API at tgstat.ru/en/api. It requires registration and provides access to channel statistics, post data, and mentions. The Parse TGStat API covers channel search, ratings, and profiles without requiring you to obtain TGStat API credentials.
What does get_channel_profile return that the search and ratings endpoints do not?+
The get_channel_profile endpoint returns the full description text, a structured info object with category and geo/language metadata, a direct url to the TGStat profile page, and a metrics object with subscriber detail. The search and ratings endpoints return a lighter set: name, handle, tgstat_id, and subscribers only.
How does pagination work in search_channels?+
Each search_channels response includes a hasMore boolean, a nextPage integer, and a nextOffset integer. Pass the nextPage value as the page parameter in your next request to retrieve the following page. Continue until hasMore is false.
Does the API return individual post content or historical subscriber growth data?+
No. The API covers channel and group discovery (search_channels, get_ratings_channels, get_ratings_groups) and static profile snapshots (get_channel_profile). Post-level content, mention tracking, and time-series subscriber history are not included. You can fork this API on Parse and revise it to add an endpoint targeting post or growth data from TGStat.
Are private or restricted Telegram channels included in results?+
Results reflect publicly indexed channels and groups on TGStat. Private channels that are not indexed by TGStat will not appear in search or ratings results, and get_channel_profile will not return a profile for a handle that has no public TGStat listing.
Page content last updated . Spec covers 4 endpoints from in.tgstat.com.
Related APIs in Social MediaSee all →
viewstats.com API
viewstats.com API
app.channelcrawler.com API
Search and discover YouTube channels across a database of 22M+ channels to find creators, communities, and content in your areas of interest. Get detailed channel information including stats and metadata to research creators and understand their audience.
twitch.tv API
Search for Twitch streamers and channels, view their profiles and streaming details, and discover live streams organized by category. Find the content and creators you want to watch all in one place.
g2.com API
Search G2.com to discover software products, compare pricing and categories, and read customer reviews all in one place. Get detailed product overviews and ratings to make informed decisions about business software.
g2a.com API
Search for game keys and get real-time pricing, seller ratings, and detailed product information from G2A's marketplace. Browse available categories and find the best deals on digital game licenses from verified sellers.
signalstart.com API
Browse and search forex signals from SignalStart.com to access performance metrics, trade history, and historical growth charts. Compare signal details to make informed trading decisions based on real performance data.
threads.com API
Search for posts and users on Threads by keyword to discover content, view engagement metrics like likes and replies, and explore user profiles with their media. Find trending discussions and connect with creators all in one search experience.
gumroad.com API
Browse and extract data from the Gumroad marketplace. Search products by keyword, category, price, and rating; retrieve full product details; and look up seller profiles and their listed products.
TGStat API – Telegram Channel Search & Ratings · Parse