# JobsDB Scraper — Thailand & Hong Kong Jobs (`verybananadata/jobsdb-scraper`) Actor

Scrape JobsDB job listings from Thailand and Hong Kong. Returns 38 fields per job including the full description and parsed salary. Incremental mode returns only new, updated or expired listings with no speed penalty.

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 job listings from **JobsDB** — **Thailand** and **Hong Kong**.

Returns **38 structured fields per job**, including the **full job description**, parsed salary range, classification and work arrangement. No login, no cookies, no browser automation.

### Why this scraper

| | This Actor |
|---|---|
| **Speed** | 100 jobs with full descriptions in ~10 seconds |
| **Descriptions** | Included by default — not a paid extra that slows the run |
| **Incremental mode** | Returns only new / updated / expired jobs, with no speed penalty |
| **Coverage** | Both JobsDB sites (TH, HK) from a single input |
| **Output** | 38 fields, consistent camelCase naming |

It reads JobsDB's own JSON endpoints instead of rendering pages in a browser, which is why it stays fast even when descriptions are included.

### Quick start

```json
{
  "keyword": "developer",
  "country": "th",
  "maxResults": 100
}
```

That returns 100 developer jobs in Thailand with full descriptions.

### Incremental mode — pay only for what changed

Running the same search every day usually means paying for the same jobs again. Turn on `incrementalMode` and the Actor compares against the previous run and returns only what actually changed:

```json
{
  "keyword": "developer",
  "country": "th",
  "incrementalMode": true,
  "stateKey": "th-developer-daily"
}
```

Every record carries a `changeType` of `new`, `updated`, `expired` or `unchanged`. When a job is `updated`, `changedFields` tells you exactly what moved — title, salary or description. Unchanged jobs are filtered out unless you set `emitUnchanged`.

This costs no extra time: the comparison runs on data already fetched.

### Input

| Field | Type | Description |
|---|---|---|
| `keyword` | string | Job title or keyword, e.g. `software developer` |
| `country` | string | `th`, `hk`, `sg`, `id`, `my`, `ph` |
| `location` | string | City or region filter, e.g. `Bangkok` |
| `startUrls` | array | Direct JobsDB search URLs |
| `maxResults` | integer | Max jobs to return (0 = unlimited) |
| `maxPages` | integer | Max search pages to crawl |
| `sortBy` | string | `relevance` or `date` |
| `dateRange` | string | Posted within 1 / 3 / 7 / 14 / 30 days |
| `workType` | string | Full time, part time, contract, casual |
| `salaryMin` | integer | Minimum advertised salary |
| `includeDescription` | boolean | Full description text and HTML (default `true`) |
| `incrementalMode` | boolean | Only changed jobs |
| `stateKey` | string | Identifier for incremental comparison |
| `emitUnchanged` | boolean | Also return unchanged jobs |
| `proxyConfiguration` | object | Apify Proxy (required) |

### Output

Each job is one dataset item with 38 fields.

**Identity** — `jobId`, `url`, `applyUrl`, `sourceCountry`
**Core** — `title`, `company`, `companyId`, `companyUrl`, `teaser`, `bulletPoints`
**Location** — `location`, `locationArea`, `locationCountry`
**Classification** — `classification`, `classificationId`, `subClassification`, `subClassificationId`
**Employment** — `workType`, `workArrangement`
**Salary** — `salaryText`, `salaryMin`, `salaryMax`, `salaryCurrency`, `salaryPeriod`
**Dates** — `postedAt`, `postedAtRelative`, `scrapedAt`
**Content** — `description`, `descriptionHtml`, `descriptionLength`
**Change tracking** — `changeType`, `contentHash`, `firstSeenAt`, `lastSeenAt`, `changedFields`
**Meta** — `isFeatured`, `searchQuery`, `resultPosition`

#### Sample output

```json
{
  "jobId": "94083698",
  "url": "https://th.jobsdb.com/job/94083698",
  "title": "Full Stack Developer – AI & Internal Tools",
  "company": "Penzilla",
  "location": "Bangkok",
  "locationCountry": "TH",
  "classification": "Information & Communication Technology",
  "workType": "Full time",
  "workArrangement": "On-site",
  "salaryText": null,
  "postedAt": "2026-08-19T12:30:51Z",
  "description": "About the role\nDevelop and maintain backend systems...",
  "descriptionLength": 1840,
  "changeType": "new",
  "contentHash": "a1b2c3d4e5f60718"
}
```

