morigraph Start free

Data APIs ยท Telegram

Telegram data APIs for AI agents

morigraph has 3 Telegram data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including post, channel and channel posts. You need no Telegram developer account or API key, only one morigraph connection. A call costs 0.022 credits, about $2.20 for 1,000 calls, paid from one balance.

APIs
3
Price
0.022 credits a call
Call it from
MCP, command line and HTTP API
Needs
One morigraph connection. No Telegram account or API key

Three ways to call it

Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Telegram Post.

In your assistant (MCP). Connect once, then ask in plain words

claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp

Use morigraph's Telegram Post data API with {"url":"https://t.me/telegram/460"} and summarise what comes back.

From a terminal or script (CLI)

npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"telegram.post","input":{"url":"https://t.me/telegram/460"}}'

From your own code (HTTP API)

curl https://api.morigraph.com/v1/tools/data_api \
  -H "Authorization: Bearer $MORIGRAPH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"telegram.post","input":{"url":"https://t.me/telegram/460"}}'

3 Telegram data APIs

APIIdPrice
Telegram Posttelegram.post0.022 credits a call
Telegram Channeltelegram.channel0.022 credits a call
Telegram Channel Poststelegram.channel_posts0.022 credits a call

Telegram Post

telegram.post0.022 credits a call (about $2.20 for 1,000), at most 0.064

Get one public Telegram channel post by its t.me link: text, posting time, views, photo and video links, and reactions.

ArgumentTypeRequiredWhat it is
urlstringyesLink to one public channel post, e.g. https://t.me/telegram/460 (t.me/s/ links work too).

Returns channel count createdUtc durationSeconds edited emoji id image linkPreviewDescription linkPreviewTitle linkPreviewUrl media mediaUrls reactions text type url views

The call

data_api({"api":"telegram.post","input":{"url":"https://t.me/telegram/460"}})

Telegram Channel

telegram.channel0.022 credits a call (about $2.20 for 1,000), at most 0.064

Get a public Telegram channel by username: name, bio, photo, verified badge, exact subscriber count, and how many photos, videos, files and links it has posted.

ArgumentTypeRequiredWhat it is
handlestringyesPublic Telegram channel username, with or without the @ (e.g. "telegram"), or its t.me link.

Returns avatarUrl description fileCount handle linkCount photoCount previewEnabled subscribers title url verified videoCount

The call

data_api({"api":"telegram.channel","input":{"handle":"telegram"}})

Telegram Channel Posts

telegram.channel_posts0.022 credits a call (about $2.20 for 1,000), at most 0.064

Get a public Telegram channel's posts by username, about 20 per page with a cursor for older pages: text, posting time, views, photo and video links, and reactions.

ArgumentTypeRequiredWhat it is
cursorstringnoOpaque pagination cursor from a previous response's nextCursor, for older posts. Omit for the newest page; a page holds about 20 posts.
handlestringyesPublic Telegram channel username, with or without the @ (e.g. "telegram"), or its t.me link.

Returns channel createdUtc edited id image linkPreviewDescription linkPreviewTitle linkPreviewUrl media mediaUrls nextCursor posts reactions text url views

The call

data_api({"api":"telegram.channel_posts","input":{"handle":"telegram"}})

Good to know

When to choose something else

Choose a provider that specialises in Telegram data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.

Questions

Do I need a Telegram API key or developer account?

No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 3 APIs on this page.

What does Telegram data cost through morigraph?

0.022 credits a call, where a credit is about 10 cents. That is from about $2.20 for 1,000 calls. You pay per call from one balance, with no separate subscription.

Can Claude, ChatGPT or Cursor get Telegram data?

Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.

Which Telegram data APIs are available?

Telegram Post, Telegram Channel and Telegram Channel Posts.

Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.