# Top r/wallstreetbets posts this week

**Use case:** 

Exports this week's top posts from r/wallstreetbets: title, author, score, comment count, flair, post URL and text. Run it weekly to follow which tickers retail traders are talking about or to feed a sentiment model.

## Input

```json
{
  "subreddits": [
    "wallstreetbets"
  ],
  "sort": "top",
  "time": "week",
  "maxItems": 50,
  "includeComments": false,
  "maxCommentsPerPost": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "type": {
    "label": "Type"
  },
  "title": {
    "label": "Title"
  },
  "body": {
    "label": "Text"
  },
  "author": {
    "label": "Author"
  },
  "score": {
    "label": "Score",
    "format": "number"
  },
  "numComments": {
    "label": "Comments",
    "format": "number"
  },
  "createdAt": {
    "label": "Posted",
    "format": "date"
  },
  "flair": {
    "label": "Flair"
  },
  "url": {
    "label": "URL",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Reddit Subreddit Scraper Actor is ready to run with the inputs already set for "Top r/wallstreetbets posts this week". [Sign up or log in](https://console.apify.com/create-task-from-example/8Is9xeNyHVDU3TL5n) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Top r/wallstreetbets posts this week" task

The Reddit Subreddit Scraper Actor will start running based on the input automatically. You can also change all the input fields, like subreddits, sort by, and more, to match your specific use case.

### 3. Receive the "Top r/wallstreetbets posts this week" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as type, title, text, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Top r/wallstreetbets posts this week" task via API](https://apify.com/piotrv1001/reddit-subreddit-scraper.md).

## FAQ

### What does the r/wallstreetbets top posts task export?

The r/wallstreetbets top posts task exports each post's title, author, score, upvote ratio, comment count, flair, post type, text, link, images, creation date and post URL.

### Can I get top posts for today, this month or all time?

The r/wallstreetbets top posts task uses the week time range. Change it to hour, day, month, year or all, or switch the sort to hot, new, rising or controversial.

### Can I scrape r/stocks or r/investing too?

The r/wallstreetbets top posts task takes a list of subreddits. Add stocks, investing or options next to wallstreetbets and each one returns up to 50 posts.

### Can I include comments for sentiment analysis?

The r/wallstreetbets top posts task saves posts only. Turn on include comments to add comments to each post, up to a per-post limit; comments are billed as their own event, listed on the Pricing tab.

### Why is a pinned discussion thread in the results?

The r/wallstreetbets top posts task keeps pinned posts such as the weekend discussion thread and marks them with a pinned flag, so you can filter them out when ranking posts by score.

### How is the r/wallstreetbets top posts task billed?

The r/wallstreetbets top posts task is billed per post saved, plus a tiny start fee per run. Lower maxItems, set to 50 per subreddit, to cap the cost; current rates are on the Actor's Pricing tab.

## About this Actor

This example demonstrates how to use [Reddit Subreddit Scraper](https://apify.com/piotrv1001/reddit-subreddit-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/piotrv1001/reddit-subreddit-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/piotrv1001/reddit-subreddit-scraper.md

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`).
