Reddit Scraper API & MCP for AI Agents | FetchLayer

60,735 served today 37 platforms

Unofficial Third-party API
18 endpoints live

Reddit data.
Without the scraping.

Posts & comments Subreddits User profiles Keyword search MCP ready

Posts, comments, subreddits, and user profiles — fetched live, returned as clean JSON via REST or MCP. No scraper to maintain, no rate limits to manage.

Read our field report: Reddit's API is officially dead in 2026.

Start building free
Free tier included No credit card No scraper maintenance

Trusted by developers shipping real products.

POST /api/reddit/search
200 OK · 1.2s

Request

$ curl -X POST api.fetchlayer.dev/reddit/search \
  -H "Authorization: Bearer ss-..." \
  -d '{"query": "best CRM", "sort": "top"}'

Response

{
  "items": [{
    "title": "What CRM do you hate?",
    "subreddit": "sales",
    "score": 184,
    "commentCount": 67
  }]
}

Used by developers at

Individual developers or teams — not official partnerships

The alternative

Scraping Reddit is hard. This isn't.

Reddit's public API is effectively closed to new projects. Everything below is what you inherit the moment you decide to solve it yourself.

Build it yourself

The part nobody budgets for

The scraper is a weekend. Keeping it alive is a headcount.

scraper.log
429 rate limited — backing off 60s 403 proxy pool exhausted, rotating WARN selector .Comment__body returned 0 nodes 503 captcha challenge on 41% of requests …silently shipping empty rows for 6 days
proxiescaptchasparser rotpaginationon-call
Other scraping APIs

Pricing you can't predict

Most scraping platforms don't bill per request. They bill per compute unit, per record, or per result — then stack multipliers on top.

base request1 unit
JS rendering×2
premium proxy×5
per result returned×n
your actual bill???
With FetchLayer

Our entire pricing model, in three lines

No compute units, no per-result inflation, no monthly minimum. Three lines is the entire formula — extra pages included, so the bill never surprises you.

1 request 1 credit
1 extra page fetched 1 credit
failed on our side 0 credits

You only pay for data you actually get.

A timeout, a block upstream, a bug on our side — the reason doesn't matter. If a request doesn't come back with usable data, it isn't billed.

No usable data back 0 credits

Live, not cached

Fetched the moment you ask. You're never handed a three-week-old dump that quietly went stale.

Nothing to maintain

When Reddit changes something, it's fixed on our side. Your code keeps calling one URL.

24/7 always on

Support, any hour

Stuck on an endpoint or a strange payload? Message us and you get an answer — any hour, any day.

What you get

Every public Reddit endpoint, structured.

We access publicly available Reddit data and return it as clean, typed JSON. No authentication with Reddit required on your end.

Search

Search posts

Full-text search across all of Reddit or scoped to a subreddit. Sort by relevance, hot, new, or top.

POST /reddit/search 200 OK
What CRM do you hate and why? 184 ↑
Switched off HubSpot after 3 years 97 ↑
Cheapest CRM that isn't awful? 61 ↑
Content

Scrape comments

Full comment trees with scores, authors, timestamps, and nested replies. Paginate deep threads.

"Datadog is overkill for small teams…"

devops_mike · 48 ↑

"Depends how much you self-host…"

sre_anna · 12 ↑

"Fair, we run it on one box…"

Community

Subreddit scraper

Posts, metadata, subscriber counts, rules — scrape any public subreddit. Sort by hot, new, top, rising.

r/startups r/sales r/saas
User

User profiles

Karma, bio, account age, post history, comment history for any public user.

u/

245,891 karma

19 years old

Discover

Trending & popular

r/popular feed and community leaderboards. See what's trending right now.

Base: POST /api/reddit/<endpoint> · Bearer auth · Pagination via pages · Full API reference →

PRAW compatible

Already on PRAW? Keep your code.

Point PRAW at FetchLayer with four lines of praw.ini, and your Python runs as before: the same objects, the same methods, with your FetchLayer key as the only credential.

  • Subreddit listings hot, new, top, rising, controversial
  • Posts with their comments including replace_more()
  • Search across Reddit or one community
  • Users and communities profiles, posts, comments, details
  • Streams new submissions as they arrive

Read-only: reading Reddit works, while voting, posting and account actions don't. Credits match the REST API, and a few fields differ from Reddit's own; the guide lists them.

Read the PRAW guide
~/.config/praw.ini −2 +5
[DEFAULT]
−client_id=your-reddit-app-id
−client_secret=your-reddit-app-secret
+oauth_url=https://praw.fetchlayer.dev
+reddit_url=https://praw.fetchlayer.dev
+client_id=ss-your-fetchlayer-key
+client_secret=unused
your_script.py unchanged
import praw

