Telegram Public Channel Data API

Telegram Public Channel Data API

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.

API description

About the API:

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.

What your API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

What are the most common uses cases of this API?

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.

Are there any limitations to your plans?

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.

API Documentation

Endpoints


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.



                                                                            
GET https://zylalabs.com/api/962/telegram+public+channel+data+api/788/fetch+public+telegram+channel+info
                                                                            
                                                                        

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).
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
  "verified": true,
  "title": "Telegram Tips",
  "description": "Telegram stands for freedom and privacy and has many easy to use features.",
  "image": "https://cdn4.telegram-cdn.org/file/mYETDfVRp1MvmxsWbUYBl2DGPM1kqDGUcbm9TsExU7RrQig08P_wp9xkhyNG2oK6uCq6anTwRu6LRugIwi3IyhiYlYTH__zPCBfg9mLMd3b73nopMLbtAls4_QHdOYnNtL2j_Pm6le0UGaCxr2bjKIsAVC1NQNdzIyQJsvJefB4bxPD-VShpx5kc1xmwrsYK5MZl8Pohx-NzCZPbeULshloaNKp0WCmlosl6Y_61n_aZx0TfFZMdN69aLj5kfiWpM79EKG7kcDTbhj1QorsuVafjgsVJ301WpldGrIEWp0dIONMGM0-EOln5ecsnCWk5xT1Jl72--FQ_ml6YXwuhow.jpg",
  "subscribers": "8735502",
  "subscribers_online": "0"
}
                                                                                                                                                                                                                    
                                                                                                    

