Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.drain.lat/llms.txt

Use this file to discover all available pages before exploring further.

Telegram

Base URL: https://drain.lat/api/v1/telegram All endpoints require the x-api-key header.

GET /profile/:username

Fetch a public Telegram channel or group profile. Works with or without the @ symbol. Endpoint
GET /api/v1/telegram/profile/:username
curl "https://drain.lat/api/v1/telegram/profile/durov" \
  -H "x-api-key: YOUR_API_KEY"
Response
{
  "username": "durov",
  "title": "Pavel Durov",
  "description": "Telegram founder. Thoughts on technology, freedom, and the future.",
  "avatarUrl": "https://cdn4.telegram-cdn.org/file/...",
  "members": 982400,
  "isChannel": true,
  "isBot": false,
  "profileUrl": "https://t.me/durov",
  "scrapedAt": "2026-05-05T12:00:00.000Z"
}
Only works for public channels and groups. Private accounts and users will return an error.