Telegram Bot API Proxy

Transparent, edge-hosted relay for the Telegram Bot API.

Operational. Forwarding to api.telegram.org

Why this exists

Telegram's API host (api.telegram.org) is unreachable on some networks and in some regions. This proxy accepts the same Bot API requests on a Cloudflare domain and forwards them upstream, so your bots keep working without any code changes.

How to use

Swap the API host. Everything after it stays identical, so no SDK changes are required.

Fill these in to build a ready-to-run snippet. Values stay in your browser and are never sent anywhere.

FROM
https://api.telegram.org/bot<TOKEN>/sendMessage
TO
https://<this-domain>/bot<TOKEN>/sendMessage

Example

curl "https://<this-domain>/bot<TOKEN>/sendMessage" \
  -d chat_id=<CHAT_ID> \
  -d text="Hello from the proxy"

Every method

Path, query, method, and body pass through unchanged, so all Bot API methods work.

Edge-fast

Runs on Cloudflare's global network, close to wherever your bot calls from.

Zero storage

No tokens are stored here. The token in the URL is the only credential, exactly as with direct calls.