Skip to content
//Reddit Scraper example\\

Newest posts in r/python, 10 posts

Latest posts from a subreddit.

Updated December 3, 2026

What this example returns

This example returns up to 10 posts.

The dataset’s “Overview” view shows 8 columns: Title, Subreddit, Author, Score, Comments, Created, Type, and URL. See every output field.

What each setting does

The input this example runs Reddit Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Subreddit subredditName

python

Community to read, without the r/ prefix. Example: python. Leave empty to use search or URLs instead.

Maximum posts per input maxPosts

10

How many posts to save for each search, subreddit, profile, or URL. Reddit stops one listing at about 1,000 posts; above 1,000 the run also reads the other sorts and time periods of each search or subreddit (as Expand does) and drops duplicates within that input. While Reddit refuses its own search, a search finds…

Subreddit sort subredditSort

New

Ranking for a subreddit listing. Relevance and most-comments apply when keywords are set. A bare subreddit uses Hot when the choice is not a listing sort.

Default: Hot → this example uses New

.json
{
  "subredditName": "python",
  "subredditSort": "new",
  "maxPosts": 10
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Resultfrom $0.00102One Reddit post, community or user profile saved to the dataset.
  • Commentfrom $0.00102One Reddit comment saved to the dataset.
  • Actor startfrom $0.006Charged once per run.
  • Web search page$0.0017One page of web search results that brought Reddit posts, read when Reddit refuses its own search. Charged together with the run's saved rows; pages without Reddit posts, and runs that save nothing, are not charged.

Full pricing

When to use this example

From the Reddit Scraper readme:

How many results can I get?

As many as Reddit lists. One listing ends at about 1,000 posts; when maxPosts is above 1,000 (or Expand each search or subreddit is on) the run goes past that limit and drops duplicates within that input. Comments: every comment Reddit shows for a post, up to maxComments. See Limits below.

Other ways to run Reddit Scraper

All examples of Reddit Scraper

About Reddit Scraper

Extract public Reddit posts, comment threads, communities and user profiles from searches, subreddits, user profiles and post URLs. Results include text, scores, timestamps, and media.

Price:
From $1.02 / 1,000 results
Developer:
Echofield

Reddit Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.