A note on salary: JobsDB advertisers publish a salary on roughly a third of listings. When absent, `salaryText` is `null` rather than a guess.

### Use it from code

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

const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('verybananadata/jobsdb-scraper').call({
    keyword: 'developer',
    country: 'th',
    maxResults: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("verybananadata/jobsdb-scraper").call(run_input={
    "keyword": "developer",
    "country": "th",
    "maxResults": 100,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["title"], item["company"])
```

### Common uses

- **Recruitment market research** — track which roles and skills are being hired for in Southeast Asia
- **Salary benchmarking** — aggregate `salaryMin` / `salaryMax` by classification and location
- **Competitor hiring signals** — monitor a company via `companyId` to see when it expands a team
- **Job board aggregation** — feed listings into your own board or newsletter
- **Daily monitoring** — incremental mode surfaces only new postings each morning

### Supported countries

| Code | Site |
|---|---|
| `th` | th.jobsdb.com — Thailand |
| `hk` | hk.jobsdb.com — Hong Kong |

JobsDB operates in Thailand and Hong Kong. Its former Singapore site now redirects to Jora,
and Malaysia and the Philippines moved to JobStreet, so those are out of scope for this Actor.

# Actor input Schema

## `keyword` (type: `string`):

Job title or keyword to search for on JobsDB. Example: 'software developer', 'accountant'. Leave empty to scrape all jobs in the selected country.

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

Which JobsDB country site to scrape. JobsDB operates in Thailand and Hong Kong. (Singapore now redirects to Jora; Malaysia and the Philippines moved to JobStreet.)

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

City or region to filter jobs by. Example: 'Bangkok', 'Central Region'. Leave empty for all locations.

## `startUrls` (type: `array`):

Direct JobsDB search result URLs to scrape. Use this instead of keyword/country when you already have a filtered search URL.

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

Maximum number of job listings to return. Set 0 for unlimited (bounded by maxPages).

## `maxPages` (type: `integer`):

Maximum number of search result pages to crawl. Each page contains about 30 jobs.

## `sortBy` (type: `string`):

How to order search results before scraping. 'date' returns newest jobs first, useful for monitoring.

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

Only return jobs posted within this time window.

## `workType` (type: `string`):

Filter by employment type such as full time or contract.

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

Only return jobs with advertised salary at or above this amount, in local currency. Jobs without a listed salary are excluded when this is set.

## `includeDescription` (type: `boolean`):

Include the complete job description text and HTML. Enabled by default because descriptions are fetched from the same response with no extra requests.

## `incrementalMode` (type: `boolean`):

Return only jobs that are new, updated, or expired since the previous run with the same stateKey. Adds no extra requests, so runtime is unchanged. Use this for daily monitoring to avoid paying for unchanged listings.

## `stateKey` (type: `string`):

Identifier for the incremental state store. Runs sharing the same stateKey compare against each other. Defaults to country+keyword when empty.

## `emitUnchanged` (type: `boolean`):

When incremental mode is on, also return jobs that have not changed, marked as changeType=unchanged.

## `proxyConfiguration` (type: `object`):

Proxy settings. Apify Proxy is required because JobsDB blocks direct datacenter requests.

## Actor input object example

```json
{
  "keyword": "developer",
  "country": "th",
  "maxResults": 50,
  "maxPages": 5,
  "sortBy": "relevance",
  "dateRange": "any",
  "workType": "any",
  "includeDescription": true,
  "incrementalMode": false,
  "emitUnchanged": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped jobs with 38 fields each, including full description, parsed salary and change tracking.

## `jobsCsv` (type: `string`):

Same job listings exported as CSV for spreadsheets.

## `runOverview` (type: `string`):

Dataset overview in the Apify Console, showing the Job listings and Changes views.

# 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 = {
    "keyword": "developer",
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("verybananadata/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 = {
    "keyword": "developer",
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("verybananadata/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 '{
  "keyword": "developer",
  "maxResults": 50
}' |
apify call verybananadata/jobsdb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,verybananadata/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/6TykIVtg4cGjE1erq/builds/XhL9IP6gVDWFCooha/openapi.json
