Skip to content
//Reddit Posts Scraper example\\

Posts from a Reddit user, 5 posts

Latest posts from a user profile URL.

Updated October 21, 2026

Input

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

Reddit URLsstartUrls
https://www.reddit.com/user/spez
Max posts per keyword / URLmaxPostsCount
5
Only posts that have a flaironlyWithFlair
No
Include NSFW (18+) contentincludeNSFW
No
Search for postssearchPosts
Yes
Search for commentssearchComments
No
Search for communitiessearchCommunities
No
Sort search results bysearchSort
New
Time rangesearchTime
All time
Max search / profile commentsmaxCommentsCount
5
Max communitiesmaxCommunitiesCount
2
Scrape comments for each postcrawlCommentsPerPost
No
Max comments per postmaxCommentsPerPost
5
.json
{
  "startUrls": [
    {
      "url": "https://www.reddit.com/user/spez"
    }
  ],
  "maxPostsCount": 5,
  "maxCommentsCount": 5,
  "searchTerms": [],
  "subredditUrls": [],
  "onlyWithFlair": false,
  "includeNSFW": false,
  "searchPosts": true,
  "searchComments": false,
  "searchCommunities": false,
  "searchSort": "new",
  "searchTime": "all",
  "maxCommunitiesCount": 2,
  "crawlCommentsPerPost": false,
  "maxCommentsPerPost": 5
}

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. The advantage lasts forever.

No credit card. No setup calls.