Reddit Scraper avatar

Reddit Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Reddit Scraper

Reddit Scraper

Scrape Reddit subreddits, posts, comments, and community data. Extract upvotes, awards, user profiles, and discussion threads. Export structured data as JSON, CSV, or Excel.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Harald

Harald

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

20 hours ago

Last modified

Categories

Share

Fast and reliable Reddit scraper using the free JSON API. No authentication required. Extract posts, comments, user content, and search results.

Features

  • 🔓 No authentication needed - uses Reddit's public JSON API
  • 📊 Multiple modes: subreddit posts, user posts, search, single post with comments
  • 💬 Extract comments from posts
  • ⚡ Fast and efficient
  • 📦 Clean, structured data output
  • 🎯 Sort by hot, new, top, or rising

Input

Required

  • Scraping Mode: What type of content to scrape
    • subreddit - Posts from a subreddit
    • user - Posts by a user
    • search - Search results
    • post - Single post with comments

Mode-Specific Required Fields

  • Subreddit (subreddit mode): Subreddit name without r/ (e.g., programming)
  • Username (user mode): Reddit username without u/ (e.g., spez)
  • Search Query (search mode): Search terms (e.g., machine learning)
  • Post URL (post mode): Full Reddit post URL

Optional

  • Sort By (default: hot): How to sort posts - hot, new, top, rising
  • Maximum Posts (default: 50): Number of posts to scrape (1-500)
  • Include Comments (default: false): Fetch comments (post mode only)

Output

Post Data

Each post contains:

  • id - Reddit post ID
  • title - Post title
  • author - Username of the author
  • subreddit - Subreddit name
  • score - Post score (upvotes - downvotes)
  • upvoteRatio - Ratio of upvotes
  • numComments - Number of comments
  • created - Unix timestamp
  • timestamp - ISO 8601 timestamp
  • url - Content URL
  • permalink - Reddit post URL
  • selftext - Post text content (for text posts)
  • isVideo - Whether the post is a video
  • over18 - NSFW flag
  • spoiler - Spoiler flag
  • stickied - Whether post is stickied
  • locked - Whether post is locked
  • domain - Link domain
  • linkFlairText - Post flair

Comment Data (when includeComments=true)

  • id - Comment ID
  • author - Username
  • body - Comment text
  • score - Comment score
  • created - Unix timestamp
  • timestamp - ISO 8601 timestamp
  • permalink - Comment URL
  • isSubmitter - Whether author is the post submitter
  • stickied - Whether comment is stickied
  • parentId - Parent comment/post ID

Example Output

{
"id": "abc123",
"title": "Show HN: I built a tool to visualize algorithm complexity",
"author": "developer123",
"subreddit": "programming",
"score": 1542,
"upvoteRatio": 0.95,
"numComments": 234,
"created": 1708520400,
"timestamp": "2024-02-21T12:00:00.000Z",
"url": "https://example.com/algorithm-viz",
"permalink": "https://www.reddit.com/r/programming/comments/abc123/show_hn/",
"selftext": "I've been working on this for months...",
"isVideo": false,
"over18": false,
"spoiler": false,
"stickied": false,
"locked": false,
"domain": "example.com",
"linkFlairText": "Project"
}

Use Cases

  • Monitor subreddit activity
  • Track user posts
  • Analyze discussion trends
  • Build Reddit aggregators
  • Research sentiment and engagement
  • Create Reddit bots and tools

API Information

Uses Reddit's public JSON API (append .json to any Reddit URL). No rate limits on the public API, but respectful usage is encouraged.

Support

For issues or questions, please open an issue on GitHub or contact support.