New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Scrape and search Reddit posts using Apify

Reddit post finder

by gooseworks-ai · MIT license · ★ 1,220 on GitHub · updated Sep 21

Reddit post finder cover

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.

---
name: reddit-post-finder
description: 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.
---

# Reddit Post Finder

Scrape Reddit posts and comments using the Apify `trudax/reddit-scraper-lite` actor.

## Quick Start

Requires `APIFY_API_TOKEN` env var (or `--token` flag).

```bash
# 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

Overview

Scrape Reddit posts and comments using the Apify trudax/reddit-scraper-lite actor.

Manual install (npx, ZIP)
Claude Codenpx skills add gooseworks-ai/goose-skills --skill reddit-post-finder -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/gooseworks-ai/goose-skills/tar.gz/615c685f34f8 \ | tar -xz -C ~/.claude/skills --strip-components=4 goose-skills-615c685f34f8/skills/monitoring/capabilities/reddit-post-finder
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/0dd6eea5dfe0cb85b357/reddit-post-finder.zip" -OutFile "$env:TEMP\reddit-post-finder.zip"; Expand-Archive "$env:TEMP\reddit-post-finder.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md4.8 KB
  • skill.meta.json261 B
  • references/1 file · 3.2 KB
  • scripts/1 file · 9.1 KB
Read the files here
gooseworks-ai/615c6854 files
SKILL.md
Show the full text140 lines

Reddit Post Finder

Scrape Reddit posts and comments using the Apify trudax/reddit-scraper-lite actor.

Quick Start

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 summary

How the Script Works

  1. Builds full Reddit URLs for each subreddit (e.g. https://www.reddit.com/r/growthhacking/top/?t=week)
  2. Calls the Apify trudax/reddit-scraper-lite actor via REST API
  3. Polls until the run completes, then fetches the dataset
  4. Applies client-side keyword and date filtering
  5. Sorts by upvotes (descending) and outputs JSON or summary

CLI Reference

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

Tips for Small Subreddits

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.

Direct API Usage

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:

  • Uses startUrls with full Reddit URLs (not a searches array for subreddit browsing)
  • Sort/time are controlled via the URL path (e.g. /top/?t=week), not separate input fields
  • Only startUrls and maxItems are confirmed working input fields
  • Does not support proxyConfiguration, scrollTimeout, or searchType

Output fields:

  • dataType — "post" or "comment"
  • title — Post title
  • body — Post body text
  • communityName — Subreddit name (without r/ prefix)
  • upVotes — Number of upvotes
  • numberOfComments — Comment count
  • url — Full URL to the post
  • createdAt — ISO timestamp of when the post was created

Common Workflows

1. Competitor Tracking
python3 skills/reddit-post-finder/scripts/search_reddit.py \
  --subreddit "LLMDevs,MachineLearning,LocalLLaMA" \
  --keywords "Langfuse,Arize,Weights & Biases,Langsmith,Braintrust" \
  --days 30 --sort top --time month
2. Pain Point Discovery
python3 skills/reddit-post-finder/scripts/search_reddit.py \
  --subreddit LLMDevs \
  --keywords "frustrating,difficult,hard to,wish there was,better way" \
  --days 30
3. Brand Monitoring
python3 skills/reddit-post-finder/scripts/search_reddit.py \
  --subreddit "LLMDevs,MachineLearning" \
  --keywords "YourProductName" \
  --days 7 --sort new

Important: Always Include Post URLs

When 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.

Output Format

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/..."
}

Configuration

See references/apify-config.md for detailed API configuration, token setup, and rate limits.

1---
2name: reddit-post-finder
3description: 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.
4---
5 
6# Reddit Post Finder
7 
8Scrape Reddit posts and comments using the Apify `trudax/reddit-scraper-lite` actor.
9 
10## Quick Start
11 
12Requires `APIFY_API_TOKEN` env var (or `--token` flag).
13 
14```bash
15# Top posts from r/growthhacking in last week
16python3 skills/reddit-post-finder/scripts/search_reddit.py \
17 --subreddit growthhacking --days 7 --sort top --time week
18 
19# Hot posts from multiple subreddits
20python3 skills/reddit-post-finder/scripts/search_reddit.py \
21 --subreddit "growthhacking,gtmengineering" --days 7 --sort hot
22 
23# Keyword-filtered competitor tracking
24python3 skills/reddit-post-finder/scripts/search_reddit.py \
25 --subreddit LLMDevs \
26 --keywords "Langfuse,Arize,Langsmith" \
27 --days 30
28 
29# Human-readable summary table
30python3 skills/reddit-post-finder/scripts/search_reddit.py \
31 --subreddit growthhacking --days 7 --output summary
32```
33 
34## How the Script Works
35 
361. Builds full Reddit URLs for each subreddit (e.g. `https://www.reddit.com/r/growthhacking/top/?t=week`)
372. Calls the Apify `trudax/reddit-scraper-lite` actor via REST API
383. Polls until the run completes, then fetches the dataset
394. Applies client-side keyword and date filtering
405. Sorts by upvotes (descending) and outputs JSON or summary
41 
42## CLI Reference
43 
44| Flag | Default | Description |
45|------|---------|-------------|
46| `--subreddit` | *required* | Subreddit name(s), comma-separated |
47| `--keywords` | none | Keywords to filter (comma-separated, OR logic) |
48| `--days` | 30 | Only include posts from the last N days |
49| `--max-posts` | 50 | Max posts to scrape per subreddit |
50| `--sort` | top | Sort: `hot`, `top`, `new`, `rising` |
51| `--time` | week | Time window for `top` sort: `hour`, `day`, `week`, `month`, `year`, `all` |
52| `--output` | json | Output format: `json` or `summary` |
53| `--token` | env var | Apify token (prefer `APIFY_API_TOKEN` env var) |
54| `--timeout` | 300 | Max seconds to wait for the Apify run |
55 
56## Tips for Small Subreddits
57 
58Small 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.
59 
60## Direct API Usage
61 
62If calling the Apify API directly (e.g. via curl), note these **required fields**:
63 
64```json
65{
66 "startUrls": [{"url": "https://www.reddit.com/r/growthhacking/top/?t=week"}],
67 "maxItems": 50
68}
69```
70 
71Key notes for `trudax/reddit-scraper-lite`:
72- Uses `startUrls` with **full Reddit URLs** (not a `searches` array for subreddit browsing)
73- Sort/time are controlled via the **URL path** (e.g. `/top/?t=week`), not separate input fields
74- Only `startUrls` and `maxItems` are confirmed working input fields
75- Does **not** support `proxyConfiguration`, `scrollTimeout`, or `searchType`
76 
77**Output fields:**
78- `dataType` — `"post"` or `"comment"`
79- `title` — Post title
80- `body` — Post body text
81- `communityName` — Subreddit name (without `r/` prefix)
82- `upVotes` — Number of upvotes
83- `numberOfComments` — Comment count
84- `url` — Full URL to the post
85- `createdAt` — ISO timestamp of when the post was created
86 
87## Common Workflows
88 
89### 1. Competitor Tracking
90 
91```bash
92python3 skills/reddit-post-finder/scripts/search_reddit.py \
93 --subreddit "LLMDevs,MachineLearning,LocalLLaMA" \
94 --keywords "Langfuse,Arize,Weights & Biases,Langsmith,Braintrust" \
95 --days 30 --sort top --time month
96```
97 
98### 2. Pain Point Discovery
99 
100```bash
101python3 skills/reddit-post-finder/scripts/search_reddit.py \
102 --subreddit LLMDevs \
103 --keywords "frustrating,difficult,hard to,wish there was,better way" \
104 --days 30
105```
106 
107### 3. Brand Monitoring
108 
109```bash
110python3 skills/reddit-post-finder/scripts/search_reddit.py \
111 --subreddit "LLMDevs,MachineLearning" \
112 --keywords "YourProductName" \
113 --days 7 --sort new
114```
115 
116## Important: Always Include Post URLs
117 
118When 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.
119 
120## Output Format
121 
122Posts are returned as JSON array sorted by upvotes. Each post has:
123 
124```json
125{
126 "dataType": "post",
127 "title": "Post title",
128 "body": "Post body...",
129 "communityName": "growthhacking",
130 "upVotes": 42,
131 "numberOfComments": 15,
132 "createdAt": "2026-02-18T12:00:00.000Z",
133 "url": "https://reddit.com/r/..."
134}
135```
136 
137## Configuration
138 
139See `references/apify-config.md` for detailed API configuration, token setup, and rate limits.
140 
View all files on GitHub →

