Telegram Channel Posts & Media Scraper avatar

Telegram Channel Posts & Media Scraper

Pricing

from $1.25 / 1,000 results

Go to Apify Store
Telegram Channel Posts & Media Scraper

Telegram Channel Posts & Media Scraper

Fast 128MB pure-HTTP scraper for public Telegram channels (t.me/s/). Extracts messages, views, forwards, emoji reactions, media URLs, external links, hashtags, mentions, subscriber counts, and tracks new/deleted posts across runs without proxies or login.

Pricing

from $1.25 / 1,000 results

Rating

0.0

(0)

Developer

Data Goose

Data Goose

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 days ago

Last modified

Features

Limited permissions

Share

Fast 128MB pure-HTTP scraper for public Telegram channels (t.me/s/). Extracts messages, views, forwards, emoji reactions, media URLs, external links, hashtags, mentions, subscriber counts, and tracks new/deleted posts across runs without proxies or login.

Why choose this Actor?

  • Extracts channel metadata (title, description, parsed subscriber integer, photo/video/link/file counts, verified badge, avatar URL) + full message history via ?before={msg_id} pagination.
  • Parses compact counters (10.1M -> 10100000, 2M -> 2000000) into clean integers ready for SQL/BI dashboards.
  • Extracts per-emoji reaction breakdowns, media URLs (photos/videos/voice), outbound links, #hashtags, @mentions, forward provenance, and reply threading.
  • 128 MB Memory Footprint & Zero Browser Tax: Engineered in async Python (httpx) to run comfortably inside a 128 MB container (<75 MB peak RSS), cutting compute costs by 8x–32x compared to 1,024 MB–4,096 MB headless-browser scrapers.
  • Deterministic Locked Schema (_schemaVersion: "1.0"): Every dataset item contains the exact same keys in canonical order with ISO-8601 UTC timestamps and clean text (zero unescaped HTML entities or stray tags).
  • Built-in Delta Change Monitoring (STATE-DELTA + RUN_SUMMARY): Enable onlyNewItems (or onlyNewJobs) on scheduled runs to emit only newly discovered records while tracking closed/deleted items in the Key-Value Store.

Building an automated B2B intelligence or GTM pipeline? Combine this Actor with our live 128 MB pure-HTTP scrapers (All-in-One ATS Job Scraper, Workday Jobs Scraper, Greenhouse Jobs Scraper, Lever Jobs Scraper, Ashby Job Scraper, SmartRecruiters Jobs Scraper, Rippling Jobs Scraper, Workable Jobs Scraper, Recruitee Jobs Scraper, Breezy HR Jobs Scraper)—engineered with deterministic schemas and root corporate domains (companyDomain) for zero-maintenance n8n, Make, Clay, and Python workflows.


Quick Start — Input Example

Click Run with the prefilled defaults to verify live output in under 10 seconds, or customize your JSON input:

{
"channels": [
"durov",
"telegram"
],
"maxMessagesPerChannel": 5,
"maxTotalMessages": 10
}

Input Parameters

