# Reddit API Alternative: No API Key Needed

A Reddit API alternative: no app registration, API key or OAuth. This preset returns the week's top r/webdev posts with comments; change subreddits, searches or users for any public Reddit data.

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

## Input

```json
{
  "subreddits": [
    "webdev"
  ],
  "sort": "top",
  "time": "week",
  "includeComments": true,
  "maxCommentsPerPost": 20,
  "maxItems": 25
}
```

## 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": "This sub is dead",
    "subreddit": "webdev",
    "author": "mllv1",
    "score": 1032,
    "upvoteRatio": 0.86,
    "numComments": 291,
    "flair": "",
    "createdAt": "2026-11-23T04:00:40Z",
    "url": "https://www.reddit.com/r/webdev/comments/1y38j2p/this_sub_is_dead/"
  },
  {
    "title": "If you stop writing code, you also get worse at reviewing it · cekrem.github.io",
    "subreddit": "webdev",
    "author": "cekrem",
    "score": 685,
    "upvoteRatio": 0.95,
    "numComments": 130,
    "flair": "Discussion",
    "createdAt": "2026-11-20T12:26:23Z",
    "url": "https://www.reddit.com/r/webdev/comments/1y126if/if_you_stop_writing_code_you_also_get_worse_at/"
  },
  {
    "title": "Bypassing iOS Safari’s 60 FPS Limit to Build Web Applications That Feel Native",
    "subreddit": "webdev",
    "author": "fkih",
    "score": 336,
    "upvoteRatio": 0.98,
    "numComments": 32,
    "flair": "Showoff Saturday",
    "createdAt": "2026-11-22T04:25:18Z",
    "url": "https://www.reddit.com/r/webdev/comments/1y2gc6p/bypassing_ios_safaris_60_fps_limit_to_build_web/"
  }
]
```

Full sample: https://datapika.com/data/tasks/reddit-api-alternative-no-key.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 API Alternative: No API Key Needed" 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 4 rows in 15 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":["webdev"],"sort":"top","time":"week","includeComments":true,"maxCommentsPerPost":20,"maxItems":25}'
```

## 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.
- time narrows the period: hour, day, week, month, year or all.
- includeComments attaches each post's comment thread; maxCommentsPerPost caps it.
- maxCommentsPerPost sets how many comments come with each post.
- Raise maxItems for a bigger dataset; you pay per result delivered.

## FAQ

### Do I need to apply for Reddit API access?

No. It reads public Reddit data anonymously, so there is no app, key, OAuth flow or approval.

### How many comments do I get per post?

Set maxCommentsPerPost. Small threads come back complete; very big threads return about 120 to 220 comments per post, the top of the tree first.

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