# Myjob.ch Scraper — Swiss National Job Listings (`studio-amba/myjob-scraper`) Actor

Scrape job listings, companies, locations, workload and cantons from myjob.ch, Switzerland's largest national job board. Search by keyword. No login or cookies required.

- **URL**: https://apify.com/studio-amba/myjob-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** Jobs
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 result scrapeds

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 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

## Myjob.ch Scraper

Extract job listings from [myjob.ch](https://www.myjob.ch), Switzerland's largest **national** job board, as clean structured JSON. Search by keyword and get job titles, companies, workplaces, workload percentages, cantons and direct links in one run.

No login. No cookies. No browser automation. The actor talks to the same public JSON API the myjob.ch website uses, so it is fast and stable.

### What this actor does

Given a search keyword, this actor collects every matching job listing from myjob.ch and returns one row per job with:

- Job title
- Hiring company
- Workplace / city
- Canton
- Workload range (employment grade, e.g. 80–100%)
- Home office / remote flag
- Short preview of the description (HTML stripped)
- First-publication date
- The job's unique ID and direct URL

myjob.ch is the national instance of a sibling network of Swiss regional job boards (ostjob.ch, jobbasel.ch, jobzueri.ch, zentraljob.ch), so it covers listings across all of Switzerland — currently over 50,000 live jobs.

### Why use it

- **Job market research** — track how many roles match a keyword across all of Switzerland.
- **Recruitment and sourcing** — build a live feed of open positions for a role or company.
- **Workload benchmarking** — analyse employment-grade (workload) percentages across employers.
- **Aggregators and job boards** — feed Swiss listings into your own product.

### How to scrape Myjob.ch data

1. Open the actor and set a **Search Query** (for example `informatik`, `verkauf`, `pflege` or `marketing`).
2. Set **Max Results** to how many listings you want.
3. Leave the proxy on the default residential setting and click **Start**.
4. The actor pages through the myjob.ch search API (10 results per page) until it reaches your Max Results or runs out of listings, then writes everything to the dataset.
5. Export the result as JSON, CSV or Excel directly from the Apify Console, or pull it via the API/SDK into your own pipeline.

Because myjob.ch is the national instance of its sibling network, a broad keyword like `informatik` alone returns listings from every canton — there is no need to run the actor once per region.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `searchQuery` | string | Keyword to search for. Default: `informatik`. |
| `maxResults` | integer | Maximum number of listings to return. Default: `100`. |
| `proxyConfiguration` | object | Apify proxy settings. Default: residential. |

#### Example input

```json
{
    "searchQuery": "informatik",
    "maxResults": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"]
    }
}
```

### Output

Each dataset item looks like this:

```json
{
    "jobTitle": "Lehrstelle als Kaufmann/-frau EFZ (a)",
    "company": "CH Media",
    "location": "Aarau",
    "employmentGradeMin": 100,
    "employmentGradeMax": 100,
    "preview": "100 % In diesem vielfältigen Job erhältst du spannende Einblicke in die Welt eines modernen Medienhauses...",
    "publishedDate": "2026-08-03T10:12:50.916+02:00",
    "homeOffice": false,
    "canton": "Aargau",
    "jobId": "3263212",
    "url": "https://www.myjob.ch/job/3263212",
    "scrapedAt": "2026-08-03T10:15:00.000Z"
}
```

#### Output fields

| Field | Type | Description |
|-------|------|-------------|
| `jobTitle` | string | Title of the job listing |
| `company` | string | Name of the hiring company |
| `location` | string | City or place of work |
| `employmentGradeMin` | number | Minimum workload percentage (e.g. 80) |
| `employmentGradeMax` | number | Maximum workload percentage (e.g. 100) |
| `preview` | string | Job description with HTML tags stripped |
| `publishedDate` | string | ISO 8601 first-publication date |
| `homeOffice` | boolean | Whether the listing allows remote / home office work |
| `canton` | string | Swiss canton where the job is located |
| `jobId` | string | Unique myjob.ch job identifier |
| `url` | string | Full job listing URL (redirects to the slugged detail page) |
| `scrapedAt` | string | ISO 8601 timestamp of collection |

### Cost estimate

This actor uses a lightweight JSON API and no browser, so runs are cheap and fast. One request returns 10 listings, so a few hundred jobs cost only a handful of requests plus proxy traffic. Exact cost depends on your Apify plan and proxy usage.

### Limitations

- **Salary** is not published in the myjob.ch search API, so it is not included. The actor returns the workload percentage (employment grade) instead, which is what myjob.ch exposes.
- The API returns at most 10 results per page; the actor pages through automatically.
- Full job descriptions are not fetched separately; the `preview` field holds the `activity` text myjob.ch returns in search results, with HTML tags stripped.
- The API does not support server-side location or canton filtering — every listing across Switzerland is searchable by keyword, and the `canton` output field lets you filter or group after the fact.
- Very deep result sets (thousands of jobs for a broad keyword) take proportionally longer because of the 10-per-page limit.

### Related scrapers

myjob.ch is the largest instance in a sibling network of Swiss regional job boards built on the same API. If you need regional coverage or a European jobs dataset more broadly, these follow the same clean-JSON approach:

- **Jobs.ch Scraper** — Switzerland's other major job board
- **Ostjob Scraper** — Eastern Switzerland regional jobs
- **Jobbasel Scraper** — Basel regional jobs
- **Jobzueri Scraper** — Zürich regional jobs
- **Pracuj Scraper** — Poland's #1 job board
- **Jobs.cz Scraper** — Czech job listings

### Disclaimer

This actor collects publicly available data from myjob.ch for legitimate research and aggregation use. Respect myjob.ch's terms of service and applicable data protection law when using the output.

# Actor input Schema

## `searchQuery` (type: `string`):

Keyword to search for (e.g. 'informatik', 'verkauf', 'pflege', 'marketing'). myjob.ch is national, so any German, French or Italian keyword works depending on region.

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

Maximum number of job listings to return.

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

Proxy settings. myjob.ch's public API is not geo-locked; residential proxies are the most reliable default.

## Actor input object example

```json
{
  "searchQuery": "informatik",
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "searchQuery": "informatik",
    "maxResults": 5,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/myjob-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 = {
    "searchQuery": "informatik",
    "maxResults": 5,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/myjob-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 '{
  "searchQuery": "informatik",
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call studio-amba/myjob-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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