PluginBench
Skill
Review
Audit score 70

reddit-api

fetcher-sh/fetcher-skills

Pay-per-call Reddit API: search posts, subreddits, users, and fetch feeds without OAuth registration.

What is reddit-api?

A Reddit API alternative via fetcher.sh that lets you search across subreddits, fetch user profiles, retrieve comment trees, and monitor sitewide feeds. Pay per call in USDC or use prepaid credits—no OAuth app setup or rate-limit tiers required.

  • Search posts across all subreddits by keyword, sorted by top/hot/new/comments
  • Search subreddits and users by keyword
  • Fetch subreddit info and hot/new/top post feeds
  • Retrieve single posts with full comment trees and nested replies
  • Access sitewide best/hot/new/top feeds
  • Fetch user profiles, posts, and comments

How to install reddit-api

npx skills add https://github.com/fetcher-sh/fetcher-skills --skill reddit-api
Prerequisites
  • fetcher.sh account with prepaid credits (via https://fetcher.sh/topup) or x402 wallet for pay-per-call
  • FETCHER_API_KEY environment variable (for prepaid mode) or x402-compatible client (for pay-per-call)
Claude Code
Cursor
Windsurf
Cline

How to use reddit-api

  1. 1.Install the skill: npx skills add https://github.com/fetcher-sh/fetcher-skills --skill reddit-api
  2. 2.Set FETCHER_API_KEY to your prepaid API key, or configure x402 for pay-per-call
  3. 3.Call endpoints via GET requests to https://reddit.fetcher.sh/api/* with optional sort and cursor parameters
  4. 4.Use /api/search/post with keyword and sort (top/hot/new/comments) to find posts across subreddits
  5. 5.Chain calls: fetch a post ID, then retrieve its comments, then fetch replies to specific comments
  6. 6.Monitor sitewide feeds (/api/posts/hot, /api/posts/best, etc.) or user activity (/api/user/{username}/posts)

Use cases

Good for
  • Monitor Reddit sentiment and discussion trends on specific topics across communities
  • Build subreddit-specific data pipelines for research or content aggregation without Reddit API registration
  • Track keyword mentions and engagement (comment counts) in real time across Reddit
  • Analyze user activity and posting history for competitive or community research
  • Fetch full discussion threads with comment context for chatbot training or analysis
Who it's for
  • Data analysts and researchers studying Reddit discussions
  • AI agents building social-listening or sentiment-analysis pipelines
  • Content creators monitoring brand or topic mentions
  • Developers avoiding Reddit's OAuth registration and rate-limit complexity

reddit-api FAQ

Do I need a Reddit API app or OAuth credentials?

No. This is a drop-in alternative that requires only a fetcher.sh account and prepaid credits or x402 wallet.

What does each call cost?

$0.002 per call, payable in USDC on Base, Polygon, Arbitrum, Monad, or Solana (x402), or deducted from prepaid credits.

Can I paginate results?

Yes, use the optional cursor parameter to paginate through search results and feeds.

What sort options are available?

For post search: top, hot, new, comments, relevance. For feeds and user content: hot, new, top.

Is there an MCP server available?

Yes, at https://reddit.fetcher.sh/mcp with free endpoints (search_endpoints, describe_endpoint, check_balance) and paid data-fetch operations.

Full instructions (SKILL.md)

Source of truth, from fetcher-sh/fetcher-skills.


name: reddit-api description: >- A Reddit API alternative on fetcher.sh — pay-per-call in USDC via x402, or prepaid credits with a Bearer key, no OAuth app registration. Use when the user wants to search Reddit posts across every subreddit by keyword and sort by top, hot, new, or most-discussed, search subreddits or users by keyword, fetch a subreddit's info or its hot/new/top post feed, fetch a single post with its comment tree and comment replies, pull the sitewide best/hot/new/top feeds, or fetch a user's profile, posts, and comments. Also covers Reddit sentiment analysis input, subreddit monitoring, keyword tracking, and Reddit data pipelines without Reddit's own API app registration or rate-limit tiers. keywords:

  • reddit
  • reddit-api
  • reddit-api-alternative
  • subreddit
  • social-listening
  • x402
  • ai-agent

Reddit API

Reddit data on demand: cross-subreddit post search, subreddit and user search, subreddit info and feeds, single posts with full comment trees, sitewide best/hot/new/top feeds, and user profiles/posts/comments — one plain HTTP GET per call, paid as you go. No OAuth app registration, no client ID/secret pair, no Reddit API rate-limit tier.

Base URL: https://reddit.fetcher.sh

Authentication

Two ways to pay, same data — full mechanics in the fetcher skill:

# 1. Prepaid credits (recommended — get a key at https://fetcher.sh/topup
#    or via POST /api/credits/topup, see the fetcher skill)
export FETCHER_API_KEY="bby_live_xxxxxxxxxxxx"
curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  "https://reddit.fetcher.sh/api/search/post?keyword=hello"

# 2. x402 pay-per-call — omit the header; a GET with no payment returns 402
#    with machine-readable payment requirements (USDC on Base, Polygon,
#    Arbitrum, Monad, or Solana). @x402/fetch signs and retries automatically.

Every response is { "status": number, "message": string, "data": ... }; the HTTP status mirrors status.

Endpoints (15 — all GET, $0.002/call)

EndpointWhat it returns
/api/search/postPosts across every subreddit matching a keyword
/api/search/subredditSubreddits matching a keyword
/api/search/userUsers matching a keyword
/api/subreddit/{name}A subreddit's info
/api/subreddit/{name}/postsA subreddit's post feed
/api/post/{id}A single post
/api/post/{id}/commentsA post's comment tree
/api/post/{id}/comments/{commentId}/repliesReplies to a comment
/api/posts/hotSitewide hot feed
/api/posts/newSitewide new feed
/api/posts/topSitewide top feed
/api/posts/bestSitewide best feed
/api/user/{username}A user's profile
/api/user/{username}/postsA user's posts
/api/user/{username}/commentsA user's comments

{id} / {name} / {username} are path parameters. Optional sort / cursor reorder and paginate; keyword (search) is required where it appears.

Scenarios

Top posts about a topic, across every subreddit:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "keyword=ai agents" -G \
  --data-urlencode "sort=top" \
  "https://reddit.fetcher.sh/api/search/post"

Most discussed (highest comment count):

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "keyword=stablecoin payments" -G \
  --data-urlencode "sort=comments" \
  "https://reddit.fetcher.sh/api/search/post"

Newest first:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "keyword=x402" -G \
  --data-urlencode "sort=new" \
  "https://reddit.fetcher.sh/api/search/post"

Other sort values for /api/search/post: relevance, hot.

Search subreddits or users by keyword:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "keyword=machine learning" -G \
  "https://reddit.fetcher.sh/api/search/subreddit"

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "keyword=spez" -G \
  "https://reddit.fetcher.sh/api/search/user"

A subreddit's info, then its hot/new/top feed:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  "https://reddit.fetcher.sh/api/subreddit/MachineLearning"

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "sort=top" -G \
  "https://reddit.fetcher.sh/api/subreddit/MachineLearning/posts"

A single post, its comment tree, and replies to one comment:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  "https://reddit.fetcher.sh/api/post/1abcde2"

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "sort=top" -G \
  "https://reddit.fetcher.sh/api/post/1abcde2/comments"

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  "https://reddit.fetcher.sh/api/post/1abcde2/comments/fghij3k/replies"

Sitewide feeds:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  "https://reddit.fetcher.sh/api/posts/hot"

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  "https://reddit.fetcher.sh/api/posts/best"

A user's profile, posts, and comments:

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  "https://reddit.fetcher.sh/api/user/spez"

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "sort=new" -G \
  "https://reddit.fetcher.sh/api/user/spez/posts"

curl -H "Authorization: Bearer $FETCHER_API_KEY" \
  --data-urlencode "sort=top" -G \
  "https://reddit.fetcher.sh/api/user/spez/comments"

MCP

{
  "mcpServers": {
    "reddit": {
      "url": "https://reddit.fetcher.sh/mcp",
      "headers": { "Authorization": "Bearer bby_live_..." }
    }
  }
}

Free: search_endpoints, describe_endpoint, check_balance. Paid: fetch_data (any endpoint above), topup_credits, plus the named shortcut reddit_search_post. Drop the headers block to pay per call with x402 instead — see the fetcher skill for the full flow.

Errors

  • 400 — missing/invalid parameter (message names it)
  • 401 — unknown or rotated key
  • 402 — payment required (x402 challenge) or topup_required (credits exhausted)
  • 404 — not a priced path
  • No rate limits; no refunds on upstream failures (settlement precedes delivery)

Reference