Reddit API for Developers — Third-Party Reddit Data API | FetchLayer
FetchLayer fetchlayer.dev Sign in
Independent Third-party Reddit API
14 endpoints · No waitlist

The Reddit API
developers actually use.

Official Reddit API access is effectively closed for new developers. FetchLayer is the independent, third-party API that gives you structured access to public Reddit data right now — REST, typed JSON, 14 endpoints, no approval process.

Free tier included · No credit card required

reddit-api.ts
200 OK · 1.1s

TypeScript SDK

import { FetchLayer } from '@fetchlayer/reddit';

const client = new FetchLayer({
  apiKey: 'sk-your-key',
});

const { results } = await client.search({
  query: 'best developer tools 2026',
  sort:  'top',
  limit: 10,
});

Response

{
  "results": [{
    "title": "What tools do you swear by?",
    "subreddit": "webdev",
    "score": 3241,
    "numComments": 418,
    "url": "https://reddit.com/..."
  }]
}

API capabilities

Developer-first. Nothing to configure beyond a key.

REST over HTTPS. POST with a JSON body. Get typed JSON back. Every endpoint follows the same pattern — consistent from day one.

REST + JSON

POST to any endpoint with a JSON body. Receive a typed JSON response. Works from any language with a standard HTTP client.

Bearer auth

One header, one key: Authorization: Bearer sk-... — identical across all 14 endpoints. Generate and revoke keys in your dashboard.

TypeScript SDK

npm install @fetchlayer/reddit — fully type-safe, open source, MIT licensed. Works in Node.js, Bun, and Deno.

MCP server

One config block connects Cursor, Claude Desktop, VS Code Copilot, and Windsurf directly to all 14 Reddit endpoints — no wrapper code.

No Reddit credentials

No OAuth flow, no Reddit app registration, no application form. Just a FetchLayer API key — one sign-up, instant access.

Any language

Python, Go, Ruby, PHP, curl, Java — if it can send an HTTP POST request, it works with FetchLayer. No language-specific bindings needed.

API reference

14 endpoints. One base URL.

All requests go to POST https://fetchlayer.dev/api/reddit/{endpoint} with a JSON body and Bearer auth header.

Endpoint

Category

search 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

TypeScript 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 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 developers build with the Reddit API.

From monitoring pipelines to AI agents — 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 developer questions.

Do I need official Reddit API credentials?

No. FetchLayer is an independent, third-party API — you authenticate with a FetchLayer API key, not Reddit credentials. No OAuth setup, no Reddit developer application, no approval process.

How is this different from the official Reddit API?

The official Reddit API now requires a formal application process that is effectively closed for most new developers — requests are routinely rejected or ignored. FetchLayer is an independent service providing structured access to publicly available Reddit data without that gatekeeping.

What endpoints are available?

FetchLayer provides 14 endpoints: post search, full thread retrieval, subreddit post feeds, community metadata, user profiles, user post and comment history, community and user search, comment permalinks, trending feeds (r/popular), community leaderboards, content exploration, and URL type resolution.

Is there a TypeScript or JavaScript SDK?

Yes. The @fetchlayer/reddit npm package is MIT-licensed and open source. It's fully type-safe and works in Node.js, Bun, and Deno. You can also call the raw REST API directly from any language.

What authentication does the API use?

Bearer token authentication. Add your key as: Authorization: Bearer sk-your-key. API keys are generated in your dashboard and can be revoked at any time.

Are there rate limits?

Rate limits are based on your FetchLayer plan — not Reddit's. Free tier is limited. Paid plans support higher per-minute throughput. We manage all infrastructure-side rate limiting so you don't have to.

Can I use this in production?

Yes. Paid plans are designed for production workloads — monitoring pipelines, user-facing features, and scheduled jobs all run reliably on FetchLayer. Uptime SLA is included on paid plans.

Does it work with AI coding agents?

Yes. The MCP server lets Cursor, Claude Desktop, VS Code Copilot, and Windsurf call all 14 Reddit endpoints inline — no separate HTTP client setup needed. One config block is all it takes.

Get your Reddit API key today.

Free tier included. No credit card. First API call 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 programmatic 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 API is subject to our Terms of Service and applicable law.