# JobTech Sweden Jobs (`avakode/jobtech-sweden-jobs`) Actor

Search Swedish job ads from the open JobTech (Arbetsförmedlingen) job search by word, county, occupation field and age.

- **URL**: https://apify.com/avakode/jobtech-sweden-jobs.md
- **Developed by:** [Tigran Avakov](https://apify.com/avakode) (community)
- **Categories:** Jobs, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.34 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## JobTech Sweden Jobs

Search Swedish job ads by word, county, municipality, occupation field and age. The data comes from the open JobTech job search of the Swedish Public Employment Service (Arbetsförmedlingen), the source behind Platsbanken.

**Limits and pace**

- The source returns at most 2,100 ads per search (words and filters together). Split a broad search by county, municipality or occupation field, or use several search words.
- The pace is about 1 request per second with 100 ads per request: 1,000 ads take about 10 requests, roughly 15 seconds.
- "Only new" reads the newest first (whatever `sortBy` says) and stops at the first page with nothing undelivered. It returns ads published since the last run; if Maximum results cuts a run short, older ads that run did not reach may come in a later run or not at all: a later run reads on only while every page has something undelivered. Raise the limit or narrow the search.

### What it does

The tool calls the open JobTech JobSearch API (no key, no login) and returns one clean record per ad: employer, occupation, terms of employment, workplace address, dates, required skills and languages, application link and the ad text. It uses plain HTTP, so runs are fast and small. It does not open the Platsbanken website.

### Use cases

- Recruitment and staffing agencies tracking new ads in a region or occupation.
- Labour-market and salary-trend research on Swedish hiring.
- Job aggregators and alert services (schedule it with "Only new ads since the last run").

### Input

| Field | Type | Description |
|---|---|---|
| `queries` | array | Search words, one per line (Swedish or English). Empty = one search with no word, limited by the other filters (at most 2,100 ads). |
| `regions` | array | County (län) codes, e.g. `01` Stockholm. |
| `municipalities` | array | Four-digit municipality codes, e.g. `0180`. |
| `occupationFields` | array | Occupation fields (select list). |
| `employer` | string | Employer name or organization number. |
| `employmentTypes` | array | Permanent, fixed term, seasonal, temporary cover, on-demand. |
| `workingTime` | string | `any`, `fulltime` or `parttime`. Part-time is selected by the tool from the ads' working-hours label ("Deltid"), so the tool reads whole pages and keeps only part-time ads; `maxResults` counts the kept ads. Ads without that label are not part-time matches. |
| `noExperienceRequired` | boolean | Only ads without an experience requirement. |
| `remoteOnly` | boolean | Only ads that allow remote work. |
| `publishedWithinDays` | integer | Only ads from the last N days (0 = any). |
| `publishedFrom`, `publishedTo` | string | Publication date range, `YYYY-MM-DD`. |
| `sortBy` | string | `relevance` or `pubdate-desc` (newest first). Ignored when `onlyNew` is on: that mode always reads newest first. |
| `includeDescription` | boolean | Add the ad text (contacts removed). Default on. |
| `onlyNew` | boolean | Return only ads this tool has not delivered before for the same search (words and filters). Reads newest first and stops at the first page with nothing undelivered; ads cut off by Maximum results may come in a later run or not at all. The same holds for ads left unwritten when the run cost limit is reached. |
| `maxResults` | integer | Total cap (default 100). |
| `maxResultsPerQuery` | integer | Cap per search word (0 = none). |

Example:

```json
{ "queries": ["kock", "python"], "regions": ["01", "14"], "publishedWithinDays": 7, "sortBy": "pubdate-desc", "maxResults": 200 }
```

### Output

One record per ad. Missing values are `null`, dates are ISO 8601 UTC, `url` points to the ad on Platsbanken. Labels such as occupation and employment type are in Swedish, as the source gives them.

| Field | Description |
|---|---|
| `source_id`, `url`, `title` | Ad number, ad address, headline. |
| `company`, `company_org_number`, `workplace_name` | Employer and workplace. |
| `occupation`, `occupation_group`, `occupation_field` | Occupation taxonomy. |
| `employment_type`, `working_hours`, `duration`, `scope_min_percent`, `scope_max_percent` | Terms. |
| `salary_type`, `salary_description`, `remote_model` | Pay text and workplace model. |
| `city`, `municipality`, `municipality_code`, `region`, `region_code`, `country`, `postcode`, `latitude`, `longitude` | Workplace location. |
| `number_of_vacancies`, `experience_required`, `driving_license_required`, `access_to_own_car` | Requirements. |
| `required_skills`, `preferred_skills`, `required_languages`, `preferred_languages`, `driving_licenses`, `required_work_experiences`, `preferred_work_experiences`, `required_education`, `required_education_levels` | Lists of labels, or `null`. |
| `posted_at`, `application_deadline`, `last_published_at`, `scraped_at` | Dates. |
| `apply_url`, `apply_via_arbetsformedlingen`, `employer_url`, `logo_url`, `external_id`, `source_type`, `removed` | Application and source details. |
| `description_text` | Ad text; `null` when switched off. |
| `description_html` | The same text as HTML (paragraph and formatting tags); `null` when switched off. |

Example record (shortened):

```json
{ "source_id": "31708534", "url": "https://arbetsformedlingen.se/platsbanken/annonser/31708534", "title": "Kock", "company": "Beergarden AB", "region": "Stockholms län", "posted_at": "2026-11-09T10:11:00.000Z", "application_deadline": "2026-12-10T22:59:59.000Z", "description_text": "…" }
```

### Pricing

Pay per result: you pay for each ad in the dataset, plus a tiny start fee per run; the price per 1,000 ads is shown on the tool page. A run of 100 ads makes 1 to 3 requests and takes a few seconds, 1,000 ads about 15 seconds. A run that finds no new ads with "Only new" makes one request per search word and costs only the start fee. Set "Maximum cost per run" and the tool stops cleanly when it is reached.

### Errors

- **Invalid input** — the message names the field to fix.
- **The site changed its format** — the tool needs an update; please open an issue.
- **The site blocked access** — the source refused anonymous access; this tool does not bypass protection.
- **Temporarily unavailable** — the source asked to retry later; run again in a while.

### Limitations

- If the source refuses access (HTTP 403 or 429, a check page), the tool stops asking at once. With ads already written the run ends normally and the status line says how many searches were not read; with none it fails with that reason.
- An ad found by two search words is delivered once, for the first word, so the second word may have fewer records than its own results list.
- An ad without an id or with unreadable fields is skipped with a warning in the log.
- At most one batch may be written again if a write was still on its way when the run was stopped.
- Two "only new" runs with the same search cannot work at the same time: the second one stops with a message before it reads anything.
- Contact data is not collected: e-mail addresses and phone numbers are removed from the ad text, and recruiter contact fields are not read.
- Only current ads are returned. No salary amounts: the source gives only a salary type and the employer's text.
- Labels are Swedish. Times are converted from Swedish local time to UTC.
- Job ads are published by Arbetsförmedlingen (JobTech) under CC0; see the [JobSearch API description](https://jobsearch.api.jobtechdev.se/swagger.json) (checked 2026-11-10). Not affiliated with Arbetsförmedlingen.
- If a run is killed while it writes a batch and is not resurrected, the next "only new" run may skip that batch.

### Support

Open an issue in the Issues tab with the run link.

# Actor input Schema

## `queries` (type: `array`):

One search word or phrase per line, in Swedish or English (for example kock, sjuksköterska, python). Leave empty for one search with no word, limited by the other filters. The source returns at most 2,100 ads per search, so split a broad search by counties or occupation fields.

## `regions` (type: `array`):

Only ads located in these counties. Leave empty for all of Sweden.

## `municipalities` (type: `array`):

Four-digit municipality codes (kommunkod), for example 0180 for Stockholm or 1480 for Göteborg. Leave empty for no municipality filter.

## `occupationFields` (type: `array`):

Only ads in these occupation fields (Arbetsförmedlingen taxonomy). Leave empty for all.

## `employer` (type: `string`):

Employer name or organization number. Leave empty for any employer.

## `employmentTypes` (type: `array`):

Only these types of employment. Leave empty for all.

## `workingTime` (type: `string`):

Full-time (100 percent scope) or part-time ads only, or any.

## `noExperienceRequired` (type: `boolean`):

Keep only ads that do not require experience.

## `remoteOnly` (type: `boolean`):

Keep only ads that allow working remotely.

## `publishedWithinDays` (type: `integer`):

Only ads published in the last N days. 0 means any age.

## `publishedFrom` (type: `string`):

First publication day, YYYY-MM-DD (Swedish time). Ignored when Published within is set.

## `publishedTo` (type: `string`):

Last publication day, YYYY-MM-DD (Swedish time).

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

Best match first, or newest first. Ignored when Only new is on: that mode always reads newest first.

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

Add the full ad text to every record. E-mail addresses and phone numbers in the text are removed.

## `onlyNew` (type: `boolean`):

Return only ads that this tool has not delivered before for the same search (words and filters). Reads newest first and stops at the first page with nothing undelivered; ads that Maximum results cut off may come in a later run or not at all (a later run reads on only while every page has something undelivered). The same holds for ads left unwritten when the run cost limit is reached. Do not start two Only new runs with the same search at the same time.

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

Stop after this many ads in total.

## `maxResultsPerQuery` (type: `integer`):

Stop each search word after this many ads. 0 means no limit. The source returns at most 2,100 ads per search; use counties or occupation fields to split larger searches.

## Actor input object example

```json
{
  "queries": [
    "kock"
  ],
  "regions": [
    "01"
  ],
  "municipalities": [
    "0180"
  ],
  "occupationFields": [
    "apaJ_2ja_LuF"
  ],
  "employer": "Volvo",
  "employmentTypes": [
    "kpPX_CNN_gDU"
  ],
  "workingTime": "any",
  "noExperienceRequired": false,
  "remoteOnly": false,
  "publishedWithinDays": 7,
  "publishedFrom": "2026-10-01",
  "publishedTo": "2026-11-01",
  "sortBy": "pubdate-desc",
  "includeDescription": true,
  "onlyNew": false,
  "maxResults": 100,
  "maxResultsPerQuery": 0
}
```

# Actor output Schema

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

All records written by the run (the default dataset).

# 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 = {
    "queries": [
        "kock"
    ],
    "regions": [],
    "municipalities": [],
    "occupationFields": [],
    "employer": "",
    "employmentTypes": [],
    "workingTime": "any",
    "noExperienceRequired": false,
    "remoteOnly": false,
    "publishedWithinDays": 0,
    "sortBy": "relevance",
    "includeDescription": true,
    "onlyNew": false,
    "maxResults": 100,
    "maxResultsPerQuery": 0
};

// Run the Actor and wait for it to finish
const run = await client.actor("avakode/jobtech-sweden-jobs").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 = {
    "queries": ["kock"],
    "regions": [],
    "municipalities": [],
    "occupationFields": [],
    "employer": "",
    "employmentTypes": [],
    "workingTime": "any",
    "noExperienceRequired": False,
    "remoteOnly": False,
    "publishedWithinDays": 0,
    "sortBy": "relevance",
    "includeDescription": True,
    "onlyNew": False,
    "maxResults": 100,
    "maxResultsPerQuery": 0,
}

# Run the Actor and wait for it to finish
run = client.actor("avakode/jobtech-sweden-jobs").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 '{
  "queries": [
    "kock"
  ],
  "regions": [],
  "municipalities": [],
  "occupationFields": [],
  "employer": "",
  "employmentTypes": [],
  "workingTime": "any",
  "noExperienceRequired": false,
  "remoteOnly": false,
  "publishedWithinDays": 0,
  "sortBy": "relevance",
  "includeDescription": true,
  "onlyNew": false,
  "maxResults": 100,
  "maxResultsPerQuery": 0
}' |
apify call avakode/jobtech-sweden-jobs --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,avakode/jobtech-sweden-jobs"
        }
    }
}
```

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/1AHUVOlB4w1ZZWu0s/builds/x5hJqSizOamv95BSg/openapi.json
