scraping-reddit

Fetches top posts and metadata from Reddit subreddits via JSON endpoints.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/CarlosDoers/poems-guest-book --skill scraping-reddit-carlosdoers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scraping-reddit
Source: https://github.com/CarlosDoers/poems-guest-book/tree/main/.agent/skills/scraping-reddit
Command: npx skills add https://github.com/CarlosDoers/poems-guest-book --skill scraping-reddit-carlosdoers

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Reddit hosts vast discussions; this skill helps you fetch top posts and essential metadata from subreddits without building custom scrapers, saving time and enabling analysis.

Core Features & Use Cases

  • Fetch top/hot posts from any subreddit and capture title, score, author, and URL.
  • Retrieve post metadata for trend analysis or content curation.
  • Use cases include monitoring communities, generating summaries, and feeding dashboards.

Quick Start

Run the reddit_scraper.py script with a subreddit name to fetch recent posts and metadata.

Frequently Asked Questions about scraping-reddit

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

FAQPage Schema
How do I scrape Reddit posts and metadata from subreddits?

You can scrape Reddit posts by running a Python script that fetches top posts and metadata like titles, scores, authors, and URLs from subreddits. It relies on Reddit's JSON endpoints and uses a custom User-Agent to comply with Reddit's guidelines.

Can I use Python requests to fetch Reddit subreddit trends?

Yes, you can use the Python requests library to fetch Reddit subreddit trends. The scraping process relies on the requests dependency to retrieve JSON data from Reddit endpoints for monitoring communities and tracking trends.

What data fields can I extract from Reddit JSON endpoints?

You can extract essential post metadata from Reddit JSON endpoints, including the post title, score, author, and URL. This data is useful for generating summaries, feeding dashboards, and performing trend analysis on social-media discussions.

Does scraping Reddit with JSON endpoints require authentication?

Scraping Reddit via JSON endpoints focuses on fetching publicly available top posts without building custom scrapers. It operates using a custom User-Agent to comply with Reddit's guidelines, avoiding the need for complex authentication setup.

How do I limit the number of posts when extracting Reddit data?

You can limit the number of posts extracted by using a configurable limit parameter within the scraping script. This allows you to control the volume of Reddit data fetched for tasks like content curation or community monitoring.