# Reddit User Activity Scraper (`vulnv/reddit-user-scraper`) Actor

Scrape recent Reddit user activity - This actor collects public comments from specified Reddit usernames, including subreddit, content, timestamps, and URLs. Supports proxy configuration and result limiting.

- **URL**: https://apify.com/vulnv/reddit-user-scraper.md
- **Developed by:** [VulnV](https://apify.com/vulnv) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 58 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Reddit User Scraper: Extract Reddit User Post History

### Overview

The **Reddit User Scraper** is a specialized tool designed to extract detailed post history from any public Reddit user. Whether you're conducting behavioral analysis, tracking user activity, or gathering data for research, this scraper allows you to efficiently collect structured Reddit user data.

### Features

- **Detailed User Post Extraction**: Retrieve the following information from a Reddit user's submissions:
  - Post type
  - Subreddit name
  - Creation timestamp
  - Number of comments
  - Post body content
  - Post URL

- **Flexible Input Configuration**:
  - Specify one or more Reddit usernames
  - Set post retrieval limit per user

- **Structured Output**:
  - Data is returned in clean JSON format, ideal for downstream processing or analysis.

### Input Fields

The scraper accepts the following input configuration:

#### `usernames` (array, required)

- List of Reddit usernames to scrape (without the "u/" prefix).
- Example:
  ```json
  ["spez", "reddituser123"]
  ```

#### `limit` (integer, optional)

- Maximum number of posts to retrieve per user.
- Default: `10`
- Minimum: `1`

#### `proxyConfiguration` (object, optional)

- Proxy settings for the scraper.
- Example:
  ```json
  {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
  ```
- **Recommended**: Enable proxies to prevent rate limits and IP bans during high-volume scraping.

#### Example Output

```json
[
  {
    "username": "AutoModerator",
    "activities": [
      {
        "type": "comment",
        "subreddit": "soccercirclejerk",
        "body": "Hear me out. The man came to MLS after securing the ligue one title for psg. He ABSOLUTELY blew up the sport in the USA. Made headlines everywhere. Showed up with ridiculous free kicks and golazos. Completely changed how Americans view soccer. The inter Miami leagues cup run was SUPER viral. Did Haaland score more goals and obtain more important trophies in epl? Yes. But once again this was THE YEAR OF MESSI. He showed up big for Miami in leagues cup and showed up big in 2026 WC qualifiers. Also why not take into account the man is 36 years old and still shocking people with his quality every match he plays. He's a machine enough said\n\n*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/soccercirclejerk) if you have any questions or concerns.*",
        "created_utc": 1748778689,
        "url": "https://www.reddit.com/r/soccercirclejerk/comments/1l0g524/doue_exposed_the_fraud/mvef6y5/"
      },
      {
        "type": "comment",
        "subreddit": "soccercirclejerk",
        "body": "Ok hear me out Mudryk is far superior in dribbling pace and maybe even passing but Haaland is better at shooting and physical. \nNot to mention that mudryk can play more place on the field with haaland only place being striker which he is a bit of a tap in merchant \n(I will admit not as much this season but last season he was).\n\nNow Mudryk would be so much if he had enough confidence he is constantly be hated on by football fans all over the world like he got so \nhated on for scoring a cross goal (which he meant) but if Saka or Salah did that everyone would go crazy. \n\nAlso Haaland scores goal for 1Mitre off of the goal line and get praised for such a beautiful goal which is stupid because he Jackson did \n3 of them same goals against spurs people said it was the worst hattrick ever but if Haaland did it every city fan (12 year old) would go \ncrazy.\n\nNow my final point is that Haaland has been playing in the big leagues for a few years now and Mudryk has had only 1 and a half seasons and \ngets hate for playing bad when vinis first few seasons at Madrid were that exact same but look at him now.\n\n*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/soccercirclejerk) if you have any questions or concerns.*",
        "created_utc": 1748778688,
        "url": "https://www.reddit.com/r/soccercirclejerk/comments/1l0g524/doue_exposed_the_fraud/mvef6ws/"
      },
      {
        "type": "comment",
        "subreddit": "Saggytit",
        "body": "Thanks for sharing your post on r/Saggytit, a subreddit dedicated to all things saggy tits, if you see something you don't like or if you feel it does not fit the sub   \n\n   # please report it. \n\n&amp;#8195;\n\n\n^(All submissions must include a saggy breasted woman, or they are subject to be removed and users may receive disciplinary actions.)\n\n\n*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/Saggytit) if you have any questions or concerns.*",
        "created_utc": 1748778688,
        "url": "https://www.reddit.com/r/Saggytit/comments/1l0n34m/too_saggy_or_just_right/mvef6wi/"
      },
      {
        "type": "comment",
        "subreddit": "PiratedGames",
        "body": "\nHello u/SouthSuch4210, \nHave an error and want help?  **Please provide these details when submitting your post.** -\n1. Name of the game\n2. Site from which you got the game from\n3. System Specs and OS Version\n4. Any steps taken to try to fix the issue\n5. Driver version (needed only for e.g. graphics issues)\n\n**Make sure to read the stickied [megathread](https://rentry.org/pgames) as well as our [piracy guide](https://pastebin.com/H4UcYPHR), [FAQs](https://www.reddit.com/r/PiratedGames/wiki/faq/), and our [Wiki](https://www.reddit.com/r/PiratedGames/wiki/index), as these might just answer your question!** \n\n****\n\n\n*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/PiratedGames) if you have any questions or concerns.*",
        "created_utc": 1748778687,
        "url": "https://www.reddit.com/r/PiratedGames/comments/1l0n34g/minecraft_free_download/mvef6vf/"
      },
      {
        "type": "comment",
        "subreddit": "SampleSize",
        "body": "Welcome to r/SampleSize! Here's some required reading for our subreddit.\n\n* [Flair, Title, Demographic, and \"Everyone\"](https://www.reddit.com/r/SampleSize/comments/w8oqrs/flair_title_demographic_and_everyone_and_reposts/)\n* [Reminder: Automod comments; When to know your post has been removed](https://www.reddit.com/r/SampleSize/comments/xt831x/reminder_automod_comments_when_to_know_if_your/) (spoiler alert, if you're seeing this, it hasn't!)\n* [r/SampleSize Moderators Decision on Surveys that use Google Forms](https://www.reddit.com/r/SampleSize/comments/yr832k/moderator_decision_on_surveys_that_use_google/)\n\nPlease remember to be civil. We also ask that users report the following:\n\n* Surveys that use the wrong demographic.\n* Comments that are uncivil and/or discriminatory, including comments that are racist, homophobic, or transphobic in nature.\n* Users sharing their surveys in an unsolicited fashion, who are not authorized (by mods and not OP) to advertise their surveys in the comments of other users' posts.\n\nAnd, as a gentle reminder, if you need to contact the moderators, **please use the \"Message the Mods\" form on the sidebar.** Do not contact moderators directly, unless they contact you first.\n\n\n*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/SampleSize) if you have any questions or concerns.*",
        "created_utc": 1748778687,
        "url": "https://www.reddit.com/r/SampleSize/comments/1l0n34f/academic_survey_open_call_looking_for_respondents/mvef6v2/"
      },
      {
        "type": "comment",
        "subreddit": "JEENEETards",
        "body": "If you feel like this Post violates the subreddit [rules](https://www.reddit.com/r/JEENEETards/about/rules).\n\nFeel free to report it using the 3 dots or tag any active moderator for removing this post.\n\nLearn how to report any post [here](https://www.reddit.com/r/JEENEETards/comments/1d9ac4i/comment/l7c1q08/)\n\n*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/JEENEETards) if you have any questions or concerns.*",
        "created_utc": 1748778687,
        "url": "https://www.reddit.com/r/JEENEETards/comments/1l0n31t/anup_sir_sigma_edit/mvef6uf/"
      },
      {
        "type": "comment",
        "subreddit": "BigEmoTitties",
        "body": "Hey /u/crummytortilla, we hope you love posting on /r/BigEmoTitties &lt;3\n\nIf you’d like to link your selling info in the comments, head over to r/letsverify or r/SuccubaeSubNetwork to get verified across our network!\n\nPlease familiarize yourself with the [rules](https://www.reddit.com/r/BigEmoTitties/about/rules) also. Thank you, moderators of /r/BigEmoTitties.\n\nOther Subreddits:\n\n* r/bigtitssmallareola\n* r/DisabledSluts\n* r/GothPussy\n* r/NeatBush\n* r/onlyfansalt\n* r/onlyfanshairy\n* r/OnlyFansHardcore\n* r/PrettyAlt\n* r/tattooedgonewild\n* r/TattooedSluts\n* r/GreenHairNSFW\n\n* ☆.。.:*・°☆.。.:*・°☆.。.:*・°☆.。.:*・°☆.。.:* °☆.。.:* °☆\n\n♰ Stay Emo, Stay Slutty. Any issues please report them, thank you! ♰\n\n*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/BigEmoTitties) if you have any questions or concerns.*",
        "created_utc": 1748778686,
        "url": "https://www.reddit.com/r/BigEmoTitties/comments/1l0n33x/dont_you_just_want_to_rest_your_head_here/mvef6s1/"
      },
      {
        "type": "comment",
        "subreddit": "WichsChatter",
        "body": "## Wilkommen in r/WichsChatter! \n\nGeschwister subs: r/JerkOffChat, r/JerkOffOnCam, r/JerkingInstruction, r/SnapChatBuds\n\n### AI Sex Chat:\n\n* [NSFW Sexting AI](https://jerkoffoncam.com/WichsAi) \n\n\nBleiben Sie sicher, befolgen Sie alle Regeln und denken Sie daran, Ihre Sicherheit und Privatsphäre haben Vorrang. Denken Sie immer zweimal nach!\n\n\n*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/WichsChatter) if you have any questions or concerns.*",
        "created_utc": 1748778686,
        "url": "https://www.reddit.com/r/WichsChatter/comments/1l0n33z/m21/mvef6ru/"
      },
      {
        "type": "comment",
        "subreddit": "AmItheAsshole",
        "body": "^^^^AUTOMOD  ***Thanks for posting! This comment is a copy of your post so readers can see the original text if your post is edited or removed. This comment is NOT accusing you of copying anything. Read [this](https://www.reddit.com/r/AmItheAsshole/wiki/faq#wiki_post_deletion) before [contacting the mod team](https://www.reddit.com/message/compose?to=%2Fr%2FAmItheAsshole)***\n\nI told my friend that women like, love, value and appreciate men more than men do women, in a more well rounded and meaningful way, across the world and throughout history and that if you took sex with women away, men would instead prefer men in all ways and see them as superior. So men aren't completely straight and women are pathetic.\n\nShe became depressed, reclusive and hateful towards men and women. Was I in the wrong?\n\n*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/AmItheAsshole) if you have any questions or concerns.*",
        "created_utc": 1748778686,
        "url": "https://www.reddit.com/r/AmItheAsshole/comments/1l0n33k/aita_was_i_right_to_give_my_friend_some_tough_love/mvef6rr/"
      },
      {
        "type": "comment",
        "subreddit": "amiugly",
        "body": "Hello /u/Still_Dust7427. Please be familiar with our rules [HERE](https://www.reddit.com/r/amiugly/about/rules/) and double check your verification photo.\n\n#### ( YOUR WHOLE ARM AND HAND MUST BE VISIBLE IN THE PHOTO)\n\n\nTake a selfie holding a **HANDWRITTEN** (no editing) note / paper with **ALL** 3 of the following:\n\n* **username**\n\n* **today's date**\n\n* **this sub name (amiugly or AIU)**\n\nIf this isn't included please delete this post within 2 hours and make a new one. If its more than 2 hours then this post will count towards your 1 post per month. \n\nYour face must be visible in all photos. It is preferred to have your first photo as your verification photo but not required. Posting without following this rule could lead to a permanent ban.\n\n**This message is just a reminder on every post and doesn't mean you did something wrong**\n\n\n*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/amiugly) if you have any questions or concerns.*",
        "created_utc": 1748778686,
        "url": "https://www.reddit.com/r/amiugly/comments/1l0n33t/not_sure_if_if_i_really_have_a_chance_22m_64/mvef6r5/"
      }
    ]
  }
]
```

### Quick Start

1. Install or open the actor from the [Apify Marketplace](https://apify.com).
2. Enter Reddit usernames and optional parameters in the input.
3. Run the actor.
4. Download the results in JSON format from the dataset tab.

### Use Cases

- **Behavioral Analytics**: Understand user posting behavior over time.
- **Reputation Tracking**: Monitor activities of notable or suspicious Reddit users.
- **Research & Sentiment Analysis**: Gather and analyze content from specific users for academic or product research.
- **Content Moderation Audits**: Check user history for rule violations or community impact.

### Output Storage

Scraped results are saved as a dataset on Apify and can be downloaded in JSON, CSV, or Excel formats.

### Feedback and Support

If you have questions, need support, or want to suggest a feature, please visit the [Apify community forum](https://forum.apify.com) or contact us via Apify.

### Discover More

🔍 Explore more data extraction tools by visiting 🌐 [Vulnv's Apify Actors](https://apify.com/vulnv)

📧 For support or collaborations, reach out at apify@vulnv.com.

# Actor input Schema

## `username` (type: `array`):

One or more Reddit usernames to scrape

## `limit` (type: `integer`):

The number of activity to scrape from each user's profile

## `get_post_details` (type: `boolean`):

Whether to get post details

## `proxy_configuration` (type: `object`):

Select proxies to be used by your crawler.

## Actor input object example

```json
{
  "username": [
    "AutoModerator"
  ],
  "limit": 10,
  "get_post_details": false,
  "proxy_configuration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "username": [
        "AutoModerator"
    ],
    "proxy_configuration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("vulnv/reddit-user-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "username": ["AutoModerator"],
    "proxy_configuration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("vulnv/reddit-user-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "username": [
    "AutoModerator"
  ],
  "proxy_configuration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call vulnv/reddit-user-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vulnv/reddit-user-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/4GrLgxhtro97YgZhL/builds/OsEciUOLdVlrfEeHl/openapi.json
