scraping-reddit

Fetch top posts from a subreddit via the Reddit JSON API without authentication.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/TheeCoderAhmed/Skills-Master --skill scraping-reddit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scraping-reddit
Source: https://github.com/TheeCoderAhmed/Skills-Master/tree/main/.agent/skills/scraping-reddit
Command: npx skills add https://github.com/TheeCoderAhmed/Skills-Master --skill scraping-reddit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

Scrapes top posts from specified subreddits using the Reddit JSON API without requiring authentication, enabling quick access to post titles and links.

Core Features & Use Cases

  • Unauthenticated retrieval of top posts from any subreddit via Reddit's JSON API.
  • Customizable subreddit, time window, and result limit to fit different monitoring or content curation tasks.
  • Output is printed with titles, scores, comment counts, and direct links, suitable for piping into other tools or workflows.

Quick Start

Fetch the top posts from a subreddit, for example, get the top posts from r/python in the past day.

Frequently Asked Questions about scraping-reddit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape top Reddit posts from a subreddit without authentication?

You can scrape top Reddit posts without authentication by fetching the subreddit's JSON API. This Skill retrieves titles, links, scores, and comment counts directly, requiring no login credentials.

Can I customize the time window and limit when extracting Reddit posts?

Yes, you can customize the time window and result limit for Reddit data extraction. This allows you to monitor trending content over a specific period and control the number of top posts returned.

Do I need API credentials to fetch data from the Reddit JSON API?

No, you do not need API credentials to fetch data from the Reddit JSON API. This Skill performs unauthenticated retrieval, bypassing the need for OAuth tokens or login setups.

What is the best way to get top posts from multiple subreddits for content monitoring?

The best way to get top posts from multiple subreddits is using an unauthenticated JSON API fetcher. This approach quickly lists top posts across chosen subreddits, outputting titles and links for content monitoring.

What data fields are included when scraping Reddit posts via the JSON API?

Scraping Reddit posts via the JSON API outputs specific data fields. The retrieved data includes post titles, direct links, scores, and comment counts, suitable for piping into other tools.

Does this Reddit scraping method work with the requests library in Python?

Yes, this Reddit scraping method works with the requests library in Python. It relies on the requests dependency to call the Reddit JSON API and parse the returned data.