A Reddit scraper that still works after the API shutdown

Last updated

Maintained by Datapika · We publish this product under the openclawai account on Apify. Product reference

The Datapika Reddit scraper runs on Apify and collects posts and comments without the official API. It reads Reddit's public data anonymously, so it needs no developer key, app registration, or login, and it does not use the unauthenticated .json endpoints that began returning 403 in late May 2026. Give it subreddits, keywords, usernames, or any reddit.com link, set maxItems (default 50, up to 10,000 per input), and export JSON or CSV. Pricing is per result: $2.00 per 1,000 posts with their comment trees included, and the actor had 6,931 runs with a 4.9 rating in August 2026 (Apify Store).

Why did scraping Reddit with .json URLs stop working?

Since late May 2026, appending .json to a Reddit URL returns 403 Forbidden for requests without a login. Reddit had already closed self-service OAuth registration in November 2025, so the .json trick was the last free path left, and removing it broke most self-hosted Reddit scrapers, monitoring scripts, and RSS bridges in a single week. Some pipelines failed loudly with 403s; others kept returning HTTP 200 with empty JSON, so the break went unnoticed until dashboards ran dry. Logged-in sessions and the official OAuth Data API still work, but both require an approved app and a Reddit account.

Datapika's Reddit actor does not use those endpoints. It reads Reddit's public data anonymously behind residential IPs and retries a throttled or refused request on another session and IP. A scheduled run on October 29, 2026 (build 2.1.9) returned 53 posts with 429 comments in 27 seconds.

If your pipeline started returning 403s or empty JSON this summer, the fix is to change the data source, not to add retries.

  • Cutoff: late May 2026; unauthenticated .json requests now return 403 Forbidden
  • Self-service OAuth app registration closed in November 2025, so new keys need Reddit approval
  • Datapika reads Reddit's public data anonymously and does not use the .json endpoints
  • Scheduled run on October 29, 2026: 53 posts and 429 comments in 27 seconds (build 2.1.9)
  • No Reddit account, developer key, or OAuth registration is involved at any step

What can you scrape from Reddit without an API key?

One input form covers every source, and one run can mix them. startUrls takes any reddit.com link: a subreddit page (its sort and time are respected), a post, a user page, or a search page. subreddits crawls communities by name, sorted by hot, new, top, rising, or controversial, with a time filter from past hour to all time on top and controversial sorts. searches runs a keyword search across all of Reddit or, with searchSubreddit, inside one community, sorted by relevance, hot, top, new, or comments.

searchType switches a keyword search from posts to communities or users, useful when you do not yet know where a niche audience posts. users returns a profile plus that person's posts and comment history. Comment keyword search is not available without a Reddit login, so to catch brand mentions inside threads, search posts and turn on includeComments, which attaches each post's comment tree.

answerQueries asks Reddit's own AI answer engine and returns a markdown answer with follow-up questions, source posts, and source subreddits.

  • startUrls: any reddit.com link (subreddit, post, user, or search page); sort and time in the URL are respected
  • subreddits: any public subreddit, sorted by hot, new, top, rising, or controversial, time filters from hour to all
  • searches: keyword search across Reddit or inside one subreddit via searchSubreddit, sorted by relevance, hot, top, new, or comments
  • searchType: posts (default), communities, or users matching the keywords
  • users: a profile plus the user's posts and comment history
  • answerQueries: Reddit AI Answers as markdown plus follow_ups and source lists

What fields does each Reddit post and comment include?

Every post row shares one flat schema whichever input produced it, so you can union a subreddit sweep and a keyword search without remapping columns. The core fields are id, url, subreddit, author, title, body, score, upvoteRatio, numComments, flair, imageUrls, videoUrls, and an ISO 8601 createdAt, and every row also carries dataType and sourceInput.

When includeComments is on, each post row carries a comments array holding id, parentId, depth, author, body, score, numReplies, and isOp for every comment, so you can rebuild the nested thread by joining parentId to post and comment IDs. maxCommentsPerPost caps each post at 1 to 500 comments (default 50). Reddit serves comments page by page and the actor reads up to 21 pages per post, so a big thread returns about 120 to 220 comments: in two runs on October 28, 2026, five threads asked for 500 returned 123 to 216 comments each, in about 35 seconds per run.