Details

Updated
Sep 21, 2026
License
MIT
Stars on the repo
★ 1,220
Checked
Source
gooseworks-ai/goose-skills ↗
Creator
gooseworks-ai · 206 listings
View creator

Made with reddit-post-finder

Reddit post finder — CleanShot 2026-07-13 at 20 16 54@2x (from the gooseworks-ai/goose-skills README)
Reddit post finder — CleanShot 2026-07-13 at 20 16 54@2x (from the gooseworks-ai/goose-skills README)

by gooseworks-ai

Similar skills

See all →
SkillAI crawler access analysisAI Crawler Access Analysis Skillzubair-trabzada/geo-seo-claude · by zubair-trabzadaAI crawler access analysis. Checks robots.txt, meta tags, and HTTP headers to determine which AI crawlers can access the site. Provides a complete access map and recommendations for maximizing AI visibility while maintaining appropriate control.★ 10.8k GitHub starsSkillAutomate browser tasks, scrape websites, fill formsBrowser Automation - POWERFULalirezarezvani/claude-skills · by alirezarezvaniUse when the user asks to automate browser tasks, scrape websites, fill forms, capture screenshots, extract structured data from web pages, or build web automation workflows. NOT for testing — use playwright-pro for that.★ 26.3k GitHub starsSkillBrowser automation skill for controlling Google's NotebookLMNotebookLM — Browser Automationalirezarezvani/claude-skills · by alirezarezvaniBrowser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio/Video Overviews, Mind Maps, Reports incl. Briefing Doc/Study Guide/FAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.★ 26.3k GitHub starsSkill4-tier progressive web scraping that auto-escalates WebFetchBrightdatadanielmiessler/LifeOS · by danielmiessler4-tier progressive web scraping that auto-escalates WebFetch to curl to Interceptor to Bright Data proxy for bot detection and CAPTCHAs, with single-URL and multi-page crawl modes, output as markdown. USE WHEN Bright Data, scrape URL, web scraping, bot detection, crawl site, CAPTCHA, can't access, site blocking, extract page content, scrape whole site, spider domain, convert URL to markdown, getting blocked. NOT FOR simple public content (use WebFetch directly), social platform scraping with named actors (use Apify), or real-Chrome bot bypass with logged-in sessions and zero CDP fingerprint (use Interceptor).★ 19.3k GitHub starsSkillScrape blog posts via RSS feeds with Apify fallbackBlog feed monitorgooseworks-ai/goose-skills · by gooseworks-aiScrape blog posts via RSS feeds (free, no API key) with Apify fallback for JS-heavy sites. Use when you need to monitor competitor blogs, track industry content, or aggregate blog posts by keyword.★ 1.2k GitHub starsSkillExtract structured data from web pages using AIExtract webpage datagooseworks-ai/goose-skills · by gooseworks-aiExtract structured data from web pages using AI★ 1.2k GitHub stars

