Scrape and search Reddit posts using Apify. Use when you need to find Reddit discussions, track competitor mentions, monitor product feedback, discover pain points, or analyze subreddit content. Supports keyword filtering, time-based searches, and subreddit-specific queries.
72
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Scrape Reddit posts and comments using the Apify trudax/reddit-scraper-lite actor.
Requires APIFY_API_TOKEN env var (or --token flag).
# Top posts from r/growthhacking in last week
python3 skills/reddit-post-finder/scripts/search_reddit.py \
--subreddit growthhacking --days 7 --sort top --time week
# Hot posts from multiple subreddits
python3 skills/reddit-post-finder/scripts/search_reddit.py \
--subreddit "growthhacking,gtmengineering" --days 7 --sort hot
# Keyword-filtered competitor tracking
python3 skills/reddit-post-finder/scripts/search_reddit.py \
--subreddit LLMDevs \
--keywords "Langfuse,Arize,Langsmith" \
--days 30
# Human-readable summary table
python3 skills/reddit-post-finder/scripts/search_reddit.py \
--subreddit growthhacking --days 7 --output summaryhttps://www.reddit.com/r/growthhacking/top/?t=week)trudax/reddit-scraper-lite actor via REST API| Flag | Default | Description |
|---|---|---|
--subreddit | required | Subreddit name(s), comma-separated |
--keywords | none | Keywords to filter (comma-separated, OR logic) |
--days | 30 | Only include posts from the last N days |
--max-posts | 50 | Max posts to scrape per subreddit |
--sort | top | Sort: hot, top, new, rising |
--time | week | Time window for top sort: hour, day, week, month, year, all |
--output | json | Output format: json or summary |
--token | env var | Apify token (prefer APIFY_API_TOKEN env var) |
--timeout | 300 | Max seconds to wait for the Apify run |
Small or low-traffic subreddits (e.g. r/gtmengineering) may return zero posts with --sort hot because the hot feed is nearly empty. Use --sort top --time week (or month) instead — this scrapes the top-ranked posts over the time window and reliably returns results.
If calling the Apify API directly (e.g. via curl), note these required fields:
{
"startUrls": [{"url": "https://www.reddit.com/r/growthhacking/top/?t=week"}],
"maxItems": 50
}Key notes for trudax/reddit-scraper-lite:
startUrls with full Reddit URLs (not a searches array for subreddit browsing)/top/?t=week), not separate input fieldsstartUrls and maxItems are confirmed working input fieldsproxyConfiguration, scrollTimeout, or searchTypeOutput fields:
dataType — "post" or "comment"title — Post titlebody — Post body textcommunityName — Subreddit name (without r/ prefix)upVotes — Number of upvotesnumberOfComments — Comment counturl — Full URL to the postcreatedAt — ISO timestamp of when the post was createdpython3 skills/reddit-post-finder/scripts/search_reddit.py \
--subreddit "LLMDevs,MachineLearning,LocalLLaMA" \
--keywords "Langfuse,Arize,Weights & Biases,Langsmith,Braintrust" \
--days 30 --sort top --time monthpython3 skills/reddit-post-finder/scripts/search_reddit.py \
--subreddit LLMDevs \
--keywords "frustrating,difficult,hard to,wish there was,better way" \
--days 30python3 skills/reddit-post-finder/scripts/search_reddit.py \
--subreddit "LLMDevs,MachineLearning" \
--keywords "YourProductName" \
--days 7 --sort newWhen presenting Reddit results to the user, always include the original post URL for every post. This is critical for allowing users to read the full discussion, comments, and context. Never return a summary table without links.
Posts are returned as JSON array sorted by upvotes. Each post has:
{
"dataType": "post",
"title": "Post title",
"body": "Post body...",
"communityName": "growthhacking",
"upVotes": 42,
"numberOfComments": 15,
"createdAt": "2026-02-18T12:00:00.000Z",
"url": "https://reddit.com/r/..."
}See references/apify-config.md for detailed API configuration, token setup, and rate limits.
8866b2a
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.