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
| API | Id | Price |
|---|---|---|
| Telegram Post | telegram.post | 0.022 credits a call |
| Telegram Channel | telegram.channel | 0.022 credits a call |
| Telegram Channel Posts | telegram.channel_posts | 0.022 credits a call |
Telegram Post
Get one public Telegram channel post by its t.me link: text, posting time, views, photo and video links, and reactions.
| Argument | Type | Required | What it is |
|---|---|---|---|
url | string | yes | Link 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
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.
| Argument | Type | Required | What it is |
|---|---|---|---|
handle | string | yes | Public 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
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.
| Argument | Type | Required | What it is |
|---|---|---|---|
cursor | string | no | Opaque pagination cursor from a previous response's nextCursor, for older posts. Omit for the newest page; a page holds about 20 posts. |
handle | string | yes | Public 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
- The price shown is the usual one. A call can cost more when the first source fails and another serves it; the most it can cost is shown beside each API, and
max_creditssets your own limit. - These APIs return public data. What you may do with it depends on the platform's terms and the privacy law where you operate, and that responsibility is yours.
- A failed call is not charged.
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.