Fetch Public Telegram Channel Info - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/962/telegram+public+channel+data+api/788/fetch+public+telegram+channel+info?channel=TelegramTips' --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.



                                                                            
GET https://zylalabs.com/api/962/telegram+public+channel+data+api/789/fetch+public+telegram+channel+messages
                                                                            
                                                                        

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.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [
  {
    "id": "371",
    "author": "Telegram Tips",
    "date": "2023-01-17T13:23:34+00:00",
    "user_read_status": "unread",
    "text": "",
    "html": "",
    "forwarded": {},
    "button": {},
    "link": {},
    "photo": {},
    "video": {
      "caption": "Storage Usage. Telegram needs zero extra space to run on your device. You can clear cached media from your phone, while keeping it in your chats – ready to be re-downloaded at any time.Just head to Settings \u003e Data and Storage \u003e Storage Usage and try one (or all 💪) of these options:1) Set up Auto-Remove to clear cached media after a certain period with separate settings for Private Chats, Groups and Channels – and exceptions for individual chats.2) Set a maximum cache size – if your cache reaches this limit, the oldest media will be removed.3) Find the largest media items with dedicated tabs and detailed pie charts and manually clear them from your cache or select specific chats that take too much space.",
      "url": "https://cdn4.telegram-cdn.org/file/33587952c6.mp4?token=ghPyAVkbojQAGrlYRDTbwOQ86fFHEs_MybRVxD5cRkIjbN2ajPUy2HnZTq8dEqeqvfYeaD5EFGfpjKudP9u0pOFQIiPaLlUkrhpfp1Y5wF6qasJ-bqp8jGkVOjIt73JxBubvMpYhcdgJOPAIPT3cWzwzwRbq_p7vtFAaA1xgfVbnhTdDP3O-HS6rORYLZ4ov_wEoLBpTZiO_Cx30eruuEzOHWRAiTMYldAEWXbPXQ5yGIJLGxG4iZ5iGg3oHK3zLXaSuTgJJKZtxk66kUW7NHssggxdghzBtKLtlW4XLefIFCi0WnQFNweUapFftbfkQaps27WYwNUHGMFrpIoRE0A"
    },
    "audio": {},
    "sticker": {},
    "attachment": {}
  },
  {
    "id": "370",
    "author": "Telegram Tips",
    "date": "2023-01-11T13:07:30+00:00",
    "user_read_status": "unread",
    "text": "Media Editor. Drawings, text, stickers, shapes and more can be added to both photos and videos in the media editor.The default brush automatically smooths your lines and changes width based on drawing speed. Other tools let you draw arrows, add a blur effect or erase.Text has various font and background options – and all users can include custom emoji, even if they don’t subscribe to Telegram Premium.",
    "html": "\u003cp\u003e\u003cb\u003eMedia Editor.\u003c/b\u003e Drawings, text, stickers, shapes and more can be added to both \u003cb\u003ephotos\u003c/b\u003e \u003cb\u003eand\u003c/b\u003e \u003cb\u003evideos\u003c/b\u003e in the media editor.\u003cbr/\u003e\u003cbr/\u003eThe default brush automatically\u003cb\u003e smooths your lines\u003c/b\u003e and \u003cb\u003echanges width\u003c/b\u003e based on drawing speed. Other tools let you \u003cb\u003edraw arrows\u003c/b\u003e, add a \u003cb\u003eblur effect\u003c/b\u003e or \u003cb\u003eerase\u003c/b\u003e.\u003cbr/\u003e\u003cbr/\u003eText has various \u003cb\u003efont\u003c/b\u003e and \u003cb\u003ebackground\u003c/b\u003e \u003cb\u003eoptions\u003c/b\u003e – and \u003cb\u003eall users\u003c/b\u003e can include \u003ca href=\"https://t.me/TelegramTips/354\" target=\"_blank\" rel=\"noopener\" onclick=\"return confirm(\u0026#39;Open this link?\\n\\n\u0026#39;+this.href);\"\u003ecustom emoji\u003c/a\u003e, even if they don’t subscribe to Telegram Premium.\u003c/p\u003e",
    "forwarded": {},
    "button": {},
    "link": {},
    "photo": {},
    "video": {
      "caption": "Media Editor. Drawings, text, stickers, shapes and more can be added to both photos and videos in the media editor.The default brush automatically smooths your lines and changes width based on drawing speed. Other tools let you draw arrows, add a blur effect or erase.Text has various font and background options – and all users can include custom emoji, even if they don’t subscribe to Telegram Premium.",
      "url": "https://cdn4.telegram-cdn.org/file/d3f6a33c29.mp4?token=aXGr-T1RmQdRUuawKyXxw6uixG70jdjyw_Pc73u-DgRtZlv--tIpYnbMK2hz70jQ8qsyjihrI4uQJMa7Yk9d5_S-KwR9lOdqIk9J4-JizvTTia9zONhq6Y3cdmvX0ZLti4WJDQ7CxHddkGtau85E3weIiEFKxHcx-7nSSizKffy10sRx5vUf-HF6DA0rYB5qM7pFsolNUkDhiUEROfovIwTXppGwOn3mvS5qQy2-DA2sL9KXgWsQ37PvmNcb_wgal-Xe_rXoN_D0w3SM7_KLcIhPWiNLK11f_WG5xNPpDCva8QA6MF4OuDHL-n-tOY157N56YqqOSWU1Fh8eXYcTeQ"
    },
    "audio": {},
    "sticker": {},
    "attachment": {}
  },
  {
    "id": "369",
    "author": "Telegram Tips",
    "date": "2023-01-10T13:23:41+00:00",
    "user_read_status": "unread",
    "text": "",
    "html": "",
    "forwarded": {},
    "button": {},
    "link": {},
    "photo": {},
    "video": {
      "caption": "Spoiler Media. Photos and videos can be sent with a shimmering spoiler effect in any chat – hiding the contents until your recipient taps to view it.To apply spoiler effects, select your media in the 📎attachment menu, tap ➕ or ➕ and Hide With Spoiler.You can also apply the same spoiler effect to text in messages or captions.",
      "url": "https://cdn4.telegram-cdn.org/file/fd042dbf9b.mp4?token=ownFG48xSFctfRJY1WDe7MxqnfvdlyxLBlZis1yOe5MNDv2NGzwFco6jLyRz8jSUckUdwxk1224xP0_lD3mFax6-YqiEAa1oI7c2sEdNa_0Im5Lr_0mXteJ87uYNqzJ3Q8DPHvq7fWN3pnJ5WBOnyWhckFZxxjn9XxQgepAKV6RKopdmdZl6VvKH7xEJJLQ3Whqy1V8DTMhJ60iiIo6bbnrTYVYnEBuRlILm1kHRHKGvAnZSJOMJHI7x7TLoVOpzDAmNe6USfQDBVN1Fb6VIbC7sqIba6YGRo72rQ6grRxHdDYAHSbZls6Xd6OcFC-SMyQ_ryo96kWTWoWEnfxYJ7w"
    },
    "audio": {},
    "sticker": {},
    "attachment": {}
  },
  {
    "id": "368",
    "author": "Telegram Tips",
    "date": "2022-12-20T13:52:04+00:00",
    "user_read_status": "unread",
    "text": "Temporary QR Codes. Any user can quickly share their contact info with others by generating a QR code from the Settings page.If you don’t have a username and hide your phone number from everyone, the QR codes you generate will be temporary – working for just a few minutes. Temporary QR codes never share your phone number, only your chosen name.",
    "html": "\u003cp\u003e\u003cb\u003eTemporary QR Codes.\u003c/b\u003e Any user can quickly share their contact info with others by generating a \u003ca href=\"https://t.me/TelegramTips/316\" target=\"_blank\" rel=\"noopener\" onclick=\"return confirm(\u0026#39;Open this link?\\n\\n\u0026#39;+this.href);\"\u003eQR code\u003c/a\u003e from the \u003ci\u003eSettings\u003c/i\u003e page.\u003cbr/\u003e\u003cbr/\u003eIf you \u003cb\u003edon’t have\u003c/b\u003e a \u003ca href=\"https://t.me/TelegramTips/44\" target=\"_blank\" rel=\"noopener\" onclick=\"return confirm(\u0026#39;Open this link?\\n\\n\u0026#39;+this.href);\"\u003eusername\u003c/a\u003e and \u003ca href=\"https://t.me/TelegramTips/89\" target=\"_blank\" rel=\"noopener\" onclick=\"return confirm(\u0026#39;Open this link?\\n\\n\u0026#39;+this.href);\"\u003ehide your phone number\u003c/a\u003e \u003cb\u003efrom everyone\u003c/b\u003e, the QR codes you generate will be \u003cb\u003etemporary\u003c/b\u003e – working for just a few minutes. Temporary QR codes \u003cb\u003enever share\u003c/b\u003e your phone number, only your \u003ca href=\"https://t.me/TelegramTips/250\" target=\"_blank\" rel=\"noopener\" onclick=\"return confirm(\u0026#39;Open this link?\\n\\n\u0026#39;+this.href);\"\u003echosen name\u003c/a\u003e.\u003c/p\u003e",
    "forwarded": {},
    "button": {},
    "link": {},
    "photo": {},
    "video": {
      "caption": "Temporary QR Codes. Any user can quickly share their contact info with others by generating a QR code from the Settings page.If you don’t have a username and hide your phone number from everyone, the QR codes you generate will be temporary – working for just a few minutes. Temporary QR codes never share your phone number, only your chosen name.",
      "url": "https://cdn4.telegram-cdn.org/file/d7b5f9f04d.mp4?token=AoEVBY0cDVyErAGVi4qx6D0HH_jD1YR-u9AvV_OkJ2BHBuft_OEaq6hicLZJ3ullPNnN0KLBQ7oP4EpUALIbKZrW6a7H7wtUmVW5sqRekyRilwhr_gJHTqiTxg8wS6XERyOr2IYKf4y-4X7kCP2FPZcEDPu9MfFo5lzgpybm289fzPd_S8kIZLrfIh9kCkA6VEp93UTxPbgxE5pzo8R93PlxPHw71LPN4PBnbpMz-eBXt8l1ZrbxCPpLr5y7-MKowHshAGxefDeJ_bRV6EmOweg5RWYUIXGFEJ4ISSSZALV88kjYHtl5_tR3228me9JTwN6JWnr8F3V2xSoLc8WrHQ"
    },
    "audio": {},
    "sticker": {},
    "attachment": {}
  },
  {
    "id": "367",
    "author": "Telegram Tips",
    "date": "2022-12-19T14:03:53+00:00",
    "user_read_status": "unread",
    "text": "Detailed Storage Usage. You can see how much space each chat is using on your device and clear the media of individual chats from your cache, filtered by file type.Clearing your cache does not delete any messages or media from your chats – they stay in the chat history, ready to re-download when you need them.The Storage Usage page has several settings to maximize storage space – like automatically removing older media from your cache, as well as a maximum cache size on iOS.",
    "html": "\u003cp\u003e\u003cb\u003eDetailed Storage Usage.\u003c/b\u003e You can see how much space \u003cb\u003eeach chat is using\u003c/b\u003e on your device and clear the media of \u003cb\u003eindividual chats\u003c/b\u003e from your cache, filtered by \u003cb\u003efile type\u003c/b\u003e.\u003cbr/\u003e\u003cbr/\u003eClearing your cache \u003cb\u003edoes not delete\u003c/b\u003e any messages or media from your chats – they stay in the chat history, \u003cb\u003eready to re-download\u003c/b\u003e when you need them.\u003cbr/\u003e\u003cbr/\u003eThe \u003ca href=\"https://t.me/TelegramTips/243\" target=\"_blank\" rel=\"noopener\" onclick=\"return confirm(\u0026#39;Open this link?\\n\\n\u0026#39;+this.href);\"\u003eStorage Usage\u003c/a\u003e page has several settings to \u003cb\u003emaximize storage space\u003c/b\u003e – like automatically removing older media from your cache, as well as a maximum cache size \u003ca href=\"https://t.me/TelegramTips/206\" target=\"_blank\" rel=\"noopener\" onclick=\"return confirm(\u0026#39;Open this link?\\n\\n\u0026#39;+this.href);\"\u003eon iOS\u003c/a\u003e.\u003c/p\u003e",
    "forwarded": {},
    "button": {},
    "link": {},
    "photo": {},
    "video": {
      "caption": "Detailed Storage Usage. You can see how much space each chat is using on your device and clear the media of individual chats from your cache, filtered by file type.Clearing your cache does not delete any messages or...
                                                                                                                                                                                                                    
                                                                                                    

Fetch Public Telegram Channel Messages - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/962/telegram+public+channel+data+api/789/fetch+public+telegram+channel+messages?channel=TelegramTips' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

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 REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
470ms

Useful links:


Category:


Tags: