# 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. ## How 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: ```sh 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): ```sh 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): ```sh 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"}}' ``` ## Telegram Post `telegram.post` · 0.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. | 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` ``` data_api({"api":"telegram.post","input":{"url":"https://t.me/telegram/460"}}) ``` ## Telegram Channel `telegram.channel` · 0.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. | 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` ``` data_api({"api":"telegram.channel","input":{"handle":"telegram"}}) ``` ## Telegram Channel Posts `telegram.channel_posts` · 0.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. | 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` ``` data_api({"api":"telegram.channel_posts","input":{"handle":"telegram"}}) ``` ## 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. --- Canonical page: https://morigraph.com/tools/data/telegram/ Prices read from the catalogue on 2026-11-27. These APIs return public data; how you may use it depends on the platform's terms and applicable law. All data APIs: https://morigraph.com/tools/data.md · Connect: https://morigraph.com/connect.md · Site overview: https://morigraph.com/llms.txt