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.
{
"id": "{\"$numberInt\":\"1005640892\"}",
"chat_type": "channel",
"verified": true,
"title": "Telegram News",
"description": "The official Telegram on Telegram. Much recursion. Very Telegram. Wow.",
"image": "https://cdn1.telesco.pe/file/iCSHtMjyy4RTUijqkayyajelhTTitXLe5hHxjWT74Y9Qf1WZAPQWAxJI32iLef0Gw8K67KlIie5H-jxlhKogEu-0Dt3z7GFTZ5tQnrUD69t5exPkrjCuzvKnSmTTKCyx8qYWmPZSyd0Yg4xyZMcaSkKNEPRhLNL4dw6BQ49MPmKAxw2rkwVu23XsNMPWVdLxe9nZZ16kkKYz5e0fYq6oQnQtK1CCmhj0HrFEV7coYK4vomZ_RY1tILqDYBi164QF9tbysKUlp1AXXbYNCjVuya_lG-RBnfA8GgXxLy_nQ5O6jpf9ZXiygF7_9ZVJ1R4vUgHENPVG0DZihbmWiwAUhQ.jpg",
"subscribers": "10724148",
"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'
[
{
"id": "363",
"author": "@creators",
"date": "2025-07-03T01:15:53+00:00",
"user_read_status": "unread",
"text": "@snoopdogg back in the day 🎁",
"html": "\u003cp\u003e\u003ca href=\"https://t.me/snoopdogg\" target=\"_blank\"\u003e@snoopdogg\u003c/a\u003e back in the day \u003ctg-emoji emoji-id=\"5431782999664392737\"\u003e\u003ci class=\"emoji\" style=\"background-image:url(\u0026#39;//telegram.org/img/emoji/40/F09F8E81.png\u0026#39;)\"\u003e\u003cb\u003e🎁\u003c/b\u003e\u003c/i\u003e\u003c/tg-emoji\u003e\u003c/p\u003e",
"views": "512000",
"forwarded": {},
"button": {},
"link": {},
"photo": {
"caption": "@snoopdogg back in the day 🎁",
"link": "https://t.me/creators/363",
"url": "https://cdn1.telesco.pe/file/dfpOJe-KIedHsg5g8ujHUsyel1TcKpAwm0kUqaggEJN5mfGu9HoPVQ5mEp-kzJWEmRDcyzVF9SUhh3s-mDM4-xscYs3ZVsM6qP6g-yJLlh1czNXtZG2OlQqpgRckyJj0KSg3tqvg6-mghzUUKrTyOJTrVIplWxqeePF_A0OcM9ARxIvWRcu-lBoN3kkIfo3mNQnMN4IS-LKd7phulvx_HMOBWWPA2XYDrOfmsDX2DesUMv7CGJysubSEP4zu6AsuSUY-7A5a9NwiYxwJ_eXWWNiviS5UghlHt-tybjwJy8Hby1ZaveeZwub7Gw_ytsQr7cMpnfpzkAPxdyDEnEXbiw.jpg"
},
"video": {},
"photos": [
{
"caption": "@snoopdogg back in the day 🎁",
"link": "https://t.me/creators/363",
"url": "https://cdn1.telesco.pe/file/dfpOJe-KIedHsg5g8ujHUsyel1TcKpAwm0kUqaggEJN5mfGu9HoPVQ5mEp-kzJWEmRDcyzVF9SUhh3s-mDM4-xscYs3ZVsM6qP6g-yJLlh1czNXtZG2OlQqpgRckyJj0KSg3tqvg6-mghzUUKrTyOJTrVIplWxqeePF_A0OcM9ARxIvWRcu-lBoN3kkIfo3mNQnMN4IS-LKd7phulvx_HMOBWWPA2XYDrOfmsDX2DesUMv7CGJysubSEP4zu6AsuSUY-7A5a9NwiYxwJ_eXWWNiviS5UghlHt-tybjwJy8Hby1ZaveeZwub7Gw_ytsQr7cMpnfpzkAPxdyDEnEXbiw.jpg"
}
],
"videos": [],
"audio": {},
"sticker": {},
"attachment": {},
"media_poll": {}
},
{
"id": "362",
"author": "@creators",
"date": "2025-06-06T15:59:36+00:00",
"user_read_status": "unread",
"text": "",
"html": "",
"views": "555000",
"forwarded": {},
"button": {},
"link": {},
"photo": {},
"video": {},
"photos": [],
"videos": [],
"audio": {},
"sticker": {},
"attachment": {},
"media_poll": {
"multiple_choice": true,
"options": [
{
"percent": "63%",
"text": "Telegram 🫡"
},
{
"percent": "53%",
"text": "Instagram 😝"
}
],
"question": "Which “gram” is the best?👇",
"views": "555000",
"voters": "20.7K"
}
},
{
"id": "360",
"author": "@creators",
"date": "2025-03-30T10:12:33+00:00",
"user_read_status": "read",
"text": "\"What's your plan for weekend?\"My weekend plans: @khabib_nurmagomedov",
"html": "\u003cp\u003e\u0026#34;What\u0026#39;s your plan for weekend?\u0026#34;\u003cbr/\u003e\u003cbr/\u003eMy weekend plans: \u003cbr/\u003e\u003cbr/\u003e\u003ca href=\"https://t.me/khabib_nurmagomedov\" target=\"_blank\"\u003e@khabib_nurmagomedov\u003c/a\u003e\u003c/p\u003e",
"views": "671000",
"forwarded": {},
"button": {},
"link": {},
"photo": {
"caption": "\"What's your plan for weekend?\"My weekend plans: @khabib_nurmagomedov",
"link": "https://t.me/creators/360",
"url": "https://cdn1.telesco.pe/file/dysGmDyumIHqJ98D6w6Ju7SZFWDyemRtbA_jNdY66QFGa64Vd4J3NJghjwLnCgIcZoW6RxpzZ5w7Xj5DPdU-_KpurUeeWsIf8Lvye_hGPZDTXGTDSB0fPk9Dpv0ka9Cb0qeuPsUhlcxMiMS883i72iaBS6mwl8FCb7ptVBa2--adE2dlogA8v2izaE-QM_trnzpRgjyM3lYN0L0dd2E958toigrOEzHA8i9QLqycJZ8Li3CkoJLAH0QwdIVdU7PrOStjYc6Z81kJHplW0VgiFEUsHLANgeAd7DskSlSszeEwewJROW3pbiZOyU599qLMRuscZbxfOlVCvuVcAzJcoQ.jpg"
},
"video": {},
"photos": [
{
"caption": "\"What's your plan for weekend?\"My weekend plans: @khabib_nurmagomedov",
"link": "https://t.me/creators/360",
"url": "https://cdn1.telesco.pe/file/dysGmDyumIHqJ98D6w6Ju7SZFWDyemRtbA_jNdY66QFGa64Vd4J3NJghjwLnCgIcZoW6RxpzZ5w7Xj5DPdU-_KpurUeeWsIf8Lvye_hGPZDTXGTDSB0fPk9Dpv0ka9Cb0qeuPsUhlcxMiMS883i72iaBS6mwl8FCb7ptVBa2--adE2dlogA8v2izaE-QM_trnzpRgjyM3lYN0L0dd2E958toigrOEzHA8i9QLqycJZ8Li3CkoJLAH0QwdIVdU7PrOStjYc6Z81kJHplW0VgiFEUsHLANgeAd7DskSlSszeEwewJROW3pbiZOyU599qLMRuscZbxfOlVCvuVcAzJcoQ.jpg"
}
],
"videos": [],
"audio": {},
"sticker": {},
"attachment": {},
"media_poll": {}
},
{
"id": "359",
"author": "@creators",
"date": "2025-01-27T07:23:05+00:00",
"user_read_status": "read",
"text": "Me at work on Monday morning",
"html": "\u003cp\u003eMe at work on Monday morning\u003c/p\u003e",
"views": "803000",
"forwarded": {},
"button": {},
"link": {},
"photo": {},
"video": {
"caption": "Me at work on Monday morning",
"url": "https://cdn4.telesco.pe/file/02d9672f82.mp4?token=Zrvp7Dm5KQzBvybpU7WzdliOe0HW6sWcljGGrk6d8KRZuJWZarsmnJU7cf_8gQ5JfaIoVHLDQU42k6WeMR1WG-rFXsK1ZaewROfgcK6O0_eLJiU3jv_YqrGtv_bqzv8iSzyhnRuOYnSFrULeRb4BnMtRvJBg2QxdGXfu6g1Tnyfz3G4M-Z2pi3-RDUU7HvoB3YKt2VMoaZJjhBqVsPqK3cYATRnmMZRHtxfUvNrtYSblGdjRDhPR_87xq0qT65ZAFMiCm1ZuwzT_R8SCHKBjUz6CzYCb7F6mdAph-wQq7sdPdVx2gV_Il7BKUO19cc60ydoVN8lu89CAQVhqRM4GtQ"
},
"photos": [],
"videos": [
{
"caption": "Me at work on Monday morning",
"url": "https://cdn4.telesco.pe/file/02d9672f82.mp4?token=Zrvp7Dm5KQzBvybpU7WzdliOe0HW6sWcljGGrk6d8KRZuJWZarsmnJU7cf_8gQ5JfaIoVHLDQU42k6WeMR1WG-rFXsK1ZaewROfgcK6O0_eLJiU3jv_YqrGtv_bqzv8iSzyhnRuOYnSFrULeRb4BnMtRvJBg2QxdGXfu6g1Tnyfz3G4M-Z2pi3-RDUU7HvoB3YKt2VMoaZJjhBqVsPqK3cYATRnmMZRHtxfUvNrtYSblGdjRDhPR_87xq0qT65ZAFMiCm1ZuwzT_R8SCHKBjUz6CzYCb7F6mdAph-wQq7sdPdVx2gV_Il7BKUO19cc60ydoVN8lu89CAQVhqRM4GtQ"
}
],
"audio": {},
"sticker": {},
"attachment": {},
"media_poll": {}
},
{
"id": "357",
"author": "@creators",
"date": "2024-12-17T00:56:55+00:00",
"user_read_status": "read",
"text": "😅",
"html": "\u003cp\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/p\u003e",
"views": "844000",
"forwarded": {},
"button": {},
"link": {},
"photo": {
"caption": "😅",
"link": "https://t.me/creators/357",
"url": "https://cdn4.telesco.pe/file/Ms1PRcwYnQcxmnt-02POOXRMEvEs0Jt0kjW1ZrxP6yQSl6rSczWqHa31cocY_rP9l3JaYKo42GOa75sVDkE2P3qzWjaoyVd9tgD2BsIwvuYKo2FxZCthyuJECQy8pWIFa9neEVurr4xrTTxSB_3_kT0P0HwV9E8rN20ttDjPU9vjZbibhhUigOGeD4HXt2yE5-6YlD7RLSyy1xR24Hdmkh_Xa5_b46U9ckKibJxYoUGudtWxZYw3zvyq55dIwmsMPlRL2S3FXq4SI-q7-kfd8W3O9PvD2PB5dmspuwJrxGbwCSjelVaDE0EN6urjS9fCgRdkQ9ZwTSg7HCGO7bFhKA.jpg"
},
"video": {},
"photos": [
{
"caption": "😅",
"link": "https://t.me/creators/357",
"url": "https://cdn4.telesco.pe/file/Ms1PRcwYnQcxmnt-02POOXRMEvEs0Jt0kjW1ZrxP6yQSl6rSczWqHa31cocY_rP9l3JaYKo42GOa75sVDkE2P3qzWjaoyVd9tgD2BsIwvuYKo2FxZCthyuJECQy8pWIFa9neEVurr4xrTTxSB_3_kT0P0HwV9E8rN20ttDjPU9vjZbibhhUigOGeD4HXt2yE5-6YlD7RLSyy1xR24Hdmkh_Xa5_b46U9ckKibJxYoUGudtWxZYw3zvyq55dIwmsMPlRL2S3FXq4SI-q7-kfd8W3O9PvD2PB5dmspuwJrxGbwCSjelVaDE0EN6urjS9fCgRdkQ9ZwTSg7HCGO7bFhKA.jpg"
}
],
"videos": [],
"audio": {},
"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'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Telegram Public Channel Data API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
Trusted by leading companies
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 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.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund