Reddit Scraper API & MCP for AI Agents | FetchLayer
FetchLayer fetchlayer.dev Sign in
Unofficial Third-party API
15 endpoints live

Reddit data.
Without the scraping.

FetchLayer Reddit Scraper returns posts, comments, subreddit feeds, and user profiles as structured JSON via REST API or MCP. No scraping infrastructure, no HTML parsing, no rate limit headaches.

For background on why developers are moving off the official API, read our field report: Reddit's API is officially dead in 2026.

Free tier included · No credit card required

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

Request

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

Response

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

Used by developers at

Individual developers or teams — not official partnerships

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 posts

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

Scrape comments

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

Subreddit scraper

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

User profiles

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

Trending & popular

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

MCP for AI agents

Connect your AI IDE to Reddit data with one config block. Works with Cursor, Windsurf, Claude.

API reference

One base URL. Fifteen endpoints.

All public data. POST with JSON body, get JSON back. Auth via Bearer token.

Endpoint

Category

search Search
search-comments Search
post Content
community-posts Community
community-details Community
user-profile User
user-posts User
user-comments User
search-communities Search
search-users Search
comment-permalink Content
popular Discover
leaderboard Discover
resolve-url-type Utility
explore Discover

Base: POST /api/reddit/{endpoint} · All params optional except where noted · Pagination via pages param

TypeScript / JavaScript? Use the open-source SDK: @fetchlayer/reddit on npm · Source on GitHub

MCP & agents

Live

Your AI already knows how to use this.

One config block and every Reddit endpoint becomes a first-class tool inside your agent. No SDK, no wrapper code, no glue logic — just paste and go.

mcp.json Model Context Protocol
{
  "mcpServers": {
    "fetchlayer": {
      "url": "https://mcp.fetchlayer.dev",
      "headers": {
        "Authorization": "Bearer sk-..."
      }
    }
  }
}
agent chat using fetchlayer

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

Using fetchlayer.search

Found 5 posts. The most discussed is "Why I switched back to Tailwind" with 342 comments in r/webdev...

Works with every MCP-compatible tool

Cursor
VS Code
Windsurf
Claude
Cline
OpenClaw
No wrapper code
All 15 endpoints exposed as tools
Official & maintained
Free to install

API examples

Request in, structured JSON out.

Pick an example, hit Run, and see the response. Every endpoint works the same way.

Request

POST /api/reddit/search

{
  "query": "CRM pricing complaints",
  "sort": "top",
  "limit": 10
}
Click Run to see the response

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.

brands sentiment research
02

AI agent context

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

llm agents mcp
03

Brand monitoring

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

alerts monitoring cron
04

Product research

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

pain points validation niches
05

Content pipelines

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

content automation trending
06

Lead generation

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

leads sales intent
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

Pricing

Start free. Pay for what you use, or lock in a flat rate.

Credits for flexible, no-commitment usage. Subscriptions for a fixed monthly rate with built-in savings. Subscriptions+ for teams that want volume pricing at scale.

Free plan

30 free requests

A small test drive to verify the API, inspect real responses, and decide whether you want to stay on credits or move to a subscription.

Try free

Pay as you go

$1.99 per 1,000 requests

$0.00199 per request

How credits are counted

One credit = one request. No matter how many results come back — replies, comments, search pages — you pay for the call, not the output size.

Your first successful payment unlocks unlimited API keys on the account, including pay-as-you-go credits.

  • No monthly commitment — buy only what you need
  • Credits never expire — they stay until you use them
  • Same API, same MCP access, same data quality
  • ∞ req/min
Get API key

Credits never expire

Buy once, use whenever. There's no monthly reset, no pressure to hit a quota, no wasted credits at the end of a billing cycle.

No strings attached

No subscription to cancel, no seat minimums, no contract to negotiate. Start, pause, or scale whenever you want.

Full access from credit one

Every endpoint, MCP included, is available on credits. You're not on a limited tier — you get the same data as any subscriber.

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.

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.

Ready to pull Reddit data into your stack?

Free tier included. No credit card. Start hitting endpoints in two minutes.

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.