AI Answer rows use a different shape: markdown, follow_ups, source_posts, and source_subreddits. Whatever the input, output lands in an Apify dataset you can download as JSON, CSV, or Excel, or read through the dataset API.

  • Post identity: id, url, subreddit, author, plus dataType and sourceInput on every row
  • Content: title, full body text, imageUrls and videoUrls (galleries included)
  • Engagement: score, upvoteRatio, and numComments at scrape time
  • Timing: createdAt in ISO 8601 UTC, for example 2026-09-03T14:12:07Z, plus createdUtc as a Unix timestamp
  • Comments: id, parentId, depth, author, body, score, numReplies, and isOp per comment, about 120 to 220 on a big thread
  • Export: JSON, CSV, Excel, or programmatic access through the Apify dataset API

How much does it cost to scrape Reddit without the API?

Pricing is per result delivered, with no separate Datapika subscription, no start fee and no platform usage on top. A post costs $0.002, or $2.00 per 1,000; each comment attached to a post costs $0.0005, or $0.50 per 1,000, since November 21, 2026; a standalone comment or user profile costs $0.002, a community $0.002, and a Reddit AI Answer $0.01, or $10.00 per 1,000 queries. A daily brand sweep pulling 500 matching posts and 50 threads with 100 comments each therefore costs $1.10 for the posts plus $2.50 for the 5,000 comments, proxy bandwidth included.

The only per-call price Reddit has published for its own Data API is $0.24 per 1,000 API calls (June 2023), and that API needs an approved OAuth app and is metered per call, not per row.

Datapika's actor carries a 4.9 rating from 8 reviews and 6,931 runs as of August 2026.

  • Posts: $2.00 per 1,000
  • Comments attached to a post: $0.50 per 1,000 (since November 21, 2026)
  • Standalone comments or user profiles: $2.00 per 1,000; communities: $2.00 per 1,000
  • Single post fetch: one post event; Reddit AI Answers: $10.00 per 1,000 queries
  • Worked example: 500 matching posts plus 50 threads with comments is $1.10, with no start fee or proxy charge on top

How do you scrape Reddit at scale without getting blocked?

Reddit rate-limits aggressively, and a naive script hits 429 errors within a few hundred requests. The actor retries a throttled request on another session and IP after a short random pause, up to 6 attempts within 90 seconds, so a 429 delays the request instead of ending the run. If 3 requests in a row stay throttled after every retry, the run stops early with a clear error row rather than running into its timeout.

The actor does not recover deleted content: rows reflect what Reddit shows an anonymous visitor at scrape time, so posts and comments removed before the run are missing. The default proxy configuration already uses Apify's residential proxy group, and its bandwidth is included in the per-result price; the input form recommends keeping it, since Reddit throttles datacenter IPs.

Start with maxItems at 10 to 50 to validate a query, then raise it. maxItems goes up to 10,000 per input, but Reddit stops any single listing at about 1,000 items, so split deep crawls by sort, time, or a postedAfter and postedBefore date window. Turn includeComments off when you only need titles and scores, since that speeds the run; the price stays $2.00 per 1,000 posts either way. Private and restricted subreddits are out of scope because they require a login.

  • Throttled (429) requests retry on another session and IP, up to 6 attempts within 90 seconds
  • 3 requests in a row still throttled after every retry stop the run early with a clear error row
  • No deleted-content recovery: rows reflect what Reddit serves at scrape time
  • Residential proxies on by default, bandwidth included in the per-result price
  • threads runs 1 to 20 inputs in parallel (default 5), and comments are read up to 21 pages per post
  • Test with maxItems 10 to 50, then scale; includeComments adds $0.50 per 1,000 comments, so cap it with maxCommentsPerPost
