The Telegram Public Channel Data API allows users to access public channels on the Telegram messaging app. This API provides a way to fetch messages and metadata from public channels, including the channel name, description, and the number of members. It allows developers to interact with Telegram's platform and create new tools and applications.
This API can be used to build chatbots that can be used to automate tasks in public channels, such as answering frequently asked questions, moderating content, or providing customer support. It can also be used to monitor channels for certain keywords or phrases, which can be useful for brand management or reputation monitoring. Additionally, the API allows developers to analyze conversations on public channels, which can be used to gain insights into customer sentiment, identify trends, or evaluate the effectiveness of marketing campaigns.
The API is well-documented and easy to use, making it accessible to developers of all skill levels. It also has a large community of developers, which can provide support and resources to help you get started.
In summary, Telegram Public Channel Data API is a powerful tool that allows developers to access and interact with Telegram's public channels, providing a wealth of opportunities for creating new and innovative tools and applications. It can be used for various purposes such as building chatbots, monitoring channels, or analyzing conversations on public channels. With this API, you can easily extract valuable insights from Telegram's platform, helping you to stay ahead of the competition.
It will receive parameters and provide you with a JSON.
Building a chatbot to automate tasks in public Telegram channels, such as answering frequently asked questions or providing customer support.
Monitoring public Telegram channels for certain keywords or phrases, to gain insights into customer sentiment or evaluate the effectiveness of marketing campaigns.
Creating a tool to analyze conversations on public Telegram channels, to identify trends or gain insights into customer preferences.
Building a social media monitoring tool to track mentions of a brand or product on public Telegram channels.
Creating a news aggregator that automatically collects and curates news from public Telegram channels.
Building a tool to analyze the performance of public Telegram channels, such as the number of members or the number of messages posted.
Creating a virtual assistant that can help users navigate and join public Telegram channels based on their interests.
Building a tool to scrape messages and metadata from public Telegram channels for research or analysis purposes.
Creating a tool to automatically post messages or content to multiple public Telegram channels at once.
Building a tool to track the growth of public Telegram channels over time and identify popular channels in a specific topic or niche.
Basic Plan: 20,000 API Calls.
Pro Plan: 60,000 API Calls.
Pro Plus Plan: 200,000 API Calls.
Premium Plan: 500,000 API Calls.
The "Fetch Telegram Channel Info" endpoint allows users to retrieve metadata from a specific Telegram public channel. The endpoint returns information such as the channel name, description, number of members, and whether the channel is verified or not. This endpoint is useful for those looking to gain insights about a specific channel, such as the number of followers or the type of content that is shared. This information can be used to monitor the performance of a channel, evaluate the effectiveness of a marketing campaign, or research the competition. The endpoint also allows getting the information of a channel such as the creation date, and the username of the channel. The endpoint can also be used by chatbot developers to interact with a specific channel.
Fetch Public Telegram Channel Info - Endpoint Features
| Object | Description |
|---|---|
channel |
[Required] The name of the Telegram public channel. For example: TelegramTips (The channel name can be found in the link of the channel t.me/TelgramTips). |
{
"id": "{\"$numberInt\":\"1224624669\"}",
"chat_type": "channel",
"verified": true,
"title": "Telegram Tips",
"description": "Telegram stands for freedom and privacy and has many easy to use features.",
"image": "https://cdn4.cdn-telegram.org/file/lbEK023BeNOV8o0-o108VdtPAUzBcSbFS6Kwr7SmdTLL_qGgQuMOEejZnPjGwsFg0LuX7sJL9z_oVo4OUqeVoUs8lfY3BREae6_hH7U_9wV25gleKR5mlQtHCY9ct9znYqM8HN4qfu084tt1fK1vnOk3KA2Tux5BtiV2695u5-Qa81ONBr4Y4Xu5OO5wyxX11emlcPFSz-bLlL_YbakQRNyu1jOpOUK5JS-rM8nF1dOaKUuOKP3vS2cPfL8KvqP1TjPSZe1jCpKJbMlWfwEN0sv71EE57wvDtKcp9L3o_VqDzov1Dm2VjmmqViAPmGCsRJdeslFecETTtFW4N7lZ1g.jpg",
"subscribers": "13197730",
"subscribers_online": "0"
}
curl --location --request GET 'https://zylalabs.com/api/962/telegram+public+channel+data+api/788/fetch+public+telegram+channel+info?channel=telegram' --header 'Authorization: Bearer YOUR_API_KEY'
The "Fetch Public Telegram Channel Messages" endpoint allows users to retrieve messages from a specific public Telegram channel. The endpoint returns information such as the message text, sender's username, and timestamp.
Fetch Public Telegram Channel Messages - Endpoint Features
| Object | Description |
|---|---|
channel |
[Required] The name of the Telegram public channel. For example: TelegramTips (The channel name can be found in the link of the channel t.me/TelgramTips). |
limit |
Optional The number of the last message in the Telegram Public Channel. |
[
{
"id": "1398",
"author": "PRO Китайскую АстрологиюPRO Китайскую Астрологию",
"date": "2025-01-25T01:48:23+00:00",
"user_read_status": "unread",
"text": "По опросу пока лидирует Вода, есть еще возможность оставить свой голос и в понедельник поделюсь рекомендациями для следующей энергии 🌊🔥🗡️⛰️",
"html": "\u003cp\u003eПо опросу пока лидирует Вода, есть еще возможность оставить свой голос и в понедельник поделюсь рекомендациями для следующей энергии \u003ci class=\"emoji\" style=\"background-image:url(\u0026#39;//telegram.org/img/emoji/40/F09F8C8A.png\u0026#39;)\"\u003e\u003cb\u003e🌊\u003c/b\u003e\u003c/i\u003e\u003ci class=\"emoji\" style=\"background-image:url(\u0026#39;//telegram.org/img/emoji/40/F09F94A5.png\u0026#39;)\"\u003e\u003cb\u003e🔥\u003c/b\u003e\u003c/i\u003e\u003ci class=\"emoji\" style=\"background-image:url(\u0026#39;//telegram.org/img/emoji/40/F09F97A1.png\u0026#39;)\"\u003e\u003cb\u003e🗡️\u003c/b\u003e\u003c/i\u003e\u003ci class=\"emoji\" style=\"background-image:url(\u0026#39;//telegram.org/img/emoji/40/E29BB0.png\u0026#39;)\"\u003e\u003cb\u003e⛰️\u003c/b\u003e\u003c/i\u003e\u003c/p\u003e",
"views": "82",
"forwarded": {},
"button": {},
"link": {},
"photo": {},
"video": {},
"audio": {},
"sticker": {},
"attachment": {},
"media_poll": {}
},
{
"id": "1397",
"author": "PRO Китайскую Астрологию",
"date": "2025-01-25T01:33:02+00:00",
"user_read_status": "unread",
"text": "Мой опыт отслеживания «негативных» комбинаций в периоде времени",
"html": "\u003cp\u003e\u003ci\u003eМой опыт отслеживания «негативных» комбинаций в периоде времени\u003c/i\u003e\u003c/p\u003e",
"views": "88",
"forwarded": {},
"button": {},
"link": {},
"photo": {},
"video": {},
"audio": {
"duration": "3:29",
"url": "https://cdn4.cdn-telegram.org/file/829cc5ad51.ogg?token=lPeW3FSD_WJ7qPEOm7cdRbF3g7CuSLECApy6ZClJ7_sYlhBtbdVrwSlc3YTlbFlnoggCIW_wwin5ziXAhF4LRHdLKawp-S1IpKSagGA07HRuvF6C7Gk8MDq4jXTaXr1waG9KVLy4mvFN6emASAwF6HJ9mnhiPH2jxhTvUGOaUqdlokBDa_p4v3YWJQqWTMbJRA453e_cxkb1ATZ0x6qyyUm7H80dxwyn1XhyvPgnjPsRRR8NJA3ToHMyegxD_GpNAcIMVk9nVKD7U6EM67w3ff53XtlDc7F_tpa97VXPrOnQIIoHauwgxHevVgfo-37-4q5DwXI1giFpefJj0DVXoA"
},
"sticker": {},
"attachment": {},
"media_poll": {}
},
{
"id": "1396",
"author": "PRO Китайскую Астрологию",
"date": "2025-01-25T01:08:04+00:00",
"user_read_status": "unread",
"text": "",
"html": "",
"views": "91",
"forwarded": {},
"button": {},
"link": {},
"photo": {},
"video": {},
"audio": {},
"sticker": {},
"attachment": {},
"media_poll": {}
},
{
"id": "1395",
"author": "PRO Китайскую Астрологию",
"date": "2025-01-23T07:38:13+00:00",
"user_read_status": "unread",
"text": "Вдруг вы думаете, что я очень серьезная 🤣 а вообще приехала на место, сегодня играю спектакль с театром «Веретено», пока жду, волнуюсь и снимаю напряжение через энергичную песню 😅",
"html": "\u003cp\u003eВдруг вы думаете, что я очень серьезная \u003ci class=\"emoji\" style=\"background-image:url(\u0026#39;//telegram.org/img/emoji/40/F09FA4A3.png\u0026#39;)\"\u003e\u003cb\u003e🤣\u003c/b\u003e\u003c/i\u003e а вообще приехала на место, сегодня играю спектакль с театром «Веретено», пока жду, волнуюсь и снимаю напряжение через энергичную песню \u003ctg-emoji emoji-id=\"5328098262891112273\"\u003e\u003ci class=\"emoji\" style=\"background-image:url(\u0026#39;//telegram.org/img/emoji/40/F09F9885.png\u0026#39;)\"\u003e\u003cb\u003e😅\u003c/b\u003e\u003c/i\u003e\u003c/tg-emoji\u003e\u003c/p\u003e",
"views": "143",
"forwarded": {},
"button": {},
"link": {},
"photo": {},
"video": {
"caption": "Вдруг вы думаете, что я очень серьезная 🤣 а вообще приехала на место, сегодня играю спектакль с театром «Веретено», пока жду, волнуюсь и снимаю напряжение через энергичную песню 😅",
"url": "https://cdn4.cdn-telegram.org/file/1e05d2c468.mp4?token=olFNvTountyqTp8xPGcIMsJYiito6wWcBVsZtu-1qokSZIteW-wcJZ-xJKiPZc_BbjfG9v77LKnzvdEgyHUwaixxD7UBeh3zdUvMW851Cfl44s_Hx8LBRfaDJpBXsoCsAYgGx8IipAi9B-s9sxboFPI_5EtNGNlWunOuk8N_2fpBf5vlNNo02p7zFjYhNm0kzusz9FFIem8TaWsFsJoWAdEklWSzUTq9LvZ6Cx4dgI-RsPsDawT7VS4tfUe3Bm09T3Ipnfj_hXPnnUVa0wNHRCyvrauQ05mWquB_qHbgbcSNXu3KRwi8omWwAnz4uQmltpIaOKdS7_tmazNngnzXgw"
},
"audio": {},
"sticker": {},
"attachment": {},
"media_poll": {}
},
{
"id": "1394",
"author": "PRO Китайскую Астрологию",
"date": "2025-01-23T02:44:13+00:00",
"user_read_status": "read",
"text": "Про проявленность и видимость, про быть заметным",
"html": "\u003cp\u003e\u003cb\u003eПро проявленность и видимость, про быть заметным\u003c/b\u003e\u003c/p\u003e",
"views": "151",
"forwarded": {},
"button": {},
"link": {},
"photo": {},
"video": {},
"audio": {
"duration": "3:59",
"url": "https://cdn4.cdn-telegram.org/file/b6bd340db3.ogg?token=Yu_0c3JE_pu3bKfQ73y7czzOO_i8v51fX7kKF8G18FmJ52JC2wFUjTKu7KfGgHHo-E9oN-6ZcTpV-nZag3w3SRBUx9-2b63Rnm1WjkKUyIOfso6qIP3qAaZBaV0GwEVrfW06qx1Tz5rQ-4JZDiMNFyWELcu2QFgDvQSb3zsUY3ZnNZCUAnY8XpLp6vESSTFOTs6YKnvyN-uEn1thglk73zrWMZzKH9N2LJ5kjwO6Sj9JYelps9xVq6nlikdOEJAIkiJKrHwNXxQyxacLxtiAlpUHUsttr_YK5Ktq3owM971iLO4YP4MosgUwgHk1JrjJpR7yiwy4e3EjvKXz0Y0KNg"
},
"sticker": {},
"attachment": {},
"media_poll": {}
}
]
curl --location --request GET 'https://zylalabs.com/api/962/telegram+public+channel+data+api/789/fetch+public+telegram+channel+messages?channel=instagram&limit=1' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The "Fetch Public Telegram Channel Info" endpoint returns metadata about a specific channel, including the channel name, description, number of members, and verification status. The "Fetch Public Telegram Channel Messages" endpoint returns messages from the channel, including message text, sender's username, and timestamp.
For the channel info endpoint, key fields include "channel_name," "description," "member_count," and "verified." For the messages endpoint, key fields include "id," "author," "date," "user_read_status," and "text."
The response from the channel info endpoint is structured as a JSON object containing key-value pairs. The messages endpoint returns an array of JSON objects, each representing a message with its associated fields.
The primary parameter for both endpoints is the "channel_name," which specifies the public channel to fetch data from. Additional parameters may include filters for message retrieval, such as date ranges or specific keywords.
The channel info endpoint provides insights into the channel's identity and popularity, while the messages endpoint offers detailed content from the channel, allowing users to analyze discussions and interactions.
Users can analyze channel metadata to assess engagement and popularity, while message data can be used for sentiment analysis, trend identification, or content moderation, enhancing user interaction and marketing strategies.
Common use cases include building chatbots for customer support, monitoring brand mentions, analyzing customer sentiment, and creating news aggregators that curate content from multiple channels.
Data accuracy is maintained through Telegram's real-time updates and the API's direct access to public channel information. Regular checks and validations ensure that the data reflects the current state of the channels.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
506ms
Service Level:
100%
Response Time:
854ms
Service Level:
100%
Response Time:
370ms
Service Level:
100%
Response Time:
60ms
Service Level:
100%
Response Time:
369ms
Service Level:
100%
Response Time:
555ms
Service Level:
100%
Response Time:
13,682ms
Service Level:
100%
Response Time:
1,738ms
Service Level:
100%
Response Time:
39ms
Service Level:
100%
Response Time:
8,424ms
Service Level:
100%
Response Time:
396ms
Service Level:
100%
Response Time:
863ms
Service Level:
100%
Response Time:
1,029ms
Service Level:
100%
Response Time:
800ms
Service Level:
100%
Response Time:
134ms
Service Level:
100%
Response Time:
1,078ms
Service Level:
100%
Response Time:
1,241ms
Service Level:
100%
Response Time:
219ms
Service Level:
100%
Response Time:
239ms
Service Level:
100%
Response Time:
814ms