AS
Apify Store
/trudax/reddit-scraper
Scrape Reddit
Unlimited Reddit web scraper to crawl posts, comments, communities, and users without login. Limit web scraping by number of posts or items and extract all data in a dataset in multiple formats.
liveverifiedasyncunknown~30s typical
redditpostscommentssubreddit
$0.0020
per result + $0.01 call
plus $0.001 platform fee per run
Rental actor: requires an active rental on the master account; compute billed per result
Bring your own Apify Store key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run apify /trudax/reddit-scraper for me.
Input
| Field | Type | Description |
|---|---|---|
| startUrls | array | If you already have URL(s) of page(s) you wish to scrape, you can set them here. If you want to use the search field below, remove all startUrls here. |
| skipComments | boolean | This will skip scrapping comments when going through posts default false |
| skipUserPosts | boolean | This will skip scrapping user posts when going through user activity default false |
| skipCommunity | boolean | This will skip scrapping community info but will still get community posts if they were not skipped. default false |
| includeMediaLinks | boolean | This will include upVotes, upVoteRatio, imageUrls, videoUrls, and numberOfComments when scraping posts. Enabling this will use a more detailed extraction method, which may affect performance. default false |
| searches | array | Here you can provide a search query which will be used to search Reddit`s topics. |
| searchCommunityName | string | If provided, the search will be performed only inside this community (e.g., 'programming'). |
| ignoreStartUrls | boolean | Mainly used as a fix for ignoring starUrl on Zapier default false |
| searchPosts | boolean | Will search for posts with the provided search default true |
| searchComments | boolean | Will search for comments with the provided search default false |
| searchCommunities | boolean | Will search for communities with the provided search default false |
| searchUsers | boolean | Will search for users with the provided search default false |
| searchMedia | boolean | Will search for media with the provided search default false |
| sort | string ( | relevance | hot | top | new | rising) | Sort search by Relevance, Hot, Top, New or Comments default "new" |
| time | string (all | hour | day | week | month | year) | Filter posts by last hour, week, day, month or year |
| includeNSFW | boolean | You can choose to include or exclude NSFW content from your search default true |
| maxItems | integer | The maximum number of items that will be saved in the dataset. If you are scrapping for Communities&Users, remember to consider that each category inside a community is saved as a separated item. default 10 |
| maxPostCount | integer | The maximum number of posts that will be scraped for each Posts Page or Communities&Users URL default 10 |
| postDateLimit | string | Use this value to only retrieve posts published after a specific date. |
| commentDateLimit | string | Use this value to only retrieve comments published after a specific date inside a post. |
| maxComments | integer | The maximum number of comments that will be scraped for each Comments Page. If you don't want to scrape comments you can set this to zero. default 10 |
| maxCommunitiesCount | integer | The maximum number of `Communities`'s pages that will be scraped if your search or startUrl is a Communities type. default 2 |
| maxUserCount | integer | The maximum number of `Users`'s pages that will be scraped. default 2 |
| scrollTimeout | integer | Set the timeout in seconds in which the page will stop scrolling down to load new items default 40 |
| navigationTimeout | integer | Set the navigation timeout in seconds for page loading default 60 |
| maxRequestRetries | integer | The maximum number of times the crawler will retry a failed request. default 6 |
| proxy* | object | Either use Apify proxy, or provide your own proxy servers. default {"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]} |
| debugMode | boolean | Activate to see detailed logs default false |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"apify","endpoint":"/trudax/reddit-scraper","input":{"startUrls":[{"url":"https://www.reddit.com/r/Peptides/"}],"maxItems":30},"wait":false}'poll
curl "https://cracked-ai-pearl.vercel.app/v1/runs/<runId>?wait=30" -H "Authorization: Bearer ck_live_..."cli
npx cracked-ai run -p apify -e /trudax/reddit-scraper -i '{"startUrls":[{"url":"https://www.reddit.com/r/Peptides/"}],"maxItems":30}' -w 120mcp
run_tool({ provider: "apify", endpoint: "/trudax/reddit-scraper", input: {"startUrls":[{"url":"https://www.reddit.com/r/Peptides/"}],"maxItems":30}, wait: false })Try it
Runs against your signed-in workspace balance. Sign in if you have not.