Reddit Data API — Structured Public Reddit Data | FetchLayer
FetchLayer fetchlayer.dev Sign in
Independent Third-party data provider
14 data endpoints live

Structured Reddit data.
Built for research and AI.

Every public Reddit post, comment thread, community, and user profile — returned as typed JSON the moment you request it. No data pipelines to build. No infrastructure to maintain.

Free tier included · No credit card required

reddit_data.py
200 OK · 0.9s

Request

import requests

response = requests.post(
  'https://fetchlayer.dev/api/reddit/search',
  headers={'Authorization': 'Bearer sk-...'},
  json={
    'query': 'LLM fine-tuning datasets',
    'sort': 'top',
    'limit': 25
  }
)
posts = response.json()['results']

Response

{
  "results": [{
    "title": "Best open datasets for LLMs?",
    "subreddit": "MachineLearning",
    "score": 2841,
    "body": "Looking for...",
    "author": "ml_researcher",
    "createdAt": "2026-05-02T09:12:00Z"
  }]
}

Data coverage

Every category of public Reddit data.

FetchLayer covers all publicly available Reddit content. Each category maps to dedicated endpoints returning consistent, typed JSON.

Posts & threads

Title, body, score, upvote ratio, comment count, author, timestamp, flair, and URL — for every public post on Reddit.

Comment trees

Complete nested comment threads — body, author, score, depth, parent reference, and timestamps. Paginated for deep discussions.

Community data

Subreddit subscriber counts, descriptions, posting rules, and post feeds sorted by hot, new, top, rising, or controversial.

User profiles & activity

Karma, bio, account age, and complete public post and comment history for any Reddit account.

Cross-platform search

Full-text search across all public Reddit content — or scoped to a single community. Sort by relevance, recency, or score.

Trending & signals

r/popular trending posts, community leaderboards, and rising content — surface what's gaining traction across Reddit right now.

Response schema

Consistent, typed JSON. Every time.

The same fields in the same shape on every call — whether you're pulling from search, a community feed, or a user profile. No surprises in production.

Post object — selected fields
id string Unique Reddit post identifier
title string Post headline
body string | null Self-post body text, null for link posts
author string Reddit username
subreddit string Community name without r/ prefix
score number Net upvotes
upvoteRatio number Ratio from 0.0 to 1.0
numComments number Total comment count
url string Full permalink to the post
createdAt string ISO 8601 timestamp
flair string | null Post flair text if set

TypeScript types: @fetchlayer/reddit on npm

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 14 endpoints exposed as tools
Official & maintained
Free to install

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.

Use cases

What teams build with Reddit data.

Research, analytics, AI pipelines, monitoring — here's what ships with FetchLayer.

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

FAQ

Common questions about the data.

What Reddit data does FetchLayer cover?

FetchLayer provides structured access to all publicly available Reddit content: posts (with full metadata), nested comment threads, subreddit details, user profiles and activity history, full-text search results, trending feeds, and community leaderboards. All returned as typed JSON.

How current is the data?

Data is fetched on-demand at request time — every API call retrieves the live state of the public page at that moment. This is not a cached dataset from days ago. For monitoring pipelines, you control the polling frequency.

What fields come back in a post response?

A post includes: id, title, body, author, subreddit, score, upvoteRatio, numComments, url, permalink, flair, createdAt, isNsfw, isSpoiler, isPinned, and more. Comment objects include body, author, score, depth, parentId, createdAt, and their own nested replies.

Can I use this data for research?

Yes. FetchLayer accesses only publicly available information — the same content visible to any unauthenticated browser. Many researchers use it to study discourse patterns, sentiment trends, and community dynamics. For academic use, verify your institution's data-use guidelines.

How do I get data from a specific community?

Use the community-posts endpoint. Pass the subreddit name, a sort order (hot, new, top, rising, or controversial), an optional time filter, and a limit. The community-details endpoint returns subscriber count, description, and rules.

Can I export data as CSV?

The API returns JSON, which any language can convert to CSV in a few lines. FetchLayer Research Chat can also export query results directly as a downloadable CSV — no code required.

Is this suitable for AI and LLM pipelines?

Many teams pipe FetchLayer output into vector databases, RAG pipelines, and fine-tuning workflows. The consistent JSON schema makes normalisation straightforward. You are responsible for ensuring your AI use case complies with applicable copyright and data law.

How do I monitor a keyword over time?

Call the search endpoint with your keyword sorted by newest. Schedule the call — cron, GitHub Actions, any task runner. Track seen post IDs between runs to catch only new mentions without duplicates. Our monitoring blog guide shows a complete implementation.

Start accessing Reddit data today.

Free tier included. No credit card. First data request in under 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 provides access to 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 service is subject to our Terms of Service and applicable law.