# Discourse API Discussions Scraper

**Use case:** 

Search a public Discourse forum for API discussions and export topic URLs, categories, authors, views, likes, dates, and tags.

## Input

```json
{
  "forumUrl": "https://meta.discourse.org",
  "scrapeMode": "searchTopics",
  "categorySlug": "",
  "searchQuery": "API",
  "maxTopics": 75,
  "includePostContent": false,
  "maxPostsPerTopic": 5,
  "maxRequestRetries": 3
}
```

## Output

```json
{
  "topicId": {
    "label": "Topic ID",
    "format": "number"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "categoryName": {
    "label": "Category",
    "format": "text"
  },
  "postsCount": {
    "label": "Posts",
    "format": "number"
  },
  "views": {
    "label": "Views",
    "format": "number"
  },
  "likeCount": {
    "label": "Likes",
    "format": "number"
  },
  "createdAt": {
    "label": "Created",
    "format": "date"
  },
  "authorUsername": {
    "label": "Author",
    "format": "text"
  },
  "tags": {
    "label": "Tags",
    "format": "text"
  }
}
```

## About this Actor

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