# Platsbanken Jobs Scraper: Sweden Job Ads, Arbetsförmedlingen (`data-for-agents/platsbanken-jobs-scraper`) Actor

Job ads in Sweden from Platsbanken (Arbetsförmedlingen) via its official open API. $0.90 per 1,000 job ads; failures are free. Search by keyword, place, occupation or employer; one row per ad: employer, municipality, occupation, hours, deadline, apply link, full text. Only new ads for schedules.

- **URL**: https://apify.com/data-for-agents/platsbanken-jobs-scraper.md
- **Developed by:** [Data for Agents](https://apify.com/data-for-agents) (community)
- **Categories:** Jobs, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.90 / 1,000 job ads

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Platsbanken Jobs Scraper: Sweden Job Ads, Arbetsförmedlingen

### What it returns

One row per job ad from Platsbanken, the job board of Arbetsförmedlingen (the Swedish Public Employment Service), read
from its official open JobSearch API: title, employer, municipality and county, occupation with its Swedish taxonomy
name and SSYK code, employment form, full or part time, duration, number of positions, last day to apply, apply link or
email, publication date and the full ad text. Search by keyword, place, occupation and employer. A search with more
ads than the API pages through (2,100) is still read whole. About 43,500 ads are live (2026-11-11).

**Price:** $0.90 per 1,000 job ads. No start fee. Error rows, and ads already returned in only-new mode, are free.
1,000 ads cost $0.90; the 50 ads of the example input cost $0.045.

### Example input

```json
{
  "keywords": ["sjuksköterska"],
  "locations": ["Göteborg"],
  "maxJobs": 100
}
```

An empty input `{}` returns the newest 500 ads in all of Sweden.

### Example output

One real row (shortened: the full row has 74 fields, listed on the Dataset tab):

```json
{
  "status": "ok",
  "id": "31709135",
  "title": "Projektledare",
  "company": "MRM Mining Aktiebolag",
  "location": "Gällivare, Norrbottens län",
  "locations": ["Gällivare, Norrbottens län", "Kiruna, Norrbottens län"],
  "municipality": "Gällivare",
  "region": "Norrbottens län",
  "country": "Sweden",
  "workplace_type": "onsite",
  "employment_type": "fulltime",
  "occupation": "Projektledare, industri",
  "occupation_group": "Ingenjörer och tekniker inom industri, logistik och produktionsplanering",
  "occupation_field": "Yrken med teknisk inriktning",
  "ssyk_code": "3111",
  "employment_form": "Tillsvidareanställning (inkl. eventuell provanställning)",
  "working_hours": "Heltid",
  "duration": "Tills vidare",
  "vacancies": 1,
  "application_deadline": "2026-12-10T23:59:59",
  "experience_required": true,
  "driving_license_required": true,
  "required_languages": ["Svenska", "Engelska"],
  "salary_type": "Fast månads- vecko- eller timlön",
  "posted_date": "2026-11-10",
  "posted_at": "2026-11-10T10:45:15+00:00",
  "description": "Vi söker affärsdrivna projektledare som vill driva industriprojekt inom ett eller flera av områdena mark, rivning, bygg…",
  "apply_url": "https://www.mrmmining.se",
  "job_url": "https://arbetsformedlingen.se/platsbanken/annonser/31709135",
  "employer_org_number": "5569989683",
  "source_ats": "platsbanken",
  "search_keyword": "projektledare",
  "error_code": null,
  "error": null
}
```

### Measured on Apify (2026-11-12, 256 MB, no proxy)

| Input | Ads | Time | Peak memory |
|---|---|---|---|
| `{"keywords": ["python"], "locations": ["Stockholm"], "maxJobs": 50}` | 50 | 3.3 s | 55 MB |
| `{}` (the newest 500) | 500 | 20.9 s | 62 MB |
| `{"keywords": ["sjuksköterska"], "maxJobs": 0}` | 2,326 (more than the API's 2,100 paging limit) | 68 s | 101 MB |
| `{"maxJobs": 0}` (every live ad) | 42,516, none twice | about 18 minutes | 143 MB |

About 2,000 to 2,500 ads are published on a weekday. A schedule in only-new mode reads only from a day before the
newest ad its last run saw: a second run on Kiruna read 15 ads instead of 229.

### Limits

- Platsbanken's own search decides what a keyword matches. It knows Swedish occupations, skills and places, so
  "sjuksköterska göteborg" finds nurses in Gothenburg. Write Swedish words with å, ä and ö: "sjukskoterska" finds
  nothing.
- An employer name also matches similar names. Use the organisation number for one employer exactly.
- Few employers state pay, and then as text (`salary_text`); there are no pay numbers.
- Platsbanken shows live ads only. An ad that is filled or withdrawn drops out of search; this Actor does not report
  removals.
- Reading every live ad takes about 430 requests, one at a time: about 18 minutes, and costs about $39 at $0.90 per
  1,000. Apify sets a default maximum cost per run; if yours is lower, the run stops there with a free `cost_limit`
  row; with `onlyNewJobs` on, the next run returns only the rest. For a full copy of all ads with their
  changes and removals, the provider runs a separate stream service, which this Actor does not read.
- Ads published in the very same second are paged by position, up to 2,100 of them (the most seen in one second: 46).
  Past that, a free `partial_result` row says how many were not read.
- Place, occupation and employer filters take Swedish places, the Swedish job taxonomy and employer names; there is no
  radius search.

### Errors

Every row has `status`: `ok` for an ad, `error` for a free row that says why a search or the run stopped or found
nothing. Error rows have the same fields as ads, plus `error_code`, a sentence in `error`, and the search in
`search_keyword`. They are never charged.

| error_code | What happened | Free | Retry helps |
|---|---|---|---|
| `invalid_input` | The input, or one search, cannot be used: an unknown place, occupation or input field, or a search the service refused. The sentence says which. | yes | no, change the input |
| `cost_limit` | Your maximum cost per run was reached. | yes | raise the maximum cost |
| `max_jobs_reached` | The run stopped at `maxJobs`, or a search at `maxJobsPerSearch`. | yes | raise the limit |
| `no_data` | No ad matches the search, or every match was already returned. | yes | change the search, or wait for new ads |
| `partial_result` | Part of a search could not be read (see the sentence), or another only-new run of the same searches is running. | yes | sometimes |
| `blocked` | The service refused the request (HTTP 401 or 403). | yes | later |
| `rate_limited` | The service asked for fewer requests (HTTP 429) four times. | yes | later |
| `timeout` | No answer in time, four times. | yes | yes |
| `network_error` | The connection failed or the server erred (5xx), four times. | yes | yes |
| `site_changed` | The answer has a shape this Actor does not know. | yes | no, we fix it |
| `low_memory` | The run came close to its memory limit. | yes | run with more memory |
| `run_timeout` | The run came close to its time limit and stopped cleanly. | yes | give it more time, or use only-new mode |
| `internal_error` | A bug on our side. | yes | no |

Every run ends SUCCEEDED, so a scheduled or agent run never breaks on a source problem. The truth is in the rows,
the status message and the `OUTPUT` record: its `"status"` is `"failed"` when nothing could be returned because the
service refused or broke, or when most searches met a broken or refusing service; `OUTPUT` also has the counts per search.

### Input

| Field | What it does |
|---|---|
| `keywords` | Free-text searches, one search each: sjuksköterska, python, lagerarbetare. Empty: one search with only the filters. |
| `locations` | Municipalities (Stockholm, Göteborg or Gothenburg, Malmö) or counties (Skåne, Stockholms län, Stockholm County), Sweden, or their codes (0180, 01). Accents are optional. Stockholm alone is the municipality. |
| `occupations` | Occupation fields (Data/IT, Hälso- och sjukvård, or IT, healthcare, construction, sales), occupation groups (Grundutbildade sjuksköterskor), SSYK codes (2512) or taxonomy concept ids. |
| `employers` | Employer names or organisation numbers (556074-3089). |
| `postedWithin` | any, 1h, 24h, 3d, 7d, 14d or 30d. |
| `remoteOnly` | Only ads that are likely to allow remote work (Platsbanken's own phrase matching). |
| `workingHours` | any, fulltime or parttime. |
| `maxJobs` | Stop the run at this many ads (default 500; 0 for no limit). |
| `maxJobsPerSearch` | Stop each keyword's search at this many ads (default 0: no limit per search). |
| `onlyNewJobs` | Return only ads no earlier run with the same searches returned. |
| `includeDescriptions` | Include the full ad text (default true). Off makes rows about three times smaller. |
| `descriptionFormat` | text (default) or html. |
| `includeContacts` | Add the ad's contact people: name, title, email, phone (default false). |

Several places, several occupations or several employers each widen the search (any of them). The kinds narrow each
other and the keyword: `{"keywords": ["kock"], "locations": ["Malmö", "Lund"], "workingHours": "parttime"}` returns
part-time cook jobs in Malmö or Lund.

### Only new ads, for schedules

With `onlyNewJobs` on, a run returns only ads that no earlier run with the same searches returned, so a daily or
hourly schedule gets each ad once. The first run returns every match as new. After a run that read all its searches to
the end, the next run reads only ads published from a day before the newest ad it saw, so a schedule stays fast and
light. What was returned is remembered per set of searches in a key-value store named `platsbanken-jobs-memory` in your
account; changing the searches starts a new memory. Two runs of the same searches at the same time do not both return
the same ads: the second one stops with a free `partial_result` row.

### How it reads Platsbanken

The Actor calls the JobSearch API of Arbetsförmedlingen's open data (JobTech), sorted newest first, 100 ads a request,
one request at a time with a short pause. The API pages only 2,100 ads deep, so each next page asks for the ads
published at or before the oldest ad of the page before; no ad is skipped and none is returned twice. It asks only for
the fields a row uses. No browser, no web page scraping, no key, no proxy.

### Data licence

The job ads are published under CC0 (public domain), as the API itself states. The provider asks heavy users who want
every ad to use its stream service rather than the search; this Actor searches, one request at a time, and its only-new
mode reads only the newest ads. Rows link each ad's Platsbanken page in `job_url`.

### FAQ

**Is it legal?** The ads are open data under CC0 from a public agency's official API. You are responsible for how you
use the data.

**Does it return personal data?** Rows can hold the email address given for applications, and, only with
`includeContacts`, the names, emails and phone numbers of contact people. Some employers are sole traders whose business
name is a person's name. Under GDPR you need a lawful basis to store or use personal data. The Actor never passes on a
sole trader's personal identity number: `employer_org_number` is left empty when the number has that shape.

**Can I search in English?** Yes for keywords in English ads (python, developer). Swedish ads match Swedish words. Places
and the 21 occupation fields also take English names (Gothenburg, healthcare, IT).

**Why are some fields always empty?** The row has the same fields as this publisher's other job Actors, so data from
several job boards fits one table; Platsbanken has no department, team or pay numbers.

More Actors from the same publisher: [apify.com/data-for-agents](https://apify.com/data-for-agents).

# Changelog

This Actor's version history is a separate document: https://apify.com/data-for-agents/platsbanken-jobs-scraper/changelog.md

# Actor input Schema

## `keywords` (type: `array`):

Free-text searches, one search each, matched by Platsbanken's own search in the title, the ad text and the employer's name, for example: sjuksköterska, python, lagerarbetare, "java utvecklare". Write Swedish words with å, ä and ö. Empty: one search with only the filters below.

## `locations` (type: `array`):

Keep ads whose workplace is in one of these places: a municipality (Stockholm, Göteborg or Gothenburg, Malmö; accents optional), a county (Skåne, Skåne län, Stockholm County, Västra Götaland), Sweden, or a code (0180, 01). Stockholm alone is the municipality: add län or County for the county. Empty: anywhere.

## `occupations` (type: `array`):

Keep ads in one of these occupation fields or groups: a field (Data/IT, Hälso- och sjukvård, or in English: IT, healthcare, construction, sales, transport), a group (Grundutbildade sjuksköterskor), a four-digit SSYK code (2512) or a taxonomy concept id. For job titles in general, use keywords. Empty: every occupation.

## `employers` (type: `array`):

Keep ads from these employers: a name (Volvo, Region Stockholm), matched by Platsbanken's search, which also returns similar names, or an organisation number for an exact match (556074-3089). Empty: every employer.

## `postedWithin` (type: `string`):

Keep only ads published in this period. About 2,000 ads are published on a weekday.

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

Keep only ads that Platsbanken's own phrase matching finds likely to allow remote work.

## `workingHours` (type: `string`):

Keep only full-time or only part-time jobs.

## `maxJobs` (type: `integer`):

Stop the run at this many ads; each ad is charged. Default 500 (about 17 s); 0 for no limit (about 43,000 ads are live, read in about 18 minutes). Reading stops at the limit, and a free row says so.

## `maxJobsPerSearch` (type: `integer`):

Stop each keyword's search at this many ads, so several keywords share maxJobs fairly. 0 (default): no limit per search.

## `onlyNewJobs` (type: `boolean`):

For schedules: return only ads that no earlier run with the same searches returned, so each ad comes once. After a complete run the next one reads only the newest ads (from a day before the newest it saw). Remembered in a key-value store named platsbanken-jobs-memory in your account.

## `includeDescriptions` (type: `boolean`):

Turn off to leave the full ad text out of every row: rows get about three times smaller, which suits AI agents and quick lists. Keyword searches still match the text.

## `descriptionFormat` (type: `string`):

Plain text, or the HTML that Platsbanken shows.

## `includeContacts` (type: `boolean`):

Add the ad's contact people (name, title, email, phone) to each row. Off by default: they are personal data, and you need a lawful basis (GDPR) to store or use them. The address for applications is always included.

## Actor input object example

```json
{
  "keywords": [
    "python"
  ],
  "locations": [
    "Stockholm"
  ],
  "occupations": [],
  "employers": [],
  "postedWithin": "any",
  "remoteOnly": false,
  "workingHours": "any",
  "maxJobs": 50,
  "maxJobsPerSearch": 0,
  "onlyNewJobs": false,
  "includeDescriptions": true,
  "descriptionFormat": "text",
  "includeContacts": false
}
```

# Actor output Schema

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

Every row: job ads (status ok) and free notes (status error).

## `summary` (type: `string`):

Counts per search: matching ads, ads read, ads returned, why reading stopped; error rows by error_code.

# 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 = {
    "keywords": [
        "python"
    ],
    "locations": [
        "Stockholm"
    ],
    "maxJobs": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("data-for-agents/platsbanken-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 = {
    "keywords": ["python"],
    "locations": ["Stockholm"],
    "maxJobs": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("data-for-agents/platsbanken-jobs-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 '{
  "keywords": [
    "python"
  ],
  "locations": [
    "Stockholm"
  ],
  "maxJobs": 50
}' |
apify call data-for-agents/platsbanken-jobs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data-for-agents/platsbanken-jobs-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/NMVoy6NHgHoiJkYRV/builds/suIRHHAwlZ6UeaPBg/openapi.json