reddit = praw.Reddit(user_agent="my-app")

for submission in reddit.subreddit("python").hot(limit=25):
    print(submission.score, submission.title)

submission = reddit.submission(id="1xehnro")
submission.comments.replace_more(limit=32)

One command. Your agent does the rest.

Every Reddit endpoint becomes a tool Claude Code or Codex can call. Run one command, sign in, and ask in plain language.

Claude Code Codex

1 Run one command, then sign in

$ npx fetchlayer

◇  Agents

│  Claude Code and Codex

◇  Signed in as you@company.com

◇  Connected

│  ✓ Claude Code  ✓ Codex

It opens a sign-in page in your browser. New here? Signing in creates your free account.

2 Ask

›Find what people are saying about "Tailwind vs Bootstrap" on Reddit, get the top 5 posts this month.

fetchlayer.reddit.search

Found 5 posts. The most discussed is "Why I switched back to Tailwind" with 342 comments in r/webdev. Sentiment is mixed — Tailwind wins for speed, Bootstrap wins for teams.

No key to copy and nothing to install. New accounts are free, with no credit card.

How it works
The same command connects
Cursor
VS Code
Antigravity
OpenCode
Hermes
ChatGPT, Perplexity, the Claude app and others
Step-by-step setup Reddit MCP setup guides

Use cases

What developers build with Reddit data.

Same API, endless applications. Here's what teams ship with our endpoints.

01

Competitor intelligence

Search public forums for any brand or product. Get unfiltered opinions, complaints, and praise from real users.

brandssentimentresearch
02

AI agent context

Feed real user conversations straight into your LLM pipeline. Structured data, zero parsing scripts.

llmagentsmcp
03

Brand monitoring

New posts, new mentions, new complaints. Sort by recency and run it on a schedule.

alertsmonitoringcron
04

Product research

Pull customer pain points from niche communities. Real people, real frustrations, no surveys.

pain pointsvalidationniches
05

Content pipelines

Trending discussions become blog ideas, newsletters, social content. Automate your content sourcing.

contentautomationtrending
06

Lead generation

Find people asking for solutions you sell. Identify intent signals in the right communities.

leadssalesintent
FetchLayer Research Chat

Instant research. Zero setup.

You can use FetchLayer with AI coding agents like OpenAI Codex, Claude Code, Cursor, or Windsurf via MCP. But if you just want results now — no IDE, no code, no terminal — open FetchLayer Research Chat and describe what you need.

fetchlayer.dev/chat
Y

Found 47 leads across 12 subreddits matching your criteria. Exporting now...

leads-saas-crm-2026-06.csv

47 rows · 6 columns · ready to download

Via AI Coding Agents

Connect via MCP and let your AI agent call FetchLayer tools inline. Fully customizable — build pipelines, chain tools, add your own logic. The most powerful option for devs who need total control over their workflow.

  • Best for: custom pipelines & automated workflows
  • Fully programmable — chain any tools together
  • Setup: add MCP config to your AI IDE
  • Output: inline in your editor/terminal
Set up MCP

Via FetchLayer Research Chat

Instant

No IDE needed. Describe your research in plain English — "Find SaaS founders complaining about CRM pricing" — and get a downloadable CSV or JSON file with structured leads in seconds.

  • Best for: instant research & lead gen
  • Setup: none — just type
  • Output: downloadable CSV & JSON files
Open Research Chat
Open Research Chat

Uses the same credits as the API · No additional setup

Start free. Scale when ready.

Try it free, buy credits as you go, or take a monthly plan when your volume is steady.

Free

30 requests
  • Every platform and endpoint
  • REST and MCP
  • No credit card

You pay

$0

30 req × $0
$0
credit card
none
Start free

Pay as you go

never expire
  • No monthly commitment
  • Same access as subscribers
  • ∞ req/min, ∞ API keys

You pay

$1.99per 1,000

1,000 req × $1.99/1k
$1.99
monthly fee
$0
expires
never
Get API key

Monthly plan

Starter

15,000

  • ∞ req/min, ∞ API keys

You pay

$25per month

15,000 req × $1.67/1k
$25/mo
on credits × $1.99/1k
$29.85
you save
$4.85/mo
Get started
  • One page fetched costs one credit.
  • A request that returns no usable data costs 0 credits.
Not sure? Book a 15-min call

Not sure which volume fits?

15 minutes with the founder. Tell us the workload, we tell you what it needs.

Book a call

Guaranteed throughput on the platform you run on

A dedicated platform from $400/mo, plus $500 for each ~21 req/s. Every other platform on the same key. 99.95% uptime, 24-hour support on Slack or Telegram.

Build your plan

