# HardwareZone Forum Scraper — Threads, Posts & Boards (SG) (`teodor_banea/hardwarezone-forum-scraper`) Actor

Scrape HardwareZone Forums (Singapore): threads of any board or category with exact reply counts, every post of chosen threads with quotes, reactions, images and links, the full board tree, and site-wide recent posts. Only-new mode for scheduled runs.

- **URL**: https://apify.com/teodor_banea/hardwarezone-forum-scraper.md
- **Developed by:** [Banea Teodor](https://apify.com/teodor_banea) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.80 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## HardwareZone Forum Scraper — Threads, Posts & Boards (SG)

### What does HardwareZone Forum Scraper do?

HardwareZone Forum Scraper extracts data from the [HardwareZone Forums](https://forums.hardwarezone.com.sg), Singapore's largest discussion forum: about **877,000 threads and 38 million posts**, from tech and cars to money, property, jobs and the famous Eat-Drink-Man-Woman (EDMW) board. Pick one of four modes:

- **Threads of boards**: the thread list of any boards or whole categories, newest threads or latest activity first. Each row has the title, board, category, starter, start and last-post dates, reply and view counts, pages, sticky and locked flags, and optionally the full opening post with the exact reply count.
- **Posts of threads**: every post of the threads you choose, newest or oldest first. Each row has the author's handle, rank and staff flag, the date, the post's own text and the full text with quotes, the quoted posts and members, images, links, embedded videos and tweets, reactions and the edit date.
- **Board tree**: all boards and sub-forums with their category, parent, thread and message counts and latest post.
- **Recent posts (site-wide)**: the newest posts of the most recently active threads across the whole forum (the last 24 hours by default).

Pages are read as a guest. No login, no browser, no API key.

### Why use this Actor?

- **Exact numbers, not "2K".** Reply, view, thread and message counts are integers, and an `…Approximate` flag tells you when the site rounded them (it rounds from 1,000). With *Include first post* the reply count is exact for every thread.
- **Clean post text.** Each post comes as plain text with line breaks and without the quoted posts (`text`), and with quotes as `> name said:` lines (`fullText`). Smilies stay as their `:code:` shortcode (`:LOL:`), emoji stay emoji. Quoted post ids and members, images, links and media embeds (YouTube, X/Twitter, Instagram, Imgur, Facebook, TikTok) are separate lists. With *Include first post*, thread rows also list the opening post's images, links and embeds — many openers are just a video or a picture.
- **The forum's structure.** Board and category names and ids on every row, plus a board-tree mode with all 100 boards and sub-forums.
- **Complete listings.** "Newest threads" walks a board strictly by start date, so a date filter or a scheduled run stops at exactly the right place. A board's rows match the thread count the board shows.
- **Built for monitoring.** Date filters stop reading exactly at the date you set, so scheduled runs fetch only the latest part of each board or thread — for daily brand, topic or sentiment feeds.
- **Polite and reliable.** At most 2 page loads per second, automatic retries, and every problem listed in a separate `ERRORS` record.

### How much does it cost?

You pay **$0.005 per run** plus **$1.50 per 1,000 rows** (threads, posts or boards). Platform usage and proxy are included.

| Run | Rows | Cost |
|---|---|---|
| 40 newest EDMW threads (the prefilled input) | 40 | $0.065 |
| Board tree (all boards and sub-forums) | 100 | $0.155 |
| 1,000 newest threads of a board, with first post | 1,000 | $1.505 |
| Every post of a 3,000-post thread | 3,000 | $4.505 |
| Recent posts of the 50 most active threads (last 24 h) | ~1,000–3,000 | ~$1.50–4.50 |
| Daily feed of 3 boards (`startedAfter: "1 day"`) | ~100–500 per day | ~$0.16–0.76 |

### Input

| Field | Description | Example |
|---|---|---|
| `mode` | `threads` (default), `posts`, `boards` or `recentActivity` | `"threads"` |
| `boardUrls` | Threads mode: board URLs, category URLs (all boards and sub-forums of the category) or board ids | `["https://forums.hardwarezone.com.sg/forums/eat-drink-man-woman.16/", "16"]` |
| `sort` | Threads mode: `newest` (by start date, default) or `latestActivity` (by last reply) | `"newest"` |
| `startedAfter` | Threads mode: threads started on or after a date (Singapore time) or within a period. Each board stops being read at that date. A future date is rejected | `"2026-10-01"`, `"7 days"` |
| `maxThreadsPerBoard` | Threads mode: threads per board, 0 = all | `100` |
| `includeFirstPost` | Threads mode: open each thread for the opening post, its id and the exact reply count (one more page load per thread) | `true` |
| `includeStickies` | Threads mode: also deliver the threads pinned at the top of each board (often years old; they count toward the limits). Off by default | `true` |
| `threadUrls` | Posts mode: thread URLs (any page), short thread URLs, post URLs (the whole thread of that post) or thread ids | `["https://forums.hardwarezone.com.sg/threads/7227366/", "7011311"]` |
| `newestFirst` | Posts mode: read threads from the last page backwards (default) or from the first post | `true` |
| `maxPostsPerThread` | Posts and recent modes: posts per thread, 0 = all | `50` |
| `postedAfter` | Posts and recent modes: posts made on or after a date (Singapore time) or within a period. Recent mode default: 24 hours. A future date is rejected | `"12 hours"` |
| `maxThreads` | Recent mode: how many of the most recently active threads to read (up to 200) | `50` |
| `maxResults` | Rows in total. 0 = all (capped at 10,000 without a date or per-board / per-thread limit) | `200` |

```json
{
    "mode": "threads",
    "boardUrls": [
        "https://forums.hardwarezone.com.sg/forums/eat-drink-man-woman.16/",
        "https://forums.hardwarezone.com.sg/categories/lifestyle.15/"
    ],
    "sort": "newest",
    "startedAfter": "3 days",
    "includeFirstPost": true,
    "maxResults": 500
}
```

### Output

One dataset per run with one row shape: thread rows, post rows or board rows. Every row has every field of its shape; missing values are `null` (or `[]` for lists), never left out. Dates are ISO 8601 in UTC. Member handles below are fictitious.

**Thread row** (`mode: threads`, with *Include first post*):

```json
{
    "threadId": 7227366,
    "threadUrl": "https://forums.hardwarezone.com.sg/threads/is-wearing-surgical-mask-useful-against-the-haze.7227366/",
    "title": "Is wearing surgical mask useful against the Haze?",
    "boardId": 16,
    "boardName": "Eat-Drink-Man-Woman",
    "boardUrl": "https://forums.hardwarezone.com.sg/forums/eat-drink-man-woman.16/",
    "categoryName": "Lifestyle",
    "starterName": "member_example",
    "starterId": 900001,
    "startedAt": "2026-10-14T09:44:42.000Z",
    "lastPostAt": "2026-10-21T12:17:14.000Z",
    "lastPosterName": "member_example2",
    "replyCount": 141,
    "replyCountApproximate": false,
    "viewCount": 11000,
    "viewCountApproximate": true,
    "pageCount": 8,
    "isSticky": false,
    "isLocked": false,
    "firstPostReactionScore": 1,
    "firstPostId": 160049774,
    "firstPostText": "Better than nothing?\nOr it makes thing waste in this haze situation?\n\nDie die need n95 boh",
    "firstPostImageUrls": [],
    "firstPostLinkUrls": [],
    "firstPostEmbedUrls": [],
    "scrapedAt": "2026-10-22T15:00:00.000Z"
}
```

**Post row** (`mode: posts` or `recentActivity`):

```json
{
    "postId": 160096239,
    "postUrl": "https://forums.hardwarezone.com.sg/threads/read-olevel-grpchat-the-parents-keep-saying-their-kids-say-paper-difficult-some-kids-cried-after-that.7228604/post-160096239",
    "threadId": 7228604,
    "threadUrl": "https://forums.hardwarezone.com.sg/threads/read-olevel-grpchat-the-parents-keep-saying-their-kids-say-paper-difficult-some-kids-cried-after-that.7228604/",
    "threadTitle": "Read O'level grpchat, the parents keep saying their kids say paper difficult, some kids cried after that",
    "boardId": 16,
    "boardName": "Eat-Drink-Man-Woman",
    "postNumber": 19,
    "pageNumber": 1,
    "isFirstPost": false,
    "isAgeRestricted": false,
    "authorName": "member_example",
    "authorId": 900002,
    "authorRank": "Arch-Supremacy Member",
    "authorIsStaff": false,
    "authorMessageCount": 13166,
    "authorReactionScore": 9121,
    "postedAt": "2026-10-22T10:08:57.000Z",
    "editedAt": null,
    "text": "Ya, it's good to learn how to handle setbacks n that things don't always go our way.",
    "fullText": "> member_example3 said:\n> Good time to experience set back and learn to climb back up\n\nYa, it's good to learn how to handle setbacks n that things don't always go our way.",
    "quoteCount": 1,
    "quotedPostIds": [160096165],
    "quotedAuthors": ["member_example3"],
    "imageUrls": [],
    "linkUrls": [],
    "embedUrls": [],
    "reactionCount": 2,
    "reactionTypes": ["Like"],
    "scrapedAt": "2026-10-22T15:00:00.000Z"
}
```

**Board row** (`mode: boards`):

```json
{
    "boardId": 16,
    "boardName": "Eat-Drink-Man-Woman",
    "boardUrl": "https://forums.hardwarezone.com.sg/forums/eat-drink-man-woman.16/",
    "description": "A hang-out place to relax and chit-chat about almost any happening topic!",
    "categoryId": 15,
    "categoryName": "Lifestyle",
    "parentBoardId": null,
    "parentBoardName": null,
    "depth": 1,
    "threadCount": 644000,
    "messageCount": 25300000,
    "threadCountApproximate": true,
    "messageCountApproximate": true,
    "lastPostAt": "2026-10-22T14:35:11.000Z",
    "lastThreadTitle": "[CONSOLIDATED] El Nino and Haze Discussions",
    "lastThreadUrl": "https://forums.hardwarezone.com.sg/threads/consolidated-el-nino-and-haze-discussions.6117454/",
    "scrapedAt": "2026-10-22T15:00:00.000Z"
}
```

The dataset has three table views: **Threads**, **Posts** and **Boards**. Boards, threads or pages that could not be read are listed in the `ERRORS` record of the run's key-value store.

### What guests can and cannot see

- **Member profiles and attached photos are not visible to guests**, so rows carry the member's handle, numeric id, rank, staff flag, message count and reaction score only (no avatars, no join dates). `imageUrls` holds images embedded from other sites; uploaded attachments are not included.
- **Age-restricted posts.** On some lifestyle boards the site hides certain posts until a member logs in and verifies their age. Those posts come as rows with the author handle and post number, `isAgeRestricted: true`, and `null` text and date. The run's log says how many there were.
- **View counts are approximate** from 1,000 views (the site prints "11K"), and so are board thread and message counts from 1,000 (each count has its own `…Approximate` flag). Reply counts are exact with *Include first post*.

### Tips and tricks

- **Category URLs** are read from the category's own page (all its boards and sub-forums); if that page cannot be read, from the forum's board list. A category that still cannot be read is named in the run's final status and in ERRORS.
- **Complete listing vs sample.** Threads mode with `sort: newest` is a complete listing of a board (newest first, back to its first thread). Posts mode reads every page of a thread. `latestActivity` follows the board's bump order, which changes while the run reads it, so a thread can move between pages. Recent mode is a **sample**: the site's list of recently active threads covers only about the last 7 hours (200 threads).
- **Sticky threads** (pinned announcements, often years old) are skipped unless you turn on `includeStickies`.
- **Latest activity with a date:** with `sort: latestActivity` and `startedAfter`, each board is read until the first thread with no post since the date, and threads started before it are left out. Use `sort: newest` when you need a clean cut by start date.
- **Sub-forums** are boards of their own. Add their URLs, or use the category URL to take every board and sub-forum of a category.
- **Big threads:** megathreads have thousands of pages. Use `postedAfter` or `maxPostsPerThread` to take only the latest part; with either, threads are read newest first and stop at that point.
- **Speed:** the Actor reads at most 2 pages per second (20 threads or 20 posts per page). Measured on the platform: about 450–550 threads a minute from a board listing or posts a minute from a single thread, about 280–400 posts a minute in posts mode with several threads and in recent mode, and about 40–47 threads a minute with *Include first post* (one extra page per thread). For long runs with first posts, raise the run timeout above the default hour (Run options → Timeout). If a run reaches its timeout, it stops about 30 seconds before, keeps every row collected so far and says so in its status.

### Scheduling

The Actor keeps nothing between runs: each run returns its results and leaves no other storage in your account. For a recurring feed, set the date filter to the schedule interval — `startedAfter: "1 day"` (threads) or `postedAfter: "1 day"` (posts and recent posts) for a daily schedule, `"1 hour"` for an hourly one; a little overlap (e.g. `"25 hours"` for a daily run) makes sure nothing falls between two runs. Within a run every thread, post and board is delivered once. Rows from overlapping runs repeat with the same `threadId` / `postId`, so drop repeats by id downstream (Google Sheets, a database upsert, or a dedup step in Make / Zapier).

### Integrations

Export the dataset as JSON, CSV or Excel, or fetch it by API (`/v2/datasets/{id}/items?view=posts`). Connect the Actor to Google Sheets, Zapier, Make, Slack or a webhook from the **Integrations** tab, or schedule it for a daily brand, product or topic feed from Singapore's biggest forum.

### Disclaimer

The threads and posts are published by HardwareZone Forums members. The Actor reads public pages only and keeps member data to the handle, numeric id and forum statistics. Check the site's terms and the data-protection rules that apply to you before reusing the data.

# Changelog

This Actor's version history is a separate document: https://apify.com/teodor_banea/hardwarezone-forum-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

Choose "Threads of boards" for the thread list of boards or categories, "Posts of threads" for every post of the threads you list, "Board tree" for all boards with their thread and message counts, or "Recent posts (site-wide)" for the newest posts of the most recently active threads.

## `boardUrls` (type: `array`):

Enter board URLs (https://forums.hardwarezone.com.sg/forums/eat-drink-man-woman.16/), category URLs (…/categories/lifestyle.15/ — all its boards and sub-forums) or board ids such as 16. A board's sub-forums are separate boards: add them, or use the category URL.

## `sort` (type: `string`):

"Newest threads" lists threads by start date, newest first — a complete, stable listing that stops cleanly at "Started after". "Latest activity" lists threads by their last reply, as the board shows them by default.

## `startedAfter` (type: `string`):

Keep threads started on or after this date (Singapore time), or within a recent period such as "7 days". The board stops being read at that date (with "Latest activity": once threads have no post since the date). A date in the future is rejected.

## `maxThreadsPerBoard` (type: `integer`):

Enter how many threads to take from each board. 0 = all (limited by Maximum results).

## `includeFirstPost` (type: `boolean`):

Open each thread to add the opening post's text and id, the exact reply count (the board list rounds counts from 1,000: "3K") and the category. Adds one page load per thread.

## `includeStickies` (type: `boolean`):

Also deliver the threads pinned at the top of each board (often years old). They count toward the limits. Off: pinned threads are skipped.

## `threadUrls` (type: `array`):

Enter thread URLs (https://forums.hardwarezone.com.sg/threads/<title>.7227366/ — any page), short thread URLs (…/threads/7227366/), post URLs (…/posts/160049774/ — the whole thread of that post) or thread ids.

## `newestFirst` (type: `boolean`):

Read each thread from its last page backwards (newest posts first). Off: from the first post. With "Posted after" threads are always read newest first.

## `maxPostsPerThread` (type: `integer`):

Enter how many posts to take from each thread (the newest ones when reading newest first). 0 = all (limited by Maximum results).

## `postedAfter` (type: `string`):

Keep posts made on or after this date (Singapore time), or within a recent period such as "12 hours". Threads are read newest first and stop at that point. Recent mode without a value: the last 24 hours. A date in the future is rejected.

## `maxThreads` (type: `integer`):

Enter how many of the most recently active threads to read (the site lists up to about 200 — roughly the last 7 hours).

## `maxResults` (type: `integer`):

Enter how many rows to return in total. 0 = all (capped at 10,000 without a date or per-board / per-thread limit).

## Actor input object example

```json
{
  "mode": "threads",
  "boardUrls": [
    "https://forums.hardwarezone.com.sg/forums/eat-drink-man-woman.16/"
  ],
  "sort": "newest",
  "maxThreadsPerBoard": 0,
  "includeFirstPost": false,
  "includeStickies": false,
  "threadUrls": [
    "https://forums.hardwarezone.com.sg/threads/7227366/",
    "7227366"
  ],
  "newestFirst": true,
  "maxPostsPerThread": 0,
  "maxThreads": 50,
  "maxResults": 40
}
```

# Actor output Schema

## `results` (type: `string`):

Every row of the run as JSON.

## `threads` (type: `string`):

Threads: title, board, starter, start and last post dates, replies, views, pages, sticky / locked, first post.

## `posts` (type: `string`):

Posts: thread, number, author, rank, date, text, quotes, reactions, images, links, embeds.

## `boards` (type: `string`):

Boards and sub-forums: category, parent, depth, thread and message counts, last post.

## `resultsCsv` (type: `string`):

The same rows as a CSV download.

## `errors` (type: `string`):

Boards, threads or pages that could not be read. Only present when something went wrong.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "boardUrls": [
        "https://forums.hardwarezone.com.sg/forums/eat-drink-man-woman.16/"
    ],
    "maxResults": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("teodor_banea/hardwarezone-forum-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "boardUrls": ["https://forums.hardwarezone.com.sg/forums/eat-drink-man-woman.16/"],
    "maxResults": 40,
}

# Run the Actor and wait for it to finish
run = client.actor("teodor_banea/hardwarezone-forum-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "boardUrls": [
    "https://forums.hardwarezone.com.sg/forums/eat-drink-man-woman.16/"
  ],
  "maxResults": 40
}' |
apify call teodor_banea/hardwarezone-forum-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,teodor_banea/hardwarezone-forum-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/amKZuJdnACf3GR55k/builds/tXAGJJa0JlpLiSjwJ/openapi.json
