# JobsDB Scraper (`crawlerbros/jobsdb-scraper`) Actor

Scrape live job listings from JobsDB (Hong Kong & Thailand) - search by keyword, browse by category or location, or pull the newest postings. Salary, work-type, date-range and sort filters included.

- **URL**: https://apify.com/crawlerbros/jobsdb-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Jobs, Automation, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## JobsDB Scraper

Scrape live job listings from **JobsDB** — the leading job board across Hong Kong and Thailand. Search by keyword, browse by category, location, or company, or pull the newest postings site-wide. Salary, work-type, work-arrangement, date-posted, and sort filters included. No login, no cookies, no API key required.

### What this actor does

- **Six modes:** `searchJobs`, `browseByCategory`, `browseByLocation`, `browseByCompany`, `latestJobs`, `byJobId`
- **Two markets:** Hong Kong (`hk.jobsdb.com`) and Thailand (`th.jobsdb.com`)
- **Filters:** category (29 industries, multi-select), work type (multi-select), work arrangement (on-site/hybrid/remote, multi-select), company/advertiser ID (multiple, comma-separated), salary range + period, date posted, sort order
- **Rich fields:** title, teaser, highlights, company, category, location, salary, work type, work arrangement, posting date, company logo, direct apply link
- **Empty fields are omitted** — every record only contains data that was actually found

### Output per job

