# Reddit Scraper: Pain Points & Customer Problems with AI (`ingeniela/reddit-pain-point-miner`) Actor

Find what people complain about, ask and wish for on Reddit in any niche: ranked pain points, questions and objections with real quotes, plus content ideas, hooks, ad angles and product ideas.

- **URL**: https://apify.com/ingeniela/reddit-pain-point-miner.md
- **Developed by:** [Ingeniela](https://apify.com/ingeniela) (community)
- **Categories:** AI, Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 88.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 theme founds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Reddit Pain Point Finder: Customer Problems with AI

Reddit is where people say what they really think: what frustrates them, what they tried, what they would pay for. This Actor searches Reddit for your niche, reads the posts **and the comments**, and gives you a ranked list of **pain points, questions, desires, objections and feature requests**, each with how many people mention it and **real quotes** with links. Then it turns them into **content ideas, hooks, ad angles, product ideas, an FAQ and the exact words your audience uses**.

Use it for product research, content calendars, ad copy, landing pages and validating a business idea before you build it.

### Tutorial (1 minute)

![Step-by-step tutorial: what to fill in, click Start, the real result and the price](https://api.apify.com/v2/key-value-stores/RXaOr7FspyrQ4JP88/records/reddit-pain-points-tutorial.gif)

*Every result in this tutorial comes from a real run.*

### What you get

- **Ranked themes** in 8 types: pain points, questions, desires and goals, objections, what people love, feature requests, buying signals and complaints about alternatives.
- For each theme: **number of mentions**, total upvotes, a one-line explanation and **up to 3 real quotes** (most upvoted first) with the Reddit link.
- **Ideas**: a summary, 10 content ideas, 10 hooks, 6 ad angles, 5 product ideas, 8 FAQ pairs and 15 phrases in the audience's own words.
- **A visual report** (`REPORT`), the themes table and everything as JSON.

### How to use it

1. Type what people write when they have the problem in **Search Reddit for** (for example `hate my invoicing tool`, `skincare routine not working`). Add **subreddits** to stay focused.
2. Optional: describe **what you want to learn** and **your product**, so the ideas fit you.
3. Click **Start**. 50 posts with 300 comments take about 2-4 minutes.
4. Open **REPORT** in the Output tab.

### Input example

```json
{
  "searchQueries": ["freelance invoicing nightmare", "clients pay late"],
  "subreddits": ["r/freelance", "r/smallbusiness"],
  "timeframe": "year",
  "maxPosts": 50,
  "maxComments": 300,
  "researchGoal": "why freelancers hate invoicing and getting paid",
  "yourOffer": "an invoicing app that chases late payments automatically",
  "language": "English"
}
```

### Output (one row per theme)

```json
{
  "rank": 1,
  "category": "Pain points",
  "theme": "Chasing clients for late payments",
  "detail": "Freelancers spend hours sending reminders and feel awkward asking for money.",
  "mentions": 37,
  "likes": 1204,
  "topQuote": "I spend more time chasing invoices than doing actual work...",
  "quoteUrl": "https://www.reddit.com/r/freelance/comments/..."
}
```

### How it works

1. Searches Reddit on your Apify account (about US$0.0015 per post or comment). **Only posts that contain your words** is on by default, because Reddit search drifts to unrelated popular posts.
2. A fast AI model reads every post and comment in batches and tags the themes with the ids of the texts that mention them, so mention counts and quotes are real, never invented.
3. Themes from all batches are merged, ranked by mentions and upvotes, and a stronger model writes the ideas.

### Pricing

| Event | Price |
|---|---|
| Theme in the results | $0.01 |
| Post or comment read by the built-in AI | $0.001 |
| Ideas and report with the built-in AI | $0.25 |

**Example:** 350 posts and comments, 40 themes: $0.40 + $0.35 + $0.25 = **$1.00**, plus the Reddit data (about $0.50). With your own AI key (Anthropic, OpenAI, OpenRouter, Gemini, Grok, DeepSeek or Mistral) you only pay the themes ($0.40).

### FAQ

**Without an AI key?** You get the posts and comments in the dataset, without the analysis.

**Which language?** Any. Quotes stay in their original language; themes and ideas are written in the language you choose.

**Is it allowed?** It reads public Reddit posts and does not store usernames in the results.

# Actor input Schema

## `searchQueries` (type: `array`):

Words people use when they have the problem, e.g. 'hate my CRM', 'acne won't go away'.

## `subreddits` (type: `array`):

e.g. 'r/skincareaddiction'. With searches, the search runs inside each subreddit.

## `postUrls` (type: `array`):

Specific threads to read, with their comments.

## `timeframe` (type: `string`):

How far back to look.

## `sort` (type: `string`):

Which posts come first.

## `maxPosts` (type: `integer`):

Posts to read per search or subreddit.

## `includeComments` (type: `boolean`):

Comments are where people explain their problems best.

## `maxComments` (type: `integer`):

Total comments to read.

## `strictSearch` (type: `boolean`):

Reddit search can drift to unrelated popular posts; this keeps results on topic.

## `scraperMaxCostUsd` (type: `integer`):

Upper limit for the Reddit data (about US$0.0015 per post or comment).

## `researchGoal` (type: `string`):

e.g. 'why people quit meal prep services' or 'what freelancers hate about invoicing'.

## `yourOffer` (type: `string`):

Makes the content, product and ad ideas specific to you.

## `language` (type: `string`):

Language of themes and ideas (quotes stay in the original).

## `aiProvider` (type: `string`):

Leave all keys empty to use the built-in AI (billed per AI event).

## `aiModel` (type: `string`):

Empty = a good default for the provider. A fast model reads the texts; the ideas use the default model.

## `anthropicApiKey` (type: `string`):

With your own key (any provider) that provider bills you and AI events are not charged.

## `openaiApiKey` (type: `string`):

Your own key from platform.openai.com.

## `openrouterApiKey` (type: `string`):

Your own key from openrouter.ai/keys.

## `geminiApiKey` (type: `string`):

Your own key from aistudio.google.com/apikey.

## `xaiApiKey` (type: `string`):

Your own key from console.x.ai.

## `deepseekApiKey` (type: `string`):

Your own key from platform.deepseek.com.

## `mistralApiKey` (type: `string`):

Your own key from console.mistral.ai.

## Actor input object example

```json
{
  "searchQueries": [
    "meal prep tired of"
  ],
  "timeframe": "year",
  "sort": "relevance",
  "maxPosts": 10,
  "includeComments": true,
  "maxComments": 60,
  "strictSearch": true,
  "scraperMaxCostUsd": 5,
  "language": "English",
  "aiProvider": "auto"
}
```

# Actor output Schema

## `report` (type: `string`):

No description

## `themes` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQueries": [
        "meal prep tired of"
    ],
    "maxPosts": 10,
    "maxComments": 60
};

// Run the Actor and wait for it to finish
const run = await client.actor("ingeniela/reddit-pain-point-miner").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchQueries": ["meal prep tired of"],
    "maxPosts": 10,
    "maxComments": 60,
}

# Run the Actor and wait for it to finish
run = client.actor("ingeniela/reddit-pain-point-miner").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "meal prep tired of"
  ],
  "maxPosts": 10,
  "maxComments": 60
}' |
apify call ingeniela/reddit-pain-point-miner --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ingeniela/reddit-pain-point-miner"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/w6xO7Td7gXYrsIUod/builds/4hv5dcvoZtUpwMXOh/openapi.json
