Reddit Scraper
lantfly/reddit-scraper
Posts of subreddits, searches, users and post URLs, and their comments: the official API with your Reddit app, else logged out.
Run this actor in the dashboard
543 runs quality score 70.15/100 social-media updated 2026-11-16
Price
Pay per event, on top of the compute the run uses.
| Event | What it is | USD each |
|---|---|---|
result_itemResult item |
0.002 |
Input
| Field | Type | Default | What it is |
|---|---|---|---|
postUrlsPost URLs |
array | [] | Post URLs (`reddit.com/r/<sub>/comments/<id>/…`, `redd.it/<id>`) or ids: one item each with score, upvote ratio, comments and crossposts. |
profilesUsers |
array | [] | Usernames (`u/<name>`) or user URLs (`reddit.com/user/<name>`): the posts they submitted. |
strategiesStrategies |
array | Optional: which ways to try, in order (names or kinds; `*` = the rest in the default order). Default: oauth-api, public-json, rss. | |
subredditsSubreddits |
array | [] | Names (`VietNam`, `r/VietNam`) or URLs (`reddit.com/r/<name>`): their newest posts. |
commentUrlsComment URLs |
array | [] | Post URLs whose comments to read: one target `comments:<url>` each, rows with `kind: "comment"` in the reddit-scraper comment shape. |
searchTermsSearch terms |
array | [] | Newest first, Reddit-wide; `r/<subreddit> <query>` searches one subreddit. |
resultsLimitPosts per subreddit/search/user |
integer | 25 | |
commentsPerPostComments per post |
integer | 50 | Most comments read per comment URL (top-level comments, newest first where the platform allows). |
maxRequestRetriesMax request retries |
integer | 2 | Retries per target on a new exit IP after a block, rate limit or network error. |
onlyPostsNewerThanOnly posts newer than |
string | `YYYY-MM-DD`: older posts are left out, and lists stop paging there. | |
proxyConfigurationProxy |
object | {"groups":["DATACENTER"],"useLantflyProxy":true} |
Sample input
{
"subreddits": [
"VietNam"
],
"resultsLimit": 25
}
README
Reddit Scraper
Items: id, name (t3_…), url, title, selftext, text, subreddit, subredditSubscribers, author{username, url, flair}, flair, hashtags (the flair first), score, likeCount, upvoteRatio, commentCount, crosspostCount, shareCount, awardCount, awards, postFormat (text, image, video, gallery, link), linkUrl, domain, images, imageUrl, mediaCount, isVideo, videoUrl, videoDuration, videoWidth, videoHeight, over18, spoiler, stickied, locked, crosspostParent, publishedAt (exact), editedAt, via (api, rss), input. Comments: commentUrls + commentsPerPost give rows with kind: comment (id, text, score, replyCount, depth, parentId, postId, postUrl, isSubmitter, publishedAt).
Strategies: oauth-api (Reddit's official Data API with your Reddit app: Settings → Data sources → Reddit API, client id and secret; app-only OAuth, 100 queries a minute per app, every count), public-json (anonymous .json: Reddit refuses it to most IPs), rss (the Atom feeds: the newest posts or a post's comments with their text, author, time and media, no counts; one request a minute). Reddit shows no view count.
Issues
0 open issues0 closed issues
What people reported and what the author answered is not published: sign in to read the reports or open one.
Reviews
No published review yet.