# Hot Posts From Several Subreddits in One Run

List several subreddits and get the hot posts of each in one dataset, with subreddit, title, score, comments and date on every row. Useful for a daily digest across communities.

- 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, 15 rows in 14 seconds, $0.03 at free-plan prices

## Input

```json
{
  "subreddits": [
    "technology",
    "programming",
    "datascience"
  ],
  "sort": "hot",
  "maxItems": 50
}
```

## Output fields

- `title`: Title
- `subreddit`: Subreddit
- `author`: Author
- `score`: Score
- `upvoteRatio`: Upvote %
- `numComments`: Comments
- `flair`: Flair
- `createdAt`: Posted
- `url`: Link

## Sample rows (personal data masked)

```json
[
  {
    "title": "Designing Data Intensive Applications in a Nutshell",
    "subreddit": "programming",
    "author": "Fantastic_Wave1982",
    "score": 21,
    "upvoteRatio": 0.78,
    "numComments": 0,
    "flair": "",
    "createdAt": "2026-11-23T14:11:51Z",
    "url": "https://www.reddit.com/r/programming/comments/1y3j8uc/designing_data_intensive_applications_in_a/"
  },
  {
    "title": "A short history of read streams in Postgres",
    "subreddit": "programming",
    "author": "andreiross",
    "score": 34,
    "upvoteRatio": 0.83,
    "numComments": 0,
    "flair": "",
    "createdAt": "2026-11-23T01:28:49Z",
    "url": "https://www.reddit.com/r/programming/comments/1y35l5a/a_short_history_of_read_streams_in_postgres/"
  },
  {
    "title": "How Redis was reporting pending messages that were already deleted from its stream",
    "subreddit": "programming",
    "author": "Cool-Click1253",
    "score": 35,
    "upvoteRatio": 0.75,
    "numComments": 2,
    "flair": "",
    "createdAt": "2026-11-22T22:22:30Z",
    "url": "https://www.reddit.com/r/programming/comments/1y31o56/how_redis_was_reporting_pending_messages_that/"
  }
]
```

Full sample: https://datapika.com/data/tasks/reddit-hot-posts-multi-subreddit.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 "Hot Posts From Several Subreddits in One Run" 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 15 rows in 14 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 '{"subreddits":["technology","programming","datascience"],"sort":"hot","maxItems":50}'
```

## Change it

- Put any community in subreddits, e.g. startups or marketing; several run in one go.
- sort takes hot, new, top, rising or controversial.
- Raise maxItems for a bigger dataset; you pay per result delivered.

## FAQ

### Is there a limit on subreddits?

No fixed limit. maxItems applies per subreddit, so 3 subreddits with maxItems 50 return up to 150 posts.

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