# Reddit Trending Posts Scraper

**Use case:** 

Find top and trending Reddit posts on any topic by time range: title, community, upvotes, upvote ratio and comment count. Spot what's hot fast.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.reddit.com/r/pasta/comments/vwi6jx/pasta_peperoni_and_ricotta_cheese_how_to_make/"
    }
  ],
  "searches": [
    "crypto"
  ],
  "searchTypes": [
    "posts"
  ],
  "sort": "top",
  "time": "week",
  "includeNSFW": true,
  "includeComments": true,
  "maxItems": 100,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "string"
  },
  "communityName": {
    "label": "Community",
    "format": "string"
  },
  "username": {
    "label": "Author",
    "format": "string"
  },
  "upVotes": {
    "label": "Upvotes",
    "format": "integer"
  },
  "upVoteRatio": {
    "label": "Ratio",
    "format": "number"
  },
  "numberOfComments": {
    "label": "Comments",
    "format": "integer"
  },
  "flair": {
    "label": "Flair",
    "format": "string"
  },
  "createdAt": {
    "label": "Created",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  }
}
```

## About this Actor

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