📋 Reddit Subreddit Posts | What a community is talking about right now Give it one or more subreddits and get every post as a row: title, author, time, flair, score, comment count and share count. Sort by hot, new, top, rising, best or controversial, and page deeper for a longer history.
A repeated value in sorts multiplied the run. sorts is not declared in
input_schema.json, so it is reachable through the API only, and its entries went
straight into the request loop: sorts: ["NEW" x 50] produced 50 walks per
subreddit while every validation still passed. Each entry is one upstream request,
so this was unbounded paid upstream traffic bought with a single actor run.
Entries are now de-duplicated after the whitelist filter, which also fixes paying
callers being billed twice for the same list.
The same run is capped at 5 subreddits x 2 pages regardless of how the array is
spelled, so the README's "cannot be raised from the input form" is now true.
[0.4] - 2026-11-09
The Billing section claimed the Actor charges "pay per result". It does not: the
only charge event registered on the platform is apify-actor-start, collected once
when the run begins, so a run returning 300 rows costs the same as one returning 3.
The section now describes that, and stops promising something the invoice contradicts.
Free-plan runs are capped at 5 subreddits x 2 pages x 50 posts. Every page, seed and enrichment is one upstream
request, so this is where the real cost sits. The cap is written to the dataset as a
notice row and to SUMMARY.appliedLimits.capped, and a capped run still ends
SUCCEEDED - exceeding a plan quota is never a failed run.
[0.3] - 2026-10-12
The run can no longer be killed by the key-value store. Under
LIMITED_PERMISSIONS — how Apify's automated QA and every API-triggered run
starts an Actor — opening the store is refused with HTTP 403
(KeyValueStoreCollectionClient.getOrCreate, path /v2/key-value-stores).
That call sat in a || fallback chain and was never inside a try/catch of
ours, so the throw ended the run with exit code 91 and a reported FAILED run
with zero items. Every store open now goes through a wrapper that returns a
no-op store instead of throwing, so the free-run counter and the run SUMMARY
degrade and the actual work proceeds.
The gate store's name-to-id lookup no longer depends on the store still being
on the first page. There is no GET-by-name endpoint, so the lookup pages
through /v2/key-value-stores; it used a fixed limit=50, which silently
stopped containing gate stores once the account passed 50 of them — and the
account creates a new default store on every run, so that list grows on its
own. The lookup now pages (100 per page, up to 20 pages).
Medians on an even-sized sample returned the upper-middle element, not the
median. arr[Math.floor(arr.length / 2)] yields the larger of the two middle
values, which biases the number upward — the exact bias a median exists to
remove. It now averages the two middle values.
[0.2] - 2026-10-09
Changed
README: added three sections before Quick start - what you can use it for, who it fits, and who it does not fit. The last section now names the Actor's real limits (what it cannot reach, which field is unavailable, which reading of a metric is wrong), so a buyer can tell whether it is the wrong tool before paying.
0.1 (2026-10-04)
Initial release. One dataset row per subreddit post: title, author, time, flair, score (with a hidden-score flag), comment and share counts, body preview, real post id and working links.
Six sorts (NEW/HOT/TOP/RISING/BEST/CONTROVERSIAL); input accepts r/name, a plain name or a full reddit.com URL, up to 20 subreddits per run with cursor paging and de-duplication by post id.
Measured quirks handled: a post's fields are split across cells (MetadataCell / TitleCell / FlairCell / PreviewTextCell / ActionCell) and must be reassembled; the real post id is node.groupId while node.id is a base64 cell-group id; edges and pageInfo sit at different depths per sort so both are searched for; sort must be UPPERCASE; the subscriber count lives in data.subredditInfoByName.subscribersCount; and promoted rows arrive with no MetadataCell.
Promoted rows are kept and flagged via isPromoted instead of being dropped, so post counts stay honest. Per-subreddit summary: median score/comments, subscriber count, promoted row count and top flairs.
Free tier: 5 runs/day (counter persisted in a cross-run named KV store).