# Subreddit Finder: Search Subreddits by Topic

Searches Reddit communities for your topic and returns each subreddit with its member count, description, creation date and URL, so you can see where your audience talks before you post or advertise.

- Actor: openclawai/reddit-scraper (Reddit Scraper), https://datapika.com/actors/reddit-scraper
- Run on Apify: https://apify.com/openclawai/reddit-scraper
- Tested: 2026-11-23, 5 rows in 13 seconds, $0.01 at free-plan prices

## Input

```json
{
  "searches": [
    "machine learning"
  ],
  "searchType": "communities",
  "maxItems": 100
}
```

## Output fields

- `name`: Subreddit
- `title`: Title
- `subscribers`: Subscribers
- `activeUsers`: Online
- `description`: Description
- `isNsfw`: NSFW
- `url`: Link

## Sample rows (personal data masked)

```json
[
  {
    "name": "MachineLearning",
    "title": "Machine Learning",
    "subscribers": 3083862,
    "activeUsers": 0,
    "description": "Beginners -> /r/mlquestions or /r/learnmachinelearning , AGI -> /r/singularity, career advices -> /r/cscareerquestions, datasets -> r/datasets",
    "isNsfw": false,
    "url": "https://www.reddit.com/r/MachineLearning/"
  },
  {
    "name": "learnmachinelearning",
    "title": "Learn Machine Learning",
    "subscribers": 693182,
    "activeUsers": 0,
    "description": "Welcome to r/learnmachinelearning - a community of learners and educators passionate about machine learning!\n\n\nThis is your space to ask questions, share resources, and grow together in understanding ML concepts - from basic principles to advanced techniques. Whether you're writi…",
    "isNsfw": false,
    "url": "https://www.reddit.com/r/learnmachinelearning/"
  },
  {
    "name": "MLQuestions",
    "title": "Machine Learning Questions",
    "subscribers": 117088,
    "activeUsers": 0,
    "description": "A place for beginners to ask stupid questions and for experts to help them! /r/Machine learning is a great subreddit, but it is for interesting articles and news related to machine learning. Here, you can feel free to ask any question regarding machine learning.",
    "isNsfw": false,
    "url": "https://www.reddit.com/r/MLQuestions/"
  }
]
```

Full sample: https://datapika.com/data/tasks/find-subreddits-by-topic.json

## How to run it

1. **Open the actor on Apify.** Click Copy input, then Run on Apify to open the Reddit Scraper. Sign in or create a free account, open the JSON tab of the input form and paste the input.
2. **Start the "Subreddit Finder: Search Subreddits by Topic" task.** Press Start. Change any input field first if you need a different topic, account or size; the fields are listed above.
3. **Get the results.** Rows arrive in a dataset while the run works. Our test returned 5 rows in 13 seconds.
4. **Use the data.** Download JSON, CSV or Excel, call the run from the API, schedule it, or let an AI agent run it through MCP.

API (replace the token):

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/openclawai~reddit-scraper/run-sync-get-dataset-items?maxTotalChargeUsd=1" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searches":["machine learning"],"searchType":"communities","maxItems":100}'
```

## Change it

- Put your own keywords in searches; each keyword runs as its own search.
- searchType switches the search between posts, communities and users.
- Raise maxItems for a bigger dataset; you pay per result delivered.

## FAQ

### Does it show subreddit size?

Yes. Each row has the subscriber count, plus the description and creation date.

### Do I need a Reddit account or API key?

No. It reads public Reddit data anonymously, with no login, cookie, app registration or API key.

### How much does it cost?

You pay per result delivered to your dataset: posts, comments, users or communities. There is no start fee. The current prices are on the Pricing tab.

### How do I export the results?

Download the dataset as JSON, CSV or Excel, read it through the Apify API, or run the task from an AI agent through the Apify MCP server.
