A Simple Telegram API
We provide this simple API publicly because of many requests for this feature.
Using this service you can get the channel subscribers count, title,
description, photo, ... without any annoying limitation.
Get Your Api Key
https://telegramchannels.me/api
getMediumInfo 1 Credit ($0.0005) / Request
Use this method to get information about the channel.
Required Parameters
username
(the public channel username)
apikey
(your api key from your panel)
Optional Parameters:
live=1
. (to get live data*) using this parameter cost 1 more credit
* we update our database daily, if you want to get live data you can use it.
Example: https://telegramchannels.me/api/getMediumInfo?username=dailychannels&apikey=YOURKEY
* if 'is_restricted' is true, then these parameters are null: photos, videos, files, links, last_message.id, last_message.time, last_message.views, average_views
* 'photo_url' can be url or base64
* 'reason' possible values ['was-available' | 'not-available' | 'restricted' | 'invalid-username' | 'low-credit' | 'auth-failed' | 'unknown']
searchMedia 2 Credit ($0.001) / Request
Use this method to search for channels and groups.
Required Parameters:
phrase
(the keyword you are searching for)
apikey
(your api key from your panel)
Optional Parameters:
page_number
(int) (the page number you looking for)
on_each_page
(int) (the result count on each request max:50)
type
(string) (can be "channel" or "group")
sort_by
(string) (can be "subscribers")
min_subscribers
(int) (minimum of subscribers count)
verified=yes
(string) (to get media with verified badge)
safe_mode=off
(string) (to include nsfw media on result)
Example: https://telegramchannels.me/api/searchMedia?phrase=telegram&verified=yes&apikey=YOURKEY
* 'total' is the total number of results for this search