Reddit inputs, what each row returns, and live per-result price
Input fieldWhat you passEach row returnsPrice per 1,000
subredditssubreddit names, sort, time, maxItemsPost rows: title, body, author, score, numComments, imageUrls, videoUrls, createdAt$2.00
subreddits with includeCommentssame plus includeComments: true and maxCommentsPerPostPost rows plus a flattened comment tree, about 120 to 220 comments on a big thread$2.00 for posts, $0.50 for comments
searcheskeywords, optional searchSubreddit, sort, time, maxItemsMatching posts in the standard post schema$2.00
searches with searchType: communitieskeywords, maxItemsCommunities: name, title, subscribers, activeUsers, description$2.00
searches with searchType: userskeywords, maxItemsUser profiles: username, karma counts, description, createdAt$2.00 (comment or user rate)
usersusernames, maxItemsA profile row, then the user's posts and comment historyPosts $2.00; profile and comments $2.00
startUrlsa post URL plus includeComments: trueOne post with its comment tree$2.00 for posts, $0.50 for comments
answerQueriesnatural-language questionMarkdown answer, follow_ups, source_posts, source_subreddits$10.00

Sources you can inspect

Product documentation and implementation references. These references describe supported options and billing, not independent proof of performance. Confirm current details before running; examples and estimates are not guarantees.

How to do it

  1. 1.Open the Datapika Reddit actor at https://apify.com/openclawai/reddit-scraper, or attach it to an agent through https://mcp.apify.com/?tools=fetch-actor-details,openclawai/reddit-scraper, and fill one or more inputs: startUrls, subreddits, searches, users, or answerQueries.
  2. 2.For example, set subreddits to technology, sort to top, time to week, and maxItems to 100, and leave includeComments off for a first pass. Keep the default residential proxy group if you plan to go past a few hundred rows.
  3. 3.Start the run. Rows stream into the dataset as they are fetched, so check the first 10 to 50 to confirm the fields you need, then raise maxItems or turn on includeComments for comment threads.
  4. 4.Download the dataset as JSON, CSV, or Excel, or read it through the Apify dataset API. Save the input and schedule it daily to turn a one-off scrape into a running Reddit feed.
Run the Reddit Scraper

Ready-made tasks

Tested inputs you can run as they are, with real sample rows.

All 39 Reddit Scraper tasks →

Questions, answered

Does Reddit still have an official API, and what happened to the .json endpoints?

Reddit's official Data API still exists but requires an approved OAuth app; the only per-call price Reddit has published is $0.24 per 1,000 API calls, from June 2023. The unauthenticated .json endpoints, which were the free workaround, stopped serving anonymous requests in late May 2026 and now return 403 Forbidden without a login. Datapika uses neither path: it needs no approved app and reads Reddit's public data anonymously.

Do I need a Reddit account, developer key, or my own proxies to run this?

No account, developer key, or OAuth registration is needed, because the actor reads Reddit's public data anonymously. You do not need your own proxies either: the default run configuration uses Apify's residential proxy group, and its bandwidth is included in the per-result price rather than billed to your Apify account. You can switch to datacenter proxies for small tests, at a higher risk of Reddit blocks.

Can it recover deleted Reddit posts or comments?

No. The actor returns what Reddit serves to an anonymous visitor at scrape time, so posts and comments deleted or removed before the run are missing, or carry only what Reddit still displays for them. To keep a history, schedule the run and store each day's dataset; postedAfter and postedBefore let you slice posts by date.

Does it work on private, restricted, or quarantined subreddits?

No. Private and restricted subreddits require a logged-in Reddit account with access, and the actor deliberately runs without authentication. Any public subreddit, public post, public comment, or public search result is in scope. If a subreddit went private after you scraped it, historical rows remain in your dataset but new runs against it return a free hint or error row instead of data.

Can an AI agent call this Reddit scraper through MCP or the API?

Yes. The actor is exposed over the Apify MCP server, so a Claude, GPT, or custom agent can call it as a tool at https://mcp.apify.com/?tools=fetch-actor-details,openclawai/reddit-scraper, pass subreddits, searches, or any reddit.com link, and read the dataset back. The same input works through the Apify REST API for scheduled jobs. Billing stays per result, so an agent pulling 200 posts from a search spends $0.40.

Is scraping public Reddit data legal?

The actor only accesses content Reddit serves to any anonymous visitor and does not bypass authentication or touch private data. Public availability does not remove your own obligations: Reddit's user agreement, copyright in user posts, and data-protection laws such as GDPR still apply to how you store and use the rows, especially author names. Review those rules for your jurisdiction before running at scale.

Keep reading