Skip to main content

Reddit market research tool for finding potential users and pain points

Project description

Reddit Market Research Tool

Search Reddit for potential users, pain points, and market opportunities for your projects.

Installation

pip install reddit-market-research

Setup

Create a praw.ini file in your working directory with your Reddit API credentials:

[market_research]
client_id = YOUR_CLIENT_ID
client_secret = YOUR_CLIENT_SECRET
username = YOUR_USERNAME
password = YOUR_PASSWORD
user_agent = market_research by u/YOUR_USERNAME

Get credentials at https://www.reddit.com/prefs/apps (create a "script" app).

Usage

Search Historical Posts

# Basic search (keywords and subreddits required)
reddit-market-research search -s "startups+SaaS" -k "AI tool,help,recommendation"

# JSON output for programmatic use
reddit-market-research search -s "webdev" -k "bug,issue" --json

# Save to CSV
reddit-market-research search -s "programming" -k "help,looking for" --output results.csv

# Time filters and limits
reddit-market-research search -s "fitness" -k "app,tracking" --time year --limit 50

# Load keywords from file
reddit-market-research search -s "startups" --keywords-file keywords.txt --json

Monitor New Posts (real-time)

reddit-market-research monitor -s "startups+SaaS" -k "looking for,need help"

Options

Flag Short Description
--subreddits -s Subreddits to search (plus-separated) required
--keywords -k Keywords to match (comma-separated)
--keywords-file Load keywords from file (one per line)
--time -t Time filter: hour, day, week, month, year, all
--sort Sort: relevance, hot, top, new, comments
--limit -l Max results to display
--json -j Output as JSON
--output -o Save to file (.csv or .json)

Output Fields

Each result includes:

  • title - Post title
  • body - First 200 chars of post body (where pain points often live)
  • subreddit - Source subreddit
  • score - Upvotes
  • comments - Comment count
  • url - Direct link to post
  • created - Post timestamp
  • author - Reddit username

Claude Code Workflow

This tool is designed to be used with Claude Code for market research on GitHub repos:

User: "Research market opportunities for https://github.com/neonwatty/seating-arrangement"

Claude Code:
  1. Fetches repo README via WebFetch
  2. Analyzes project → generates keywords + subreddits
  3. Runs: reddit-market-research search -s "..." -k "..." --json
  4. Parses JSON results
  5. Summarizes opportunities for user

Example prompts:

  • "Find Reddit discussions about problems my seating-arrangement tool could solve"
  • "Search for potential users of my meme-search project"
  • "What pain points do people have that my youtube-tools repo addresses?"

Development

# Clone and install in development mode
git clone https://github.com/neonwatty/reddit-market-research.git
cd reddit-market-research
pip install -e ".[dev]"

# Run linting
ruff check reddit_monitor.py

# Run formatter
ruff format reddit_monitor.py

# Run type checking
mypy reddit_monitor.py

# Run dead code detection
vulture reddit_monitor.py tests/

# Run tests
pytest tests/ -v

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reddit_market_research-0.1.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reddit_market_research-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file reddit_market_research-0.1.0.tar.gz.

File metadata

  • Download URL: reddit_market_research-0.1.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for reddit_market_research-0.1.0.tar.gz
Algorithm Hash digest
SHA256 988fbd5a227221d51c6a2b4cf8d3fe678c371c95f50c5d2824a3b0c1b5fc03fd
MD5 6883d844943caebc2c1718759b45bd54
BLAKE2b-256 b66ae6a327c33760abc5fdf25b0fd3452a45097e4e4bd4fc15b7d4b43c9ed48e

See more details on using hashes here.

File details

Details for the file reddit_market_research-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for reddit_market_research-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8be43893ce76f14af9ecc37c29738bb1be89666ca67219efe417bc5b76cadc5
MD5 3ea926943c48c7c8a5d191b1ce29a5f3
BLAKE2b-256 edbddf0438715dabf8bfd9ddc78a65544326494f595bcdb44d7b5fa498c768b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page