Telegram Bot API
by core.telegram.org
Communication
Added on October 31st, 2026
Checked and working on November 16th, 2026
Visit core.telegram.org →
What it does
The Telegram Bot API lets you build bots for the Telegram messenger. A bot can send and receive messages, photos, files and polls, show buttons and custom keyboards, work in groups and channels, and accept payments. You get a bot token by talking to @BotFather, then use simple HTTPS requests, with updates delivered by polling or webhooks. Responses are JSON. Free.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free.
- From the browser
- Yes (CORS)
- Formats
- JSON
- Interface
- REST, HTTP-GET, Webhooks
- Provider
- core.telegram.org
- Last checked
- Working on November 16th, 2026
More information: https://core.telegram.org/bots/api
Compare: Telegram Bot API vs Discord webhooks
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://api.telegram.org/botYOUR_API_KEY/getMe'
JavaScript
const response = await fetch("https://api.telegram.org/botYOUR_API_KEY/getMe");
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://api.telegram.org/botYOUR_API_KEY/getMe",
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.