Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
YouTube Security VideosGoogle Chrome: Unfinished Projects: Solange’s Public Sculpture(21.09.2026 um 17:02 Uhr)
Windows Tipps & SecurityBlurry or pixelated video in Microsoft Teams(21.09.2026 um 14:34 Uhr)
Sicherheitslücken (CVE)USN-8791-1: Ghostscript vulnerability(21.09.2026 um 14:51 Uhr)
Sicherheitslücken (CVE)USN-8792-1: Memcached vulnerability(21.09.2026 um 15:02 Uhr)
Sichere ProgrammierungI stopped rewriting the same Electron boilerplate — so I packaged it(21.09.2026 um 17:28 Uhr)
YouTube Security VideosGoogle Chrome: Unfinished Projects: Solange’s Public Sculpture(21.09.2026 um 17:02 Uhr)
Windows Tipps & SecurityBlurry or pixelated video in Microsoft Teams(21.09.2026 um 14:34 Uhr)
Sicherheitslücken (CVE)USN-8791-1: Ghostscript vulnerability(21.09.2026 um 14:51 Uhr)
Sicherheitslücken (CVE)USN-8792-1: Memcached vulnerability(21.09.2026 um 15:02 Uhr)
Sichere ProgrammierungI stopped rewriting the same Electron boilerplate — so I packaged it(21.09.2026 um 17:28 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Telegram has ~1 billion users and no read API — so I built one in a day (Day 5 of 60)

Day 5 of building one commercial API every day for 60 days. Today's is the one I'm most surprised nobody has nailed: reading public Telegram channels as clean JSON. The gap Telegram has roughly a billion monthly users. Huge…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Day 5 of building one commercial API every day for 60 days.



Today's is the one I'm most surprised nobody has nailed: reading public Telegram channels as clean JSON.






The gap



Telegram has roughly a billion monthly users. Huge crypto communities, news channels, OSINT sources, brands — all posting in public channels anyone can read in a browser.



But there's no official API to read a channel you don't own. The Bot API only sees chats your bot is in. MTProto means spinning up a full client session, phone-number auth, and a library most people don't want in their stack. If you just want "give me @durov's latest posts as JSON," you're out of luck.






The insight



Telegram already publishes every public channel as a plain web page: t.me/s/. Open https://t.me/s/durov logged-out and you'll see the profile, subscriber count, and recent posts with view counts and reactions — served to any anonymous visitor, no account required.



That's the whole product. Fetch that page, parse it, return structured JSON. No MTProto, no bot token, no login, nothing private.






What it does



Three endpoints:




  • GET /v1/channel/{username} — profile: title, description, verified flag, photo, subscriber count, and photo/video/link counters.

  • GET /v1/channel/{username}/posts — recent posts, newest first: text, view counts, reaction totals, media URLs, link previews, forward info. With ?limit= (1–100), ?before= cursor pagination, and ?q= keyword filtering.

  • GET /v1/channel/{username}/posts/{id} — a single post.



Known-good channels to try: durov, telegram, toncoin, cointelegraph, bloomberg, whale_alert (pass the handle without the @). A 404 just means that username isn't a public channel — not an error.



The API also parses "11.8M subscribers" into the integer 11800000 for you, keeping the original text alongside it. Small thing, but it's the difference between "data" and "a string you now have to clean."






Things that were fiddlier than expected



Pagination. t.me/s/ serves oldest-last and pages backward with a ?before= cursor. To answer ?limit=45 I walk up to 5 pages, normalize everything newest-first, dedupe on post id, and hand back a next_before cursor so callers can keep going.



Reactions. Telegram renders reaction emoji as little sprite images, not characters. Counts are reliable ("65.7K" → 65700); the exact emoji identity is best-effort. I'd rather ship honest "count is solid, emoji may be blank" than fake precision.






Boring by design



It's a Supabase Edge Function (Deno), zero dependencies, stateless — nothing stored, nothing logged. A short in-memory cache smooths out repeat calls. Fail-closed auth. Cold path answers in ~100ms; a real channel fetch is sub-second; a deep 5-page walk is ~1.7s.






On the legal side



Public, logged-out data only — the same bytes t.me shows any anonymous browser. No private channels, no groups, no user accounts, no credentials. That's the defensible posture US courts have carved out for scraping public pages (the logged-out distinction from Meta v. Bright Data). Callers are still responsible for privacy law (GDPR etc.) when they store results.






Who it's for



Crypto/trading communities monitoring channels, OSINT and threat-intel teams, marketing folks vetting influencers or watching competitors, news aggregators, and anyone building Telegram content feeds without touching MTProto.



That's Day 5. Free tier to try it, cheap paid tiers if it's useful. Following the "60 APIs in 60 Days" series — one commercial API, every day. Day 6 tomorrow. 👋

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Telegram has ~1 billion users and no read API — so I built one in a day (Day 5 of 60)

Thematisch verwandte Begriffe: Telegram, billion, users, read · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-94393 | When a user creates or edits a report inside an event, MISP can identify…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick