# Townwork Jobs Scraper — Japan Part-Time & Casual Jobs (`bovi/townwork-jobs-scraper`) Actor

Scrape part-time and casual (arubaito) job listings from townwork.net (Recruit, Japan) by keyword or area URL. Returns title, company, wage (hourly/daily, min-max JPY), employment type, nearest station, job URL and ID. Optional full descriptions. Browser-rendered via residential proxy.

- **URL**: https://apify.com/bovi/townwork-jobs-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Jobs, Lead generation
- **Stats:** 2 total users, 1 monthly users, 84.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.93 / 1,000 job results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Townwork Jobs Scraper — Japan Part-Time & Casual (Arubaito) Jobs

Scrape part-time, casual and **arubaito (アルバイト)** job listings from **Townwork** (`townwork.net`), Recruit's nationwide Japanese part-time job board. Search by keyword or paste any Townwork area/search URL, paginate the full result set, and get a clean, flat record per job: title, employer, wage (with period and parsed min/max in JPY), employment type, nearest station, job URL and a machine-readable `parse_confidence` score on every row.

This **Townwork Jobs Scraper** is built for recruiters, HR-tech products, wage-benchmark and labor-market analysts, and lead-generation pipelines that need structured Japanese part-time hiring data without maintaining a fragile in-house scraper.

### What Townwork job data you get

Every result row contains:

- **job_id** — Townwork's stable listing id
- **title** — the job title, exactly as posted in Japanese (e.g. `高級喫茶店でのホール`)
- **company** — hiring company / store name
- **salary_text** — the wage label exactly as Townwork shows it (e.g. `時給1,350円以上`)
- **salary_period** — normalized wage period: `hourly` (時給), `daily` (日給), `weekly` (週給), `monthly` (月給), `annual` (年俸/年収)
- **salary_min** / **salary_max** — wage bounds parsed to integers in JPY (`salary_max` is null on `以上` / "from X" listings that quote no upper bound)
- **currency** — always `JPY`
- **employment_type** — アルバイト・パート, 業務委託, 契約社員, etc.
- **access** — nearest station and walk time (e.g. `渋谷駅から徒歩1分`), when shown
- **url** — canonical link to the job detail page on townwork.net
- **area** — optional free-text label you set, stamped on every row for provenance
- **description** — full job description text (optional, enable "Include full job descriptions")
- **parse_confidence** — quality signal per row (fraction of core fields present), so you can filter incomplete records programmatically

### How to scrape Townwork jobs

1. Enter a **keyword** (Japanese or English) — e.g. `カフェ`, `コンビニ`, `warehouse`. The actor builds the Townwork keyword search for you.
2. **Or** paste one or more **Townwork search / area URLs** copied straight from the site (e.g. a prefecture page like `https://townwork.net/prefectures/tokyo/job_search/ma-013001/`). Each is paginated independently.
3. Set **Pages per query** to go deeper (Townwork shows ~20 listings per page) and **Max total items** to cap cost (default 100).
4. Optionally enable **Include full job descriptions** to fetch each listing's detail page.
5. Run. Results stream into the dataset as they are scraped.

The actor paginates automatically and de-duplicates by `job_id` until every matching job is collected or your `maxItems` cap is reached.

### How much does it cost?

Pay per result — there is **no subscription**. You are billed **$4.05 per 1,000 jobs** returned (`$0.00405` per job). A typical 100-job trial run costs about **$0.41**. If you enable **Include full job descriptions**, each enriched listing adds a separate **$0.005** event (charged only for the listings you fetch descriptions for). The actor runs on **Apify's RESIDENTIAL proxy**, billed to your own Apify account — there is no extra proxy fee from us and no key to supply.

### Example output