FAQ

Common questions.

What is FetchLayer Reddit Scraper?

FetchLayer Reddit Scraper is a REST API and MCP-compatible service for accessing publicly available Reddit data as structured JSON. It covers posts, comments, subreddit feeds, user profiles, search results, and related metadata without requiring you to maintain scrapers, parse HTML, or manage proxy infrastructure.

Is this the official Reddit API?

No. FetchLayer is an independent, third-party service not affiliated with, endorsed by, or sponsored by Reddit, Inc. We access publicly available data and structure it for developer use, in compliance with applicable law.

Is this legal?

We access only publicly available information — the same data any browser can see without logging in. We do not bypass authentication, access private content, or violate any terms of service. If you have questions about your specific use case, consult your own legal counsel.

Does Reddit still have a free API in 2026?

Only for apps Reddit already approved. Self-service access closed in November 2025, unauthenticated .json requests have returned 403 since May 2026, and Reddit stopped accepting new API access requests on 31 October 2026. The remaining public Data API closes in March 2027. FetchLayer needs no Reddit app or approval: you call one endpoint with your FetchLayer key.

Read the Reddit API shutdown timeline

How much does the Reddit scraper API cost?

The first 30 requests are free, with no credit card. After that it is $1.99 per 1,000 requests pay-as-you-go, and monthly plans lower the rate (Starter is $25 for 15,000 requests). A request returns one page of results, for example 25 posts from a subreddit feed, and failed requests are never billed.

See every plan

Can I use this with AI agents?

Yes. Call the API from your agent code, or use the MCP server so your AI IDE (Cursor, Windsurf, Claude Desktop) can search Reddit directly.

What is the MCP server?

A Model Context Protocol server. You add it to your AI IDE config, and your AI can call Reddit search/scrape tools inline. One-time setup.

Does MCP cost extra?

No. MCP uses the same API credits as direct API calls. Same plan, same bill.

What about Apify?

The same scraper runs as an actor on Apify at apify.com/neatrat/reddit-scraper. If you already live in Apify — schedules, datasets, webhooks — use it there. Same data, different delivery.

What data comes back?

Titles, body text, scores, comment counts, authors, timestamps, URLs, subreddit metadata. Everything in consistent JSON.

Can I monitor keywords over time?

Yes. Search by keyword, sort by newest, and run it on a schedule. Build your own monitoring pipeline.

Can I scrape a specific subreddit?

Yes. The subreddit scraper endpoints let you pull posts, metadata, and subscriber info from any public subreddit. Pass the subreddit name and sort order — hot, new, top, or rising.

Can I get historical Reddit data, like Pushshift?

This is a live API: it returns what Reddit lists and searches today, with current scores and full comment trees. Keyword search reaches older posts with the all-time filter, and subreddit feeds can be filtered by date, though Reddit only lists about the newest 1,000 posts of a community. For complete multi-year archives, pair it with a dataset such as Arctic Shift.

Compare Pushshift and Arctic Shift alternatives

How do I scrape Reddit step by step?

Get a key, then POST a JSON body to an endpoint: search for keywords, community-posts for a subreddit or a date range, post for a full thread with its comment tree. Our tutorial walks through each call in JavaScript and Python, including pagination and CSV export.

Follow the Reddit scraping tutorial

How does this compare to other Reddit scraper APIs?

We compared FetchLayer with ScrapeCreators, SociaVault, Apify, ScraperAPI, Bright Data and PRAW on endpoints, price per request, comment depth and MCP support. The short version: general scraping APIs return HTML you still have to parse, and the official API is closing to new projects.

Read the Reddit scraper API comparison

Is there a free version I can try without signing up?

Yes — the Free Reddit Scraper is a narrow browser tool for quick, one-off lookups: no account, no API key. It caps at 25 results per search (100 comments per thread) and cannot return vote scores, comment counts, nested reply trees, media, or flair — no monitoring, no automation. This API is the real product: unlimited results via pagination, every field the free tool is missing, scheduled keyword monitoring, and an MCP server your AI agent can call directly.

Open the free Reddit scraper

Get Reddit data in the next minute.

Search posts, scrape comment trees, pull any subreddit — structured JSON on your first call. 30 free requests, no credit card.

or read the docs first — no account needed

30 free requests
No credit card
Failed requests never billed
Credits never expire

FetchLayer is an independent, third-party service. We are not affiliated with, endorsed by, or sponsored by Reddit, Inc. "Reddit" is a registered trademark of Reddit, Inc. This service accesses only publicly available data — the same information visible to any unauthenticated browser. We do not access private content, bypass authentication, or store personal data beyond what is publicly displayed. Use of this API is subject to our Terms of Service and applicable law.