# Reddit Post Search by Keyword and Date

Searches all of Reddit for your keyword, most relevant first, and keeps posts published after postedAfter. Each row has title, body, subreddit, score, comment count and date.

- 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 11 seconds, $0.01 at free-plan prices

## Input

```json
{
  "searches": [
    "notion alternative"
  ],
  "sort": "relevance",
  "time": "year",
  "postedAfter": "2026-06-01",
  "maxItems": 100
}
```

## 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": "What app can I use instead of Notion?",
    "subreddit": "productivity",
    "author": "Willing_Scene7547",
    "score": 32,
    "upvoteRatio": 0.88,
    "numComments": 61,
    "flair": "Question",
    "createdAt": "2026-11-10T19:58:55Z",
    "url": "https://www.reddit.com/r/productivity/comments/1xswz2f/what_app_can_i_use_instead_of_notion/"
  },
  {
    "title": "Is there a Notion alternative built into Google, Microsoft or Zoho’s suites?",
    "subreddit": "Notion",
    "author": "HistoricalWest6781",
    "score": 14,
    "upvoteRatio": 0.82,
    "numComments": 41,
    "flair": ":question: Questions",
    "createdAt": "2026-11-19T03:11:35Z",
    "url": "https://www.reddit.com/r/Notion/comments/1xzyxjs/is_there_a_notion_alternative_built_into_google/"
  },
  {
    "title": "anything similar to notion that’s not obsidian?",
    "subreddit": "Notion",
    "author": "lunar-waves",
    "score": 83,
    "upvoteRatio": 0.95,
    "numComments": 65,
    "flair": ":community: Community",
    "createdAt": "2026-09-20T00:55:16Z",
    "url": "https://www.reddit.com/r/Notion/comments/1wl2t46/anything_similar_to_notion_thats_not_obsidian/"
  }
]
```

Full sample: https://datapika.com/data/tasks/reddit-post-search-keyword-date.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 "Reddit Post Search by Keyword and Date" 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 11 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":["notion alternative"],"sort":"relevance","time":"year","postedAfter":"2026-06-01","maxItems":100}'
```

## Change it

- Put your own keywords in searches; each keyword runs as its own search.
- time narrows the period: hour, day, week, month, year or all.
- postedAfter and postedBefore (YYYY-MM-DD) give an exact date window.
- Raise maxItems for a bigger dataset; you pay per result delivered.

## FAQ

### Can it search inside comment text?

Reddit blocks keyword search of comments for logged-out visitors, so the task finds posts matching your keyword and returns their full comment threads.

### Can I set an end date too?

Yes. Add postedBefore to keep only posts between the two dates.

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