Skip to main content

Reddit Scrape Tool

Scrapes posts from any Reddit subreddit with flexible filtering and sorting options

Quick Start

import { RedditScrapeTool } from '@bubblelab/bubble-core';
const result = await new RedditScrapeTool({

subreddit: null, // Name of the subreddit to scrape (with or without r/ prefix)
}).action();

Operation Details

execute

subreddit unknown required
Name of the subreddit to scrape (with or without r/ prefix)
limit number
Maximum number of posts to fetch (1-1000, default: 25)
sort 'hot' | 'new' | 'top' | 'rising'
Sorting method for posts (default: hot)
timeFilter 'hour' | 'day' | 'week' | 'month' | 'year' | 'all'
Time filter for "top" sort (only applies when sort=top)
filterToday boolean
Filter results to only include posts from today
includeStickied boolean
Include stickied/pinned posts in results
minScore number
Minimum upvote score required for posts
credentials Record<CredentialType,string>
Optional credentials for enhanced features