- `jobId` — unique JobsDB listing ID
- `title`, `teaser`, `bulletPoints[]` — job highlights
- `companyName`, `companyUrl`, `logoUrl`
- `employerId`, `companyId`, `advertiserId` — internal JobsDB identifiers for the employer/advertiser account (feed `advertiserId` back into `mode=browseByCompany` to pull every current listing from that employer; `companyId` is the ID embedded in `companyUrl`)
- `category`, `categoryId`, `subCategory`, `subCategoryId`
- `location`, `locations[]`, `countryCode`
- `workTypes[]` — e.g. `Full time`, `Part time`, `Contract/Temp`, `Casual/Vacation`
- `workArrangements[]` — e.g. `On-site`, `Hybrid`, `Remote`
- `salaryLabel` — as displayed on the listing (when the advertiser disclosed one)
- `salaryMinValue`, `salaryMaxValue`, `salaryPeriod` (`hourly`/`monthly`/`annual`), `salaryCurrency` (`HKD`/`THB`) — structured numbers parsed from `salaryLabel` when it's a clear numeric range (omitted for non-numeric labels like `Negotiable` or `Competitive`)
- `listingDate`, `listingDateDisplay`
- `isFeatured`
- `tags[]` — urgency/status badges shown on the listing, e.g. `Urgently hiring`, `Expiring soon`, `Be an early applicant`
- `roleId`
- `country` — market the job was scraped from
- `jobUrl` — link to the live listing
- `recordType: "job"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `searchJobs` | `searchJobs` / `browseByCategory` / `browseByLocation` / `browseByCompany` / `latestJobs` / `byJobId` |
| `country` | string | `HK` | `HK` (Hong Kong) or `TH` (Thailand) |
| `keywords` | string | `engineer` | Job title / skill / company keyword |
| `location` | string | – | Area/city, e.g. `Central`, `Kowloon`, `Bangkok` (required for `browseByLocation`) |
| `classification` | array | – | One or more job category IDs (required for `browseByCategory`) — 29 categories available in the UI multi-select; picking several matches ANY of them |
| `subclassification` | string | – | One or more numeric sub-category IDs, comma-separated, to narrow `classification` further, e.g. `6038` = Project Engineering under Engineering — find one via the `subCategoryId` output field on any scraped job |
| `workType` | array | – | Multi-select: `242` Full time / `243` Part time / `244` Contract/Temp / `245` Casual/Vacation |
| `workArrangement` | array | – | Multi-select: `1` On-site / `2` Hybrid / `3` Remote |
| `advertiserId` | string | – | One or more numeric JobsDB company/advertiser IDs, comma-separated (required for `browseByCompany`) — find one via the `advertiserId` output field on any scraped job |
| `jobId` | string | – | One or more numeric JobsDB job IDs, comma-separated or as an array (required for `byJobId`) — find one via the `jobId` output field on any previously scraped job |
| `salaryMin` | int | – | Minimum salary |
| `salaryMax` | int | – | Maximum salary |
| `salaryType` | string | `annual` | `annual` / `monthly` / `hourly` — period `salaryMin`/`salaryMax` are expressed in |
| `dateRange` | string | – | Only jobs posted in the last `1`/`3`/`7`/`14`/`31` days |
| `sortMode` | string | `KeywordRelevance` | `KeywordRelevance` or `ListedDate` (newest first) |
| `maxItems` | int | `50` | Hard cap on emitted records (1–1000) |

#### Example: search with filters

```json
{
  "mode": "searchJobs",
  "country": "HK",
  "keywords": "data analyst",
  "workType": ["242"],
  "salaryMin": 20000,
  "salaryMax": 40000,
  "salaryType": "monthly",
  "dateRange": "7",
  "sortMode": "ListedDate",
  "maxItems": 50
}
```

#### Example: browse a category

```json
{
  "mode": "browseByCategory",
  "country": "TH",
  "classification": ["6281"],
  "maxItems": 100
}
```

#### Example: newest jobs in a location

```json
{
  "mode": "browseByLocation",
  "country": "HK",
  "location": "Kowloon",
  "maxItems": 50
}
```

#### Example: all current listings from one company

```json
{
  "mode": "browseByCompany",
  "country": "HK",
  "advertiserId": "61282529",
  "maxItems": 50
}
```

#### Example: remote jobs only

```json
{
  "mode": "searchJobs",
  "country": "HK",
  "keywords": "developer",
  "workArrangement": ["3"],
  "maxItems": 50
}
```

#### Example: multiple categories and work types at once

```json
{
  "mode": "searchJobs",
  "country": "HK",
  "keywords": "manager",
  "classification": ["1209", "1200"],
  "workType": ["242", "243"],
  "workArrangement": ["1", "3"],
  "maxItems": 100
}
```

#### Example: look up specific jobs by ID

```json
{
  "mode": "byJobId",
  "country": "HK",
  "jobId": "93889825,93902058"
}
```

### Use cases

- **Job seekers & career sites** — aggregate fresh listings by role, category, location, or remote/hybrid arrangement
- **Recruiters & staffing agencies** — monitor competitor job postings and market salary ranges
- **Labor market research** — track hiring demand across categories and regions in HK/TH
- **HR tech / salary benchmarking tools** — collect posted salary ranges by role and market
- **Lead generation** — find companies actively hiring in a given industry
- **Competitor/company tracking** — pull every current listing from a specific employer with `mode=browseByCompany`

### FAQ

**What's JobsDB?** A leading job board across Hong Kong and Thailand, part of the SEEK employment network. See [jobsdb.com](https://hk.jobsdb.com).

**Do I need to log in or provide cookies?** No. This actor uses JobsDB's public job-search endpoint — no account, API key, or proxy required.

**Why is `salaryLabel` missing on some jobs?** Not every advertiser discloses a salary. The field is only included when JobsDB displays one.

**Why is `salaryMinValue`/`salaryMaxValue` missing even though `salaryLabel` is present?** A handful of advertisers enter free text instead of a number (e.g. `Negotiable`, `Competitive`, `Attractive Salary Package`). The structured fields are only added when `salaryLabel` is confidently a numeric amount or range — never a guessed value.

**What's the difference between `category` and `subCategory`?** JobsDB classifies each job into a broad category (e.g. `Information & Communication Technology`) and a more specific sub-category (e.g. `Developers/Programmers`).

**How fresh is the data?** Real-time — every run queries JobsDB's live search API directly.

**Why does `jobUrl` sometimes fail a `curl`/HEAD check?** JobsDB's listing pages sit behind bot-detection that blocks non-browser HTTP clients (no cookies, no JS) while allowing real browsers through normally. The URLs themselves are valid, live links — opening them in a browser works fine. `companyUrl` and `logoUrl` are not behind this protection and are directly fetchable.

**Can I use Thai-script place names for `location` in Thailand?** Yes. `location: "กรุงเทพ"` and `location: "Bangkok"` both work for `country: "TH"` — the actor automatically detects Thai-script input and queries JobsDB's Thai-language endpoint so the place name resolves correctly. `category`, `workTypes`, and `workArrangements` are always normalized back to English in the output either way, so filtering/grouping by those fields stays consistent regardless of which locale a record was fetched under. `teaser`, `bulletPoints`, and `subCategory` remain in whatever language the advertiser/JobsDB used (Thai for Thai-script location lookups), since those are free text with no fixed English translation to fall back to.

**Which markets are supported?** Hong Kong and Thailand, JobsDB's two active markets. Other former JobsDB markets (Singapore, Indonesia, Philippines) have migrated to the sister JobStreet/Jora brands and are out of scope for this actor.

**How do I get an `advertiserId` to use with `mode=browseByCompany`?** Run any other mode first and copy the `advertiserId` field from a job posted by the company you're interested in, then feed it back in as input.

**How do I use `subclassification`?** It narrows a `classification` down to a specific sub-category (e.g. only `Developers/Programmers` inside `Information & Communication Technology`). Copy a value from the `subCategoryId` output field on a job you've already scraped in the category you want, then pass it as input on a later run.

**Can I filter by more than one category, work type, or work arrangement at once?** Yes. `classification` and `workType` and `workArrangement` are multi-select — pick as many as you want and a job matching ANY of your selections is returned. `subclassification` and `advertiserId` accept multiple comma-separated IDs the same way, e.g. `advertiserId: "61282529,61359613"` pulls current listings from both companies in one run.

**How do I re-fetch a specific job I already scraped?** Use `mode: "byJobId"` with the `jobId` value(s) from a previous run's output — comma-separated for multiple, e.g. `jobId: "93889825,93902058"`. Useful for refreshing a saved shortlist or checking whether a listing is still live.

# Actor input Schema

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

What to fetch.

## `country` (type: `string`):

Which JobsDB market to scrape.

## `keywords` (type: `string`):

Job title, skill, or company to search for (mode=searchJobs). Also works as an optional refinement in browseByCategory / browseByLocation.

## `location` (type: `string`):

Free-text location/area to browse or filter by, e.g. `Central`, `Kowloon`, `Bangkok`. Required for mode=browseByLocation.

## `classification` (type: `array`):

Job categor(y/ies). Pick one or more (OR match) — required for mode=browseByCategory; optional filter for other modes. Leave empty for any category.

## `subclassification` (type: `string`):

One or more numeric JobsDB sub-category IDs (comma-separated for OR match) to narrow a `classification` further (e.g. `6038` = Project Engineering under Engineering). Get valid IDs from the `subCategoryId` field on a previously scraped job. Optional filter for any mode.

## `workType` (type: `array`):

Filter by employment type. Pick one or more (OR match). Leave empty for any work type.

## `workArrangement` (type: `array`):

Filter by on-site/hybrid/remote work arrangement. Pick one or more (OR match). Leave empty for any arrangement.

## `advertiserId` (type: `string`):

One or more numeric JobsDB advertiser IDs (comma-separated for OR match) to browse all current listings from one or more employers/agencies. Required for mode=browseByCompany; get an ID from the `advertiserId` field on any previously scraped job. Also works as an optional filter in other modes.

## `jobId` (type: `string`):

One or more numeric JobsDB job IDs (comma-separated, or pass an array) to look up specific listings directly. Required for mode=byJobId; get an ID from the `jobId` field on any previously scraped job. Ignored in other modes.

## `salaryMin` (type: `integer`):

Minimum salary (in the local currency, per `salaryType` period). Leave unset for no lower bound.

## `salaryMax` (type: `integer`):

Maximum salary (in the local currency, per `salaryType` period). Leave unset for no upper bound.

## `salaryType` (type: `string`):

Period the salary min/max values are expressed in.

## `dateRange` (type: `string`):

Only include jobs posted within this window.

## `sortMode` (type: `string`):

Result ordering.

## `maxItems` (type: `integer`):

Hard cap on emitted records.

## Actor input object example

```json
{
  "mode": "searchJobs",
  "country": "HK",
  "keywords": "engineer",
  "location": "",
  "classification": [],
  "subclassification": "",
  "workType": [],
  "workArrangement": [],
  "advertiserId": "",
  "jobId": "",
  "salaryType": "annual",
  "dateRange": "",
  "sortMode": "KeywordRelevance",
  "maxItems": 50
}
```

# Actor output Schema

## `jobs` (type: `string`):

Dataset containing all scraped JobsDB job listings.

# 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 = {
    "mode": "searchJobs",
    "country": "HK",
    "keywords": "engineer",
    "location": "",
    "classification": [],
    "subclassification": "",
    "workType": [],
    "workArrangement": [],
    "advertiserId": "",
    "jobId": "",
    "salaryType": "annual",
    "dateRange": "",
    "sortMode": "KeywordRelevance",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/jobsdb-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 = {
    "mode": "searchJobs",
    "country": "HK",
    "keywords": "engineer",
    "location": "",
    "classification": [],
    "subclassification": "",
    "workType": [],
    "workArrangement": [],
    "advertiserId": "",
    "jobId": "",
    "salaryType": "annual",
    "dateRange": "",
    "sortMode": "KeywordRelevance",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/jobsdb-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 '{
  "mode": "searchJobs",
  "country": "HK",
  "keywords": "engineer",
  "location": "",
  "classification": [],
  "subclassification": "",
  "workType": [],
  "workArrangement": [],
  "advertiserId": "",
  "jobId": "",
  "salaryType": "annual",
  "dateRange": "",
  "sortMode": "KeywordRelevance",
  "maxItems": 50
}' |
apify call crawlerbros/jobsdb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlerbros/jobsdb-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/5IWDSyV28x5ChOhWZ/builds/WpLSatFeacuWfkel7/openapi.json