More from gooseworks-ai

SkillMine the highest-converting ad angles from customer reviewsAd angle minergooseworks-ai/goose-skills · by gooseworks-aiMine the highest-converting ad angles from customer reviews, Reddit complaints, support tickets, and competitor ads. Extracts actual pain language, competitor weaknesses, and outcome phrases that real buyers use. Outputs a ranked angle bank with proof quotes and recommended ad formats per angle.★ 1.2k GitHub starsSkillAnalyze ad campaign performance data to identify what'sAd campaign analyzergooseworks-ai/goose-skills · by gooseworks-aiAnalyze ad campaign performance data (Google, Meta, LinkedIn) to identify what's working, what's wasting budget, and specific cut/scale/test recommendations. Runs statistical analysis, funnel diagnostics, and multi-channel budget reallocation with specific dollar-amount shift recommendations and scenario modeling.★ 1.2k GitHub starsSkillFor paid lead-gen and participant-recruitment adsAd lead quality analyzergooseworks-ai/goose-skills · by gooseworks-aiFor paid lead-gen and participant-recruitment ads, replaces vanity CPA with true CAC per qualified lead by joining ad-platform data with downstream funnel events, surfaces tracking gaps, and classifies every creative into Scale / Keep / Investigate / Cut.★ 1.2k GitHub starsSkillAnalyze the message match between your ads and landing pagesAd to landing page auditorgooseworks-ai/goose-skills · by gooseworks-aiAnalyze the message match between your ads and landing pages. Checks if the promise in the ad copy carries through to the landing page headline, body, and CTA. Flags disconnects that kill conversion rates. Works with Google, Meta, and LinkedIn ads.★ 1.2k GitHub starsSkillCheck and improve your brand's visibility across AI searchAeogooseworks-ai/goose-skills · by gooseworks-aiCheck and improve your brand's visibility across AI search engines (ChatGPT, Perplexity, Gemini, Grok, Claude, DeepSeek). Set up tracking, run visibility analyses, audit your website for AI readability, and get actionable recommendations. Uses the npx goose-aeo@latest CLI.★ 1.2k GitHub starsSkillSearch Amazon products - find items, compare pricesAmazon Product Searchgooseworks-ai/goose-skills · by gooseworks-aiSearch Amazon products - find items, compare prices, read reviews★ 1.2k GitHub stars