```json
{
  "job_id": "79704e42ed0623a4",
  "title": "高級喫茶店でのホール",
  "company": "珈琲茶館 集　プレミアム渋谷駅前店",
  "salary_text": "時給1,350円以上",
  "salary_period": "hourly",
  "salary_min": 1350,
  "salary_max": null,
  "currency": "JPY",
  "employment_type": "アルバイト・パート",
  "access": "渋谷駅から徒歩1分",
  "url": "https://townwork.net/viewjob/jobid_79704e42ed0623a4/",
  "parse_confidence": 1.0
}
````

### Why this Townwork Jobs Scraper

- **Resilient rendering, not brittle class names** — the parser anchors on stable DOM structure, so it keeps working through Townwork's front-end redesigns.
- **Normalized wages** — `salary_period`, `salary_min` and `salary_max` are parsed for you from the raw Japanese label, ready for filtering and benchmarking.
- **Quality signal built in** — `parse_confidence` lets you trust the data and drop incomplete rows automatically.
- **Keyword or URL** — start from a plain keyword or paste any Townwork area/search page; mix and match.
- **Apify Proxy, pay-per-result** — runs on Apify's RESIDENTIAL proxy by default for reliable access; you pay only per result, no monthly fee.

### FAQ

**Do I need a Townwork login or API key?** No. The actor reads public Townwork listing pages.

**Can I get full job descriptions?** Yes — enable "Include full job descriptions". Each job then makes one extra request to its detail page (slower, richer output, billed as a separate event).

**How fresh is the data?** It is fetched live on every run, directly from townwork.net.

**Is the wage always present?** Townwork shows a wage on essentially every listing, so `salary_text` is near-universal. `salary_max` is null when the listing quotes a single "from X" (`以上`) figure with no upper bound — that is correct, not missing data.

**Is this legal?** The actor collects only publicly visible job-listing data that Townwork shows to any visitor. Use it in compliance with Townwork's terms and applicable law.

# Actor input Schema

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

Job keyword to search on townwork.net (Japanese or English). Examples: "カフェ", "コンビニ", "warehouse". Builds a townwork keyword search. Leave blank if you provide searchUrls.

## `searchUrls` (type: `array`):

Paste one or more townwork.net search or area URLs (copy them from the site, e.g. a prefecture/area page like https://townwork.net/prefectures/tokyo/job\_search/ma-013001/). Each is paginated independently. Combine with or instead of `keyword`.

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

Maximum total listings to push across all queries. Default 100 keeps trial runs cheap. Set 0 for unlimited.

## `pagesToFetch` (type: `integer`):

How many result pages to fetch per query (townwork shows ~20 listings per page). Default 1.

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

Fetch the full description text from each job's detail page. One extra request per listing — slower and billed as a separate event. Off by default.

## `area` (type: `string`):

Optional free-text label stored on every record (e.g. "Tokyo", "Osaka"). Provenance only; does not filter.

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

Apify proxy used for all requests. Defaults to the RESIDENTIAL group, country Japan — required for reliable access to townwork from the cloud. Billed to the run owner.

## Actor input object example

```json
{
  "keyword": "カフェ",
  "maxItems": 100,
  "pagesToFetch": 1,
  "includeDescription": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "JP"
  }
}
```

# Actor output Schema

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

Dataset of townwork job records (job\_id, title, company, salary\_text/period/min/max, currency, employment\_type, access, url, area, parse\_confidence).

# 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": "カフェ"
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/townwork-jobs-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": "カフェ" }

# Run the Actor and wait for it to finish
run = client.actor("bovi/townwork-jobs-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": "カフェ"
}' |
apify call bovi/townwork-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=bovi/townwork-jobs-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Townwork Jobs Scraper — Japan Part-Time & Casual Jobs",
        "description": "Scrape part-time and casual (arubaito) job listings from townwork.net (Recruit, Japan) by keyword or area URL. Returns title, company, wage (hourly/daily, min-max JPY), employment type, nearest station, job URL and ID. Optional full descriptions. Browser-rendered via residential proxy.",
        "version": "0.1",
        "x-build-id": "K2oZuPU5L5fd3sAWK"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/bovi~townwork-jobs-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-bovi-townwork-jobs-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/bovi~townwork-jobs-scraper/runs": {
            "post": {
                "operationId": "runs-sync-bovi-townwork-jobs-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/bovi~townwork-jobs-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-bovi-townwork-jobs-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "keyword": {
                        "title": "Keyword",
                        "type": "string",
                        "description": "Job keyword to search on townwork.net (Japanese or English). Examples: \"カフェ\", \"コンビニ\", \"warehouse\". Builds a townwork keyword search. Leave blank if you provide searchUrls."
                    },
                    "searchUrls": {
                        "title": "Search / area URLs",
                        "type": "array",
                        "description": "Paste one or more townwork.net search or area URLs (copy them from the site, e.g. a prefecture/area page like https://townwork.net/prefectures/tokyo/job_search/ma-013001/). Each is paginated independently. Combine with or instead of `keyword`.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItems": {
                        "title": "Max total items",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum total listings to push across all queries. Default 100 keeps trial runs cheap. Set 0 for unlimited.",
                        "default": 100
                    },
                    "pagesToFetch": {
                        "title": "Pages per query",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "How many result pages to fetch per query (townwork shows ~20 listings per page). Default 1.",
                        "default": 1
                    },
                    "includeDescription": {
                        "title": "Include full job descriptions",
                        "type": "boolean",
                        "description": "Fetch the full description text from each job's detail page. One extra request per listing — slower and billed as a separate event. Off by default.",
                        "default": false
                    },
                    "area": {
                        "title": "Area label",
                        "type": "string",
                        "description": "Optional free-text label stored on every record (e.g. \"Tokyo\", \"Osaka\"). Provenance only; does not filter."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify proxy used for all requests. Defaults to the RESIDENTIAL group, country Japan — required for reliable access to townwork from the cloud. Billed to the run owner.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "JP"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