ParameterTypeDescription
channelsarrayPublic Telegram channel usernames (durov, @telegram) or URLs (https://t.me/durov, https://t.me/s/durov).
maxMessagesPerChannelintegerMaximum number of posts to extract per Telegram channel (paginates backwards via ?before=).
maxTotalMessagesintegerHard global ceiling on total messages emitted across the run.
dateFromstringOnly include messages published on or after this date (stops backward pagination early once older messages are reached).
dateTostringOnly include messages published on or before this date.
keywordFilterstringOnly emit messages whose text or links match at least one keyword.
excludeKeywordFilterstringSkip messages containing any of these keywords.
onlyWithMediabooleanWhen enabled, only emit messages containing photos, videos, voice notes, documents, or polls.
minViewsintegerOnly emit messages with at least this many views (0 disables filtering).
onlyNewItemsbooleanWhen enabled, only emit messages not seen in previous runs with the same monitorName.
monitorNamestringIdentifier for the persistent Key-Value Store delta state (STATE-DELTA-<monitorName>).

Output Dataset Schema

Every item pushed to the default Dataset conforms to the locked schema below:

FieldTypeDescription
idstringPost ID (channel/msgId)
channelUsernamestringChannel Username
channelTitlestringChannel Title
channelDescriptionstringChannel Description
channelSubscribersintegerSubscribers
channelPhotosCountintegerChannel Photos
channelVideosCountintegerChannel Videos
channelLinksCountintegerChannel Links
channelFilesCountintegerChannel Files
channelVerifiedbooleanVerified
channelAvatarUrlstringChannel Avatar URL
messageIdintegerMessage ID
postUrlstringPost URL
publishedAtstringPublished At (ISO-8601)
textstringMessage Text
textHtmlstringMessage HTML
viewsintegerViews
forwardsintegerForwards
repliesintegerReplies
reactionsTotalintegerTotal Reactions
reactionsarrayReactions Breakdown
mediaTypestringMedia Type
mediaUrlsarrayMedia URLs
externalLinksarrayExternal Links
hashtagsarrayHashtags
mentionsarrayMentions
isForwardedbooleanIs Forwarded
forwardedFromNamestringForwarded From
forwardedFromUrlstringForwarded From URL
replyToMessageIdintegerReply To ID
authorSignaturestringAuthor Signature
isPinnedbooleanIs Pinned
isNewbooleanIs New
_schemaVersionstringSchema Version

Sample Output Item

{
"id": "durov/552",
"channelUsername": "durov",
"channelTitle": "Pavel Durov",
"channelSubscribers": 10100000,
"channelVerified": true,
"messageId": 552,
"postUrl": "https://t.me/durov/552",
"publishedAt": "2026-10-11T14:52:40Z",
"text": "Designers x AI: The mockup era is over. Today's AI tools give every designer...",
"views": 2000000,
"reactionsTotal": 10500,
"reactions": [
{
"emoji": "🔥",
"count": 10500
}
],
"mediaType": "none",
"mediaUrls": [],
"externalLinks": [],
"isNew": true,
"_schemaVersion": "1.0"
}

Stateful Delta Tracking (RUN_SUMMARY & STATE-DELTA)

Every run writes two diagnostic JSON records to the default Key-Value Store:

  1. RUN_SUMMARY: Contains targetsRequested, targetsSucceeded, targetsFailed, targetsByStatus, itemsPushed, newItems, closedItems, durationSec, peakRssMb, and per-target breakdown.
  2. STATE-DELTA: Contains newItems, closedItems, closedKeys (by target scope), closedKeyList, and isFirstRun.

Persistent seen-item sets are stored in a named Key-Value Store (telegram-channel-scraper-state under key STATE-DELTA-<monitorName>) so your scheduled hourly/daily runs automatically detect new and removed records.


Platform Quirks & Coverage Boundaries

  • Public Broadcast Channels Only: Scrapes Telegram's public web preview (https://t.me/s/{channel}). Private channels, invite-only links (t.me/+...), or group chats that disable public web preview are recorded as not_found in RUN_SUMMARY without failing the run.
  • Backward Cursor Pagination (?before={msgId}): Telegram serves ~20 messages per page ordered chronologically; backward pagination stops automatically when maxMessagesPerChannel, maxTotalMessages, or dateFrom is reached.

Pricing (Pay-Per-Event — No Monthly Subscription)

This Actor uses transparent Pay-Per-Event pricing. You only pay for items actually written to your dataset—filtered-out records and already-seen records (onlyNewItems: true) cost $0.

Plan TierPer Item (apify-default-dataset-item)Cost per 1,000 ItemsActor Start Fee (apify-actor-start)Proxy Cost
Free$0.00220$2.20$0.005$0 (no proxy needed)
Bronze$0.00185$1.85$0.005$0
Silver$0.00155$1.55$0.005$0
Gold / Platinum / Diamond$0.00125$1.25$0.005$0
  • 128 MB Memory Footprint: Runs in pure async HTTP (128 MB RAM instead of 1–4 GB headless browsers), reducing Apify compute usage by 8x–32x.
  • Built-in Spend Cap Protection: Use the built-in maxTotal* / max*Per* input limits or Apify's Maximum cost per run setting to cap spend to the exact cent.

API & Automation Usage (Python, n8n / Make, cURL)

Python (apify-client)

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("data-goose/telegram-channel-scraper").call(run_input={
"channels": [
"durov",
"telegram"
],
"maxMessagesPerChannel": 5,
"maxTotalMessages": 10,
"minViews": 0,
"monitorName": "default"
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["channelUsername"], "|", item["views"], "views |", item["postUrl"])

n8n / Make / Zapier (HTTP Request)

  • Method: POST
  • URL: https://api.apify.com/v2/acts/data-goose~telegram-channel-scraper/run-sync-get-dataset-items
  • Headers: Authorization: Bearer {{APIFY_TOKEN}}, Content-Type: application/json
  • Body:
{
"channels": [
"durov",
"telegram"
],
"maxMessagesPerChannel": 5,
"maxTotalMessages": 10,
"minViews": 0,
"monitorName": "default"
}

cURL

curl -X POST "https://api.apify.com/v2/acts/data-goose~telegram-channel-scraper/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channels": ["durov", "telegram"], "maxMessagesPerChannel": 5, "maxTotalMessages": 10, "minViews": 0, "monitorName": "default"}'

Explore the Data Goose Scraper Suite (128 MB Pure-HTTP)

All published Actors below run in 128 MB RAM with zero browser overhead and deterministic schemas (all ATS & Job scrapers share the exact same 31-field output schema):

ActorTarget Platform & Primary Use Case
All-in-One ATS Job Scraper (9 Platforms) (data-goose/career-site-job-scraper)All-in-One Router: auto-detects & scrapes all 9 ATS platforms from any company domain or URL
Workday Jobs Scraper: Unlimited API & Salaries (data-goose/workday-job-scraper)Workday: Fortune 500 & global enterprises (>2,000 facet bypass + 100+ built-in boards)
Greenhouse Jobs Scraper (Fast API & Salaries) (data-goose/greenhouse-job-scraper)Greenhouse: High-growth tech & unicorns (US + EU API, pay_transparency salaries)
Lever Jobs Scraper (US & EU Postings API) (data-goose/lever-job-scraper)Lever: Tech & scaleups (US + EU fallback, native salaryRange + combined lists)
Ashby Job Scraper (YC Startups & Salaries) (data-goose/ashby-job-scraper)Ashby: AI startups & YC companies (includeCompensation=true structured salary tiers)
SmartRecruiters Jobs Scraper (Enterprise API & Salaries) (data-goose/smartrecruiters-job-scraper)SmartRecruiters: Global enterprises (ServiceNow, Bosch, Experian, Eurofins)
Rippling Jobs Scraper (ATS Boards & Salaries) (data-goose/rippling-job-scraper)Rippling ATS: Modern startups & scaleups (/api/v1/board/{slug}/jobs + pay ranges)
Workable Jobs Scraper: Direct API & Salaries (data-goose/workable-job-scraper)Workable: Mid-market & European tech (v3 list + v2 detail orchestration)
Recruitee Jobs Scraper (Bulk API, Salaries & Emails) (data-goose/recruitee-job-scraper)Recruitee: European & remote-first companies (single-call /api/offers JSON)
Breezy HR Jobs Scraper (Salaries & Hiring Emails) (data-goose/breezyhr-job-scraper)Breezy HR: SMB & agencies (live /json feeds + full descriptions, no 100-item cap)

Looking for our E-Commerce, Lead Enrichment, Financial & Trend Scrapers? Browse all published 128 MB pure-HTTP scrapers on the Data Goose Apify Store Profile.


Support & Custom Contracting

  • Bugs & feature requests: open an issue on the Actor's Issues tab or email us.
  • datagoosedev@gmail.com — we reply within one business day.