Telegram API by APISH avatar

Telegram API by APISH

Pricing

$4.00 / 1,000 credits

Go to Apify Store
Telegram API by APISH

Telegram API by APISH

Telegram data as clean JSON via APISH: Public Telegram channel, Telegram channel posts, One Telegram post and 1 more endpoints. Pay per credit; failed calls are free.

Pricing

$4.00 / 1,000 credits

Rating

0.0

(0)

Developer

APISH

APISH

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Security

Limited permissions

Share

Get public Telegram data as clean, consistent JSON: public Telegram channel, telegram channel posts, one Telegram post, telegram post comments. 4 endpoints, one response shape, numbers parsed, absolute URLs.

How to use

  1. Pick an Endpoint. Each option shows what it returns and its price in credits.
  2. Enter its Parameters as JSON, for example {"handle":"durov"}. All parameters are listed below.
  3. Run. Each call becomes one row in the dataset. Use Batch to run the same endpoint for many inputs and Pages per input to follow pagination.

Pricing

Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.

Endpoints

EndpointReturnsRequired parametersCredits
/telegram/v1/channelPublic Telegram channelhandle1
/telegram/v1/channel/postsTelegram channel postshandle1
/telegram/v1/postOne Telegram posturl1
/telegram/v1/post/commentsTelegram post commentsurl1

Output

Each dataset row has endpoint, params, status, credits_used and the endpoint's data. Add "raw": 1 to the parameters to also get the site's original record, or "fields": "a,b.c" to return only the fields you need.

Endpoint details

Public Telegram channel

Endpoint /telegram/v1/channel · 1 credit per successful call.

Parameters:

  • handle (required): Channel username or t.me URL.

Example parameters: {"handle":"durov"}

Telegram channel posts

Endpoint /telegram/v1/channel/posts · 1 credit per successful call.

20 posts per page, newest first. next_cursor goes to older posts (null at the channel's first post); with after or cursor, previous_cursor goes newer. Every response includes credits_used: the credits this call cost.

Parameters:

  • handle (required)
  • q: Search the channel (Telegram's own search); pages with the same cursor.
  • cursor: Value of next_cursor from the previous page.
  • after: Message id: return the posts newer than it (use previous_cursor to keep going newer).

Example parameters: {"handle":"durov"}

One Telegram post

Endpoint /telegram/v1/post · 1 credit per successful call.

Parameters:

  • url (required)

Example parameters: {"url":"https://t.me/durov/400"}

Telegram post comments

Endpoint /telegram/v1/post/comments · 1 credit per successful call.

Comments on a channel post, from the post's public discussion (the comments button under channel posts), newest first, about 50 per page. Pass next_cursor back as cursor for older comments; it is null at the first comment. Each comment has its author (name, username, photo), text, date, the comment it replies to, reactions and photos. Posts whose channel has no public discussion answer comments_enabled: false with an empty list. Every response includes credits_used: the credits this call cost.

Parameters:

  • url (required): Post URL (https://t.me/
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"url":"https://t.me/tginfo/4440"}

Support

Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.

Public data only: nothing behind a login. You are responsible for how you use the data you collect.