# Sweden Job Ads Feed: Platsbanken API & Hiring Employers (`moment-data/sweden-job-ads-feed`) Actor

Daily Swedish job ads from Arbetsförmedlingen's official open JobTech API (Platsbanken): employer org number, SSYK occupation, kommun, terms, skills. Plus a 'who is hiring' employer ranking. CC0 data, no API key.

- **URL**: https://apify.com/moment-data/sweden-job-ads-feed.md
- **Developed by:** [Luke Miller](https://apify.com/moment-data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 job records

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

## Sweden Job Ads Feed: Platsbanken API & Hiring Employers (official, no key)

A daily feed of **Swedish job ads** from **Arbetsförmedlingen's official open JobTech JobSearch API**, the search behind **Platsbanken**, Sweden's largest job board (about 2,000+ new ads per weekday). Ads are released as **CC0 open data**. Each record has the **employer's organisation number**, SSYK occupation group, kommun and län, employment terms, required skills, deadline and the Platsbanken link.

It also has a **"who is hiring" mode** (`onePerEmployer`). It scans the window and ranks employers by number of new ads, giving you vacancies, top occupations and municipalities per employer. That's a ready-made B2B hiring-signal list for recruiters, staffing firms, HR-tech, relocation, training and workplace-services sales.

No API key, no login, no scraping of a private site. Pay only for the records you get.

**Entity data only.** Application contact names, e-mails and phone numbers are never output. Ads from sole traders (enskild firma), whose organisation number is the owner's personal identity number, are skipped by default; if you include them, their name and number are withheld. Street addresses and GPS coordinates are dropped (kommun, city and postcode only). Ad descriptions are **off by default**. When you turn them on, e-mails, phone numbers and names after contact cues ("Kontakta ...", "Rekryterande chef ...") are removed.

### Who it's for

- **Recruiters and staffing / bemanning firms:** every new nurse, electrician or developer ad in your län each morning, with the employer's org number for your CRM.
- **B2B sales (HR-tech, payroll, benefits, training, relocation, office services):** companies hiring the most right now (`onePerEmployer`), a strong buying signal.
- **Labour-market analysts and journalists:** daily counts by occupation, region and employment type from the official source.
- **Job boards and aggregators:** a clean, deduplicated Swedish feed with `sinceLastRun` for daily delta loads.

### Output (one record per ad)

`adId`, `headline`, `employerName`, `employerOrgNumber`, `employerType` (legalEntity / personalNumber / unknown), `employerWebsite`, `workplaceName`, `occupation`, `occupationGroup`, `ssykCode`, `occupationField`, `employmentType`, `permanent`, `workingHours`, `scopeMinPct`, `scopeMaxPct`, `duration`, `salaryType`, `salaryDescription`, `numberOfVacancies`, `experienceRequired`, `drivingLicenseRequired`, `drivingLicenses`, `accessToOwnCar`, `workplaceModel` (on-site / hybrid / remote), `mustHave[]`, `niceToHave[]` (skills, languages, education), `municipality`, `municipalityCode`, `region`, `regionCode`, `postcode`, `city`, `country`, `allMunicipalities`, `publishedAt`, `publishedDate`, `applicationDeadline`, `lastPublicationDate`, `applyViaUrl`, `applyViaPlatsbanken`, `labels`, `sourceType`, `description` (opt-in), `platsbankenUrl`, `source`, `licence`, `retrievedAt`.

In `onePerEmployer` mode each row is the employer's newest ad plus `employerAdsInWindow`, `employerVacanciesInWindow`, `employerTopOccupations[]` and `employerMunicipalities[]`.

Sample (input `{"occupationGroups":["2512"],"regions":["Stockholm"],"daysBack":3}`; see `sample-output.json`):

```json
{
  "adId": "31730694",
  "headline": "Ingenjör inom sjukvårdssystem med kunskap om integrerat logistikstöd",
  "employerName": "Försvarets Materielverk", "employerOrgNumber": "2021000340", "employerType": "legalEntity",
  "occupation": "Civilingenjör, systemutveckling", "occupationGroup": "Mjukvaru- och systemutvecklare m.fl.", "ssykCode": "2512", "occupationField": "Data/IT",
  "employmentType": "Vanlig anställning", "permanent": true, "workingHours": "Heltid", "duration": "Tills vidare", "numberOfVacancies": 1,
  "workplaceModel": "Hybridarbete", "municipality": "Stockholm", "municipalityCode": "0180", "region": "Stockholms län", "regionCode": "01", "postcode": "11588",
  "publishedDate": "2026-11-13", "applicationDeadline": "2026-12-04",
  "platsbankenUrl": "https://arbetsformedlingen.se/platsbanken/annonser/31730694"
}
```

### Input

| Field | What it does |
|---|---|
| `maxItems` | Records to return (default 30) |
| `daysBack` | Ads published in the last N days (default 1, max 60), newest first |
| `keywords` | Free text (Swedish or English): `elektriker`, `python`, `sjuksköterska` |
| `regions` / `municipalityCodes` | Län names or codes (`Stockholm`/`01`, `Skåne`/`12`, `Västra Götaland`/`14`); kommun codes (`0180`, `1480`, `1280`) |
| `occupationGroups` | SSYK 2012 4-digit codes (`2512` developers, `2221` nurses, `7411` electricians, `5120` cooks) |
| `employers` | Employer names or 10-digit organisation numbers |
| `permanentOnly`, `fullTimeOnly`, `remoteOnly`, `noExperienceRequired`, `minVacancies` | Terms filters |
| `excludeKeywords`, `excludeEmployerKeywords` | Drop headlines or employers (`bemanning`, `rekrytering`) |
| `onePerEmployer`, `maxAdsToScan` | "Who is hiring" ranking: one row per employer, ranked by ads in the window (scans up to 2,000 ads by default) |
| `includeDescription` | Adds the scrubbed ad text |
| `includeSoleTraders` | Off by default; when on, sole-trader name and number are withheld |
| `mode` / `stateKey` | `window` (default, stateless) or `sinceLastRun`: only ads (or employers) not delivered before for that state key. Ideal for a daily schedule |

Examples:

- Every new nurse ad in Skåne today: `{"occupationGroups":["2221"],"regions":["Skåne"],"maxItems":500}`
- Permanent full-time developer jobs in Stockholm, last 7 days: `{"occupationGroups":["2512"],"regions":["01"],"permanentOnly":true,"fullTimeOnly":true,"daysBack":7,"maxItems":1000}`
- Top 100 hiring employers this week, no staffing firms: `{"onePerEmployer":true,"daysBack":7,"maxAdsToScan":10000,"excludeEmployerKeywords":["bemanning","rekrytering","staffing"],"maxItems":100}`
- Daily delta of electrician ads for a job board: `{"keywords":"elektriker","mode":"sinceLastRun","stateKey":"el","maxItems":1000}`

### Pricing (pay per event)

- `apify-actor-start`: $0.005 per run
- `job-record`: **$0.003 per ad (or employer row) returned**

The default `{}` run (30 newest ads) costs about **$0.095**. 1,000 ads cost about $3. Set a maximum charge on the run and the Actor stops cleanly when it is reached.

### Data notes and limits

- **Source and licence:** Arbetsförmedlingen, JobTech JobSearch API ([data.jobtechdev.se](https://data.jobtechdev.se/dataservice/jobsearch/)). Job-ad data is **CC0**. The source is credited in every record. This Actor is not affiliated with Arbetsförmedlingen.
- **Coverage:** ads published in Platsbanken, including ads that employers post directly and many ads imported from other job sites. Removed ads drop out of the API.
- **Search limit:** the API serves at most 2,100 ads per search. The Actor reads day by day and re-reads busy days region by region, so big windows still work. Requests are sequential and polite (about 3 per second at most); the API itself takes about 0.5-3 s per page of 100.
- **Privacy:** no application contacts, no personal identity numbers, no street addresses or coordinates. If you enable descriptions, remember that free text can still mention people. Use them responsibly and in line with GDPR.

### FAQ

**How is this different from a Platsbanken scraper?** It reads the official open API, not the website. It is entity-clean (no contact persons), adds employer org numbers and SSYK codes, has a "who is hiring" employer ranking, and a delta mode for daily schedules.

**Can I get historical ads?** This Actor covers current ads (up to 60 days back). Arbetsförmedlingen also publishes a separate historical-ads dataset.

# Actor input Schema

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

Maximum job ads (or employers, with onePerEmployer) to return. You pay per record.

## `daysBack` (type: `integer`):

Look at ads published in the last N days (newest first).

## `keywords` (type: `string`):

Free-text search in headline, description and employer (Swedish or English), e.g. 'elektriker', 'python', 'sjuksköterska'.

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

County names or codes, e.g. Stockholm / 01, Skåne / 12, Västra Götaland / 14, Uppsala / 03.

## `municipalityCodes` (type: `array`):

4-digit kommun codes, e.g. 0180 Stockholm, 1480 Göteborg, 1280 Malmö, 0380 Uppsala.

## `occupationGroups` (type: `array`):

4-digit SSYK codes, e.g. 2512 software developers, 2221 nurses, 7411 electricians, 5120 cooks, 8332 truck drivers.

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

Employer names or organisation numbers (10 digits), e.g. Volvo, 5560566258.

## `permanentOnly` (type: `boolean`):

Only tillsvidareanställning (permanent employment).

## `fullTimeOnly` (type: `boolean`):

Only full-time (heltid) ads.

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

Ads that likely allow remote work (Arbetsförmedlingen phrase matching).

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

Only ads that do not require previous experience.

## `minVacancies` (type: `integer`):

Keep ads with at least this many open positions.

## `excludeKeywords` (type: `array`):

Drop ads whose headline or occupation contains any of these words.

## `excludeEmployerKeywords` (type: `array`):

Drop employers whose name contains any of these words, e.g. bemanning, rekrytering, staffing.

## `onePerEmployer` (type: `boolean`):

Scan the window and return one row per employer, ranked by number of ads, with employerAdsInWindow, employerVacanciesInWindow, top occupations and municipalities. Great for B2B 'who is hiring' lists.

## `maxAdsToScan` (type: `integer`):

In onePerEmployer mode, how many ads to read before ranking employers (about 100 ads per request).

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

Adds the ad text. E-mail addresses, phone numbers and names after contact cues are removed, but free text can still mention people; use responsibly.

## `includeSoleTraders` (type: `boolean`):

Ads from sole traders (enskild firma, whose organisation number is a personal identity number) are skipped by default. If included, their name and number are withheld.

## `mode` (type: `string`):

sinceLastRun remembers ad ids (or employers in onePerEmployer mode) already delivered, in a named key-value store, so scheduled runs only return new ones.

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

Separate memory per saved search when mode is sinceLastRun.

## Actor input object example

```json
{
  "maxItems": 30,
  "daysBack": 1,
  "permanentOnly": false,
  "fullTimeOnly": false,
  "remoteOnly": false,
  "noExperienceRequired": false,
  "onePerEmployer": false,
  "maxAdsToScan": 2000,
  "includeDescription": false,
  "includeSoleTraders": false,
  "mode": "window",
  "stateKey": "default"
}
```

# Actor output Schema

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

One record per ad (or per employer in onePerEmployer mode).

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

Filters, API totals, drops, requests.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("moment-data/sweden-job-ads-feed").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("moment-data/sweden-job-ads-feed").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 '{}' |
apify call moment-data/sweden-job-ads-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moment-data/sweden-job-ads-feed"
        }
    }
}
```

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/HLkQENLO5XdgD3lTb/builds/opHzbtKnvge9OjDXy/openapi.json
