# Scrape Reddit posts from a subreddit

**Use case:** 

Export Reddit posts from any subreddit with title, author, score, comments and links. No Reddit account or API key required.

## Input

```json
{
  "subreddits": [
    "science"
  ],
  "postUrls": [],
  "usernames": [],
  "searchQueries": [],
  "sort": "hot",
  "time": "day",
  "maxItemsPerSource": 50,
  "includeComments": false,
  "concurrency": 5,
  "proxyConfig": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "type": {
    "label": "Type"
  },
  "subreddit": {
    "label": "Subreddit"
  },
  "title": {
    "label": "Title"
  },
  "author": {
    "label": "Author"
  },
  "score": {
    "label": "Score"
  },
  "numComments": {
    "label": "Num comments"
  },
  "createdAt": {
    "label": "Created at"
  },
  "url": {
    "label": "Url"
  },
  "permalink": {
    "label": "Permalink"
  },
  "selftext": {
    "label": "Selftext"
  }
}
```

## About this Actor

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