# Search Posts Inside One Specific Subreddit

**Use case:** 

Search a single subreddit by keyword and export the top matches: title, body, author, score, comment count and permalink. CSV, JSON or Excel.

## Input

```json
{
  "search": "index funds",
  "subreddit": "investing",
  "timeFilter": "year",
  "sortType": "top",
  "limit": 25
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "text"
  },
  "text": {
    "label": "Body",
    "format": "text"
  },
  "author": {
    "label": "Author",
    "format": "text"
  },
  "subreddit": {
    "label": "Subreddit",
    "format": "text"
  },
  "score": {
    "label": "Score",
    "format": "number"
  },
  "num_comments": {
    "label": "Comments",
    "format": "number"
  },
  "created_utc": {
    "label": "Created (UTC)",
    "format": "number"
  },
  "permalink": {
    "label": "Permalink",
    "format": "link"
  },
  "url": {
    "label": "URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Reddit Keyword Search Scraper – Find Posts Across Reddit](https://apify.com/endspec/reddit-instant-search-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/endspec/reddit-instant-search-scraper) to learn more, explore other use cases, and run it yourself.