ParseForge Scrapers

Discourse Forum Topics Scraper

parseforge/discourse-forum-topics-scraper

Social mediaNews & media

Scrapes topic listings from public Discourse forums. Returns each topic's title, author, reply count, views, and timestamps as a flat row, filtered by category and sort order.

Run this scraper See the API call
Total users
2
Monthly active
1
Total runs
94
Bookmarked
0
Rating
Not rated yet
Last modified
12 days ago

Overview

ParseForge

Discourse Forum Topics Scraper

Scrape topics from any public Discourse forum, up to a million per run. Collect titles, authors, reply counts, and timestamps from the latest, top, new, or unread feeds. No API key required. Export to CSV, JSON, Excel, or XML.

Discourse forums power thousands of community sites, but pulling topic lists for analysis usually means manual browsing or writing custom API scripts. This Actor reads the public topic feeds directly from any Discourse instance. You get a clean, structured dataset of discussions, filtered by category and sorted by activity, ready for your reports.

Who uses it What they scrape Discourse for
Community managers Monitor which discussions are trending across their Discourse forum each day.
Market researchers Track conversation themes and product mentions within niche community forums.
Data analysts Build a time-series dataset of topic activity to measure community health.
Competitive intelligence teams Watch competitor community forums for feature requests and user pain points.

What it does

This Actor collects topic listings from a public Discourse forum's latest, top, new, or unread feeds and returns each topic as a flat row.

  • ๐Ÿ“‹ Flexible feeds: scrape from the latest, top, new, or unread topic lists with one setting.
  • ๐Ÿท๏ธ Category filter: narrow the scrape to a single category by providing its URL slug.
  • ๐Ÿ“Š Structured output: every row includes the topic title, author, reply count, views, and timestamps.
  • โš™๏ธ Volume control: set a hard limit from 1 to 1,000,000 topics per run to match your needs.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Discourse data

๐Ÿ“ˆ Monitor community engagement.

A community manager scrapes the top weekly topics from their forum to report on active threads and member participation to stakeholders.

๐Ÿ” Research niche discussions.

A market analyst scrapes a specific product category on a public forum to identify common user questions and sentiment trends.

๐Ÿ“… Archive topic history.

A data engineer runs a daily scrape of the latest topics to build a searchable archive of community knowledge over time.

๐Ÿ›ก๏ธ Track competitor forums.

A product manager scrapes a competitor's feedback category to spot feature gaps and recurring complaints.

Why choose this scraper

What you get
No API setup Reads the same public feeds a browser sees, so you skip app registration and OAuth.
Any Discourse site Works on thousands of forums, from company support sites to open-source communities.
Fixed schema Every run returns the same fields, making it safe for automated pipelines and dashboards.

How it compares

No other Store actor targets Discourse the same way, so the honest comparison is with the alternatives teams actually weigh.

Discourse Forum Topics Scraper Build it in-house By hand
Setup Run it now, zero config Days of engineering None, but hours per pull
When Discourse changes Maintained for you You fix it You re-learn the page
Proxies, retries, anti-bot Built in Your problem Browser only
Output Fixed JSON schema, CSV/Excel export Whatever you build Copy-paste
Cost Pay per result Engineering time Analyst hours

Configure the run

Drive the Actor with a forum base URL and an optional category slug, and set the sort order to target the most relevant discussions. The Input tab lists every parameter.

A first run with the defaults:

{
  "forumUrl": "https://meta.discourse.org",
  "maxItems": 10
}

A larger pull:

{
  "forumUrl": "https://meta.discourse.org",
  "maxItems": 200
}

Pricing

Pay-per-result: $0.021 per result collected. You pay only for the results written to your dataset.

Results collected Approximate cost
100 results $2.10
1,000 results $21.00
10,000 results $210.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Discourse Forum Topics Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Discourse through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/discourse-forum-topics-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

The Actor returns zero results even though I can see topics on the forum.

Check that the forum URL is correct and does not include a trailing slash or a path to a specific topic. Also verify that the category slug, if provided, matches exactly what appears in the forum's URL.

I get an error that the page could not be loaded.

The forum might be blocking automated access, or the URL might be incorrect. Confirm the forum is publicly accessible by opening it in a private browser window. If it uses Cloudflare or similar protection, the Actor may not be able to access it.

The data has fewer topics than I requested in 'Maximum topics'.

The Actor can only return topics that exist in the selected feed. If the forum has fewer topics than your max setting, you will get all available topics. Try switching the sort order to 'latest' or removing the category filter to capture more.

The category filter is not working.

Ensure you are using the category slug, not the full category name. The slug is the lowercase, hyphenated version found in the URL. For example, use 'feature-requests' instead of 'Feature Requests'.

The run times out before collecting all topics.

Lower the 'Maximum topics' value and run the Actor in smaller batches. You can also increase the run timeout in the Actor's advanced settings if you are on a paid Apify plan.

FAQ

Question Answer
Do I need an API key or login to scrape a Discourse forum? No. This Actor reads the public topic listing pages that are visible to anyone visiting the forum in a browser. If the forum is public, you can scrape it without authentication.
Can I scrape private or hidden Discourse categories? No. The Actor can only access categories that are publicly visible without a login. Private groups and restricted categories are not available.
How do I find the category slug for a specific forum section? Navigate to the category page on the forum and look at the URL. The slug is the last part of the path, for example 'support' in https://meta.discourse.org/c/support/.
What is the difference between the 'latest', 'top', 'new', and 'unread' sort options? These correspond to the standard Discourse topic list filters. 'Latest' shows recently active topics, 'top' shows the highest-scoring topics, 'new' shows newly created topics, and 'unread' shows topics with unread posts for a logged-in user.
Does this Actor scrape the full body text of each post inside a topic? No. This Actor scrapes the topic listing page, which gives you the topic title, author, reply count, views, and timestamps. It does not enter each topic to extract the full post content.
Can I scrape multiple categories in a single run? The input accepts a single category slug per run. To scrape multiple categories, run the Actor multiple times with different category slugs, or leave the slug empty to scrape all public categories together.
What format is the exported data in? You can export your results in CSV, JSON, Excel, or XML formats directly from the Apify dataset tab.
Is there a rate limit I should worry about? The Actor runs at a reasonable speed to avoid overwhelming smaller forums. If you need to scrape a very large forum quickly, you can adjust the max items setting and run it in batches.
Will this work with any site that uses Discourse? It works with standard Discourse instances that expose the default topic list endpoints. Heavily customized themes or very old Discourse versions might have a different HTML structure, but the vast majority of forums are supported.
How do I get the full URL of my Discourse forum? Use the base URL you see in your browser's address bar when you visit the forum's homepage, for example https://community.example.com. Do not include a trailing slash or a path to a specific topic.

Related actors

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Civilized Discourse Construction Kit, Inc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

Input

FieldTypeWhat it doesDefault
forumUrl string Base URL of the Discourse forum. https://meta.discourse.org
maxItems integer How many forum topics to collect per run. 10
sort string (4 options) Discourse listing endpoint to query. latest
categorySlug string Optional category slug. not set

Pricing

from $19.00 per 1,000 results

Charged forWhat it isPrice each
result Single result in the default dataset. $0.019 to $0.021

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

API

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST ยท run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~discourse-forum-topics-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "helloWorld": 123
  }'

Examples

Input that runs as-is.

input.json
{
  "helloWorld": 123
}

Reviews

No reviews yet. Be the first.

Issues

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

Related scrapers

Run Discourse Forum Topics Scraper on Apify All scrapers