- New input
maxCostUsd: a hard cost cap for one run that works from every client, including AI agents that call the Actor through MCP, where the platform's maximum-charge option cannot be set. The run counts its start fee, pages read and posts delivered and stops before the next one would pass the cap. The lower of this cap and the platform's maximum charge applies.
- Listing: the price is stated as the full range by Apify plan ($0.50 to $0.80 per 1,000 posts) instead of the lowest tier only.
Second hardening round, from an independent security review. Output change: textMarkdown now escapes markup that was typed inside a post, and links with unsafe schemes are dropped.
- Custom proxy URLs are no longer used (the run says so in
RUN_SUMMARY.notices). A proxy the user controls could stall every page just inside the timeout, serve forged pages, or point back at Apify's residential pool.
- TLS certificates are verified. The HTTP library accepted any certificate by default.
- The run stops asking when the source has become too slow (average above 4 seconds a page after 10 pages) or unstable (more than two minutes spent on pages that never loaded, and more than on pages that did).
- The circuit breaker also counts channels that delivered some pages and then lost the source.
- Text handling is linear in time: long runs of spaces in a post or on a landing page no longer slow parsing down.
textMarkdown: plain text can no longer turn into a link, an image, inline HTML or a code span. Links, in Markdown and in links, are limited to web, tg, mailto and tel addresses.
- Page-read charges that fail are kept and retried; after two failed charge calls in a row the run stops reading (
charging_unavailable).
- History runs save their position at most two seconds after a delivery (was ten).
- A channel named
constructor is handled like any other name.
- Error messages no longer repeat text sent by a server.
- CI: the canary workflow could not fail (missing
pipefail); fixed. A release branch now moves only after the checks pass, and Apify builds from it.
Security and cost hardening after publication. No change to the output format; RUN_SUMMARY gains a notices list.
- Proxy policy: a selected Apify Proxy group or country (residential and other groups billed by traffic) is replaced by automatic selection, and the run says so in
RUN_SUMMARY.notices. Measured: residential traffic cost about $0.00019 per page, several times the page fee. The user's own proxy URLs still work.
- A source that does not answer is dropped fast: 10-second response timeout (was 30), a time budget per page, one short attempt per page until Telegram has answered once, and the run stops asking after five pages without any answer. Waits on
Retry-After are capped at 15 seconds.
- Network safety: redirects are checked before they are followed and only Telegram's hosts are allowed; responses above 5 MB or with a non-HTML content type are rejected.
- Channel usernames read from Telegram's pages must match Telegram's username alphabet before they are used in IDs, links and log lines.
- Page-read charges are sent in batches of 10 (was 25), so a run that is killed without warning leaves fewer pages uncharged.
- Keywords longer than 200 characters are rejected.
- Dependencies: two transitive packages with published advisories (
basic-ftp, minimatch; neither reachable from this Actor's code) are pinned to patched versions, so npm audit is clean. CI now fails on a high or critical advisory in a production dependency.
First release.
- Scrape posts from public Telegram channels through the public web preview: no login, no API key.
- Monitoring mode ("Only new posts"): returns only posts published since the previous run; continues where it stopped; album-safe; one monitor per Task or per custom name.
- Local keyword matching (any or all keywords, optional whole words) in any script.
- Date range with a direct jump to older periods.
- Structured output: full timestamps, views, reactions, media, polls, link previews, forwards, replies, links, hashtags, mentions, language.
- Run summary with per-channel coverage: status, period covered, stop reason, whether more posts are available.
- Stops cleanly at the user's maximum charge; unreadable channels, non-matching posts and duplicates are never billed.