# Arbetsformedlingen Job Scraper (`blackfalcondata/arbetsformedlingen-scraper`) Actor

Scrape arbetsformedlingen.se (Platsbanken) — Sweden's official employment portal. Returns 84 structured fields per listing with skills taxonomy, coordinates, and incremental mode with repost detection.

- **URL**: https://apify.com/blackfalcondata/arbetsformedlingen-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** Jobs, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### What does Arbetsformedlingen Job Scraper do?

Arbetsformedlingen Job Scraper extracts structured job data from [arbetsformedlingen.se](https://arbetsformedlingen.se) — including salary data, contact details, company metadata, full descriptions, location data, and skill tags. It supports keyword search, location filters, and controllable result limits, so you can run the same query consistently over time. The actor also offers detail enrichment (full descriptions, company metadata, and contact information) where the source provides them.

### Key features

- **Incremental mode** — recurring runs emit and charge only for listings that are new or whose tracked content changed. First run builds the baseline state; subsequent runs emit only new or changed records.
- **Detail enrichment** — full descriptions, company metadata, and contact information where the source provides them.
- **Compact mode** — AI-agent and MCP-friendly payloads with core fields only.

### What data can you extract from arbetsformedlingen.se?

Each result includes Core listing fields (`jobId`, `jobKey`, `externalId`, `originalId`, `labels`, `title`, `workplaceName`, and `location`, and more), detail fields when enrichment is enabled (`description`, `descriptionHtml`, `descriptionMarkdown`, `descriptionNeeds`, and `descriptionRequirements`), contact and apply information (`email`, `phone`, `contactName`, and `contactEmail`), and company metadata (`company`, `descriptionCompanyInfo`, `companyLogo`, and `companyUrl`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

Enable detail enrichment in the input to get richer fields such as full descriptions, company metadata, and contact information where the source provides them.

### Input

The main inputs are a search keyword, an optional location filter, and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`query`** — Job search keywords. Leave empty to browse all live jobs in Sweden.
- **`location`** — City or region name appended to the search query (e.g. Stockholm, Göteborg).
- **`publishedAfter`** — Only return jobs published after this date (ISO 8601, e.g. 2026-04-15T00:00:00 for the last week).
- **`sortBy`** — Sort order for results. Defaults to relevance. (default: `"relevance"`)
- **`maxResults`** — Maximum results to return. 0 = unlimited (up to 2,100 per query due to API offset cap). (default: `25`)
- **`includeDetails`** — Re-fetch each job via /ad/{id}. The SERP already returns all fields with resdet=full, so this is only useful for freshness verification. (default: `false`)
- **`descriptionMaxLength`** — Truncate description to N chars. 0 = no truncation. (default: `0`)
- **`compact`** — Core fields only (for AI-agent/MCP workflows). (default: `false`)
- **`incrementalMode`** — Compare against previous run state (persisted per stateKey). Enables changeType/isRepost fields and the skipReposts/emitUnchanged/emitExpired flags. Requires stateKey. (default: `false`)
- **`stateKey`** — Stable identifier for the tracked universe (e.g. "devs-stockholm"). Runs sharing a stateKey see each other's history. Required when incrementalMode is true.
- **`emitUnchanged`** — Also emit jobs with changeType=UNCHANGED. Requires incrementalMode+stateKey (otherwise ignored with a warning). (default: `false`)
- **`emitExpired`** — Also emit jobs that disappeared since the last run (changeType=EXPIRED). Requires incrementalMode+stateKey (otherwise ignored with a warning). (default: `false`)
- ...and 1 more parameters

### Input examples

**Basic search** — Keyword-driven search with a result cap.

→ Full payload per result — all standard fields populated where the source provides them.

```json
{
  "query": "mjukvaruutvecklare",
  "maxResults": 50
}
````

**Incremental tracking** — Only emit jobs that changed since the previous run with this `stateKey`.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set `emitUnchanged: true` to include unchanged records as well.

```json
{
  "query": "mjukvaruutvecklare",
  "maxResults": 200,
  "incrementalMode": true,
  "stateKey": "mjukvaruutvecklare-tracker"
}
```

**Compact output for AI agents** — Return only core fields for AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

```json
{
  "query": "mjukvaruutvecklare",
  "maxResults": 50,
  "compact": true
}
```

### Output

Each run produces a dataset of structured job records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example job record

```json
{
  "jobId": "2924edbdc95cc9c0a6cdc813910d1270beb65db257236dce04884e3ecc6e8c94",
  "jobKey": "30943612",
  "externalId": null,
  "originalId": null,
  "labels": [],
  "title": "Lärare i matematik, no och teknik åk 7-9 Mariebergsskolan",
  "company": "Karlstads kommun",
  "workplaceName": "Barn- och ungdomsförvaltningen, Grundskola, Mariebergsskolan",
  "location": "Karlstad, Värmlands län",
  "municipality": "Karlstad",
  "municipalityCode": "1780",
  "municipalityConceptId": "hRDj_PoV_sFU",
  "region": "Värmlands län",
  "regionCode": "17",
  "regionConceptId": "EVVp_h6U_GSZ",
  "country": "Sverige",
  "countryCode": "199",
  "countryConceptId": "i46j_HmG_v64",
  "streetAddress": "Västra torggatan 26",
  "postcode": "65184",
  "coordinates": [
    13.5229996,
    59.3835313
  ],
  "description": "Beskrivning\nPå Mariebergsskolan får du de bästa förutsättningarna att kunna göra ett bra jobb! - Det är vårt motto\nMariebergsskolan är en högstadieskola med drygt 420 elever i årskurserna 7-9. Skolans...",
  "descriptionHtml": "<p><p><strong>Beskrivning</strong></p><p>På Mariebergsskolan får du de bästa förutsättningarna att kunna göra ett bra jobb! - Det är vårt motto</p><p>Mariebergsskolan är en högstadieskola med drygt 42...",
  "descriptionMarkdown": "**Beskrivning**\n\nPå Mariebergsskolan får du de bästa förutsättningarna att kunna göra ett bra jobb! - Det är vårt motto\n\nMariebergsskolan är en högstadieskola med drygt 420 elever i årskurserna 7-9. S...",
  "descriptionCompanyInfo": null
}
```

### Incremental fields

When `incremental: true`, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`. Default output covers `NEW` / `UPDATED` / `REAPPEARED`; set `emitUnchanged: true` or `emitExpired: true` to opt into the others.
- `firstSeenAt`, `lastSeenAt` — ISO-8601 timestamps tracking the listing across runs.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape arbetsformedlingen.se

1. Go to [Arbetsformedlingen Job Scraper](https://apify.com/blackfalcondata/arbetsformedlingen-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword and optional location filter.
3. Set `maxResults` to control how many results you need.
4. Enable `includeDetails` if you need full descriptions, contact info, or company data.
5. Click **Start** and wait for the run to finish.
6. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract job data from arbetsformedlingen.se for market research and competitive analysis.
- Track salary trends across regions and categories over time.
- Monitor new and changed listings on scheduled runs without processing the full dataset every time.
- Build outreach lists using contact details and apply URLs from listings.
- Research company hiring patterns, employer profiles, and industry distribution.
- Use structured location data for regional analysis, mapping, and geo-targeting.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.
- Analyze skill demand across listings using structured skill tags.

### How much does it cost to scrape arbetsformedlingen.se?

Arbetsformedlingen Job Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.0015 per run
- **Per result:** $0.003 per job record

Example costs:

- 10 results: **$0.03**
- 100 results: **$0.3**
- 500 results: **$1.5**

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of listings that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 100 results per run, daily polling (30 runs/month). Event-pricing examples scale linearly with result count.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $0.30 | $0.02 | $0.28 (95%) | $0.49 |
| 15% — moderate broad query | $0.30 | $0.05 | $0.26 (85%) | $1.40 |
| 30% — high-volume aggregator | $0.30 | $0.09 | $0.21 (70%) | $2.75 |

Full re-scrape monthly cost at daily polling: $9.04. First month with incremental costs $0.78 / $1.65 / $2.95 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage (compute and proxies) is billed separately by Apify based on actual consumption. Incremental runs consume less on result processing, though fixed per-run overhead stays the same.

### FAQ

#### How many results can I get from arbetsformedlingen.se?

The number of results depends on the search query and available listings on arbetsformedlingen.se. Use the `maxResults` parameter to control how many results are returned per run.

#### Does Arbetsformedlingen Job Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed listings on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Arbetsformedlingen Job Scraper with other apps?

Yes. Arbetsformedlingen Job Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Arbetsformedlingen Job Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Arbetsformedlingen Job Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode and `descriptionMaxLength` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape arbetsformedlingen.se?

This actor extracts publicly available data from arbetsformedlingen.se. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/arbetsformedlingen-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [Actiris Brussels Job Scraper](https://apify.com/blackfalcondata/actiris-scraper?fpr=1h3gvi) — Scrape all active job listings from actiris.brussels — official Brussels public employment service..
- [Adzuna Job Scraper](https://apify.com/blackfalcondata/adzuna-scraper?fpr=1h3gvi) — Scrape adzuna.com - the global job board with 20+ country markets. Structured salary.
- [APEC.fr Scraper - French Executive Jobs](https://apify.com/blackfalcondata/apec-scraper?fpr=1h3gvi) — Scrape apec.fr - French executive job listings with salary ranges, company, location, skills,.
- [Arbeitsagentur Scraper - German Jobs](https://apify.com/blackfalcondata/arbeitsagentur-scraper?fpr=1h3gvi) — Scrape arbeitsagentur.de - Germany’s official employment portal with 1M+ listings. Contact data,.
- [AutoScout24 Scraper](https://apify.com/blackfalcondata/autoscout24-scraper?fpr=1h3gvi) — Scrape autoscout24.com - Europe's largest used car marketplace with 770K+ listings. Structured.
- [Bayt.com Scraper - Jobs from the Middle East](https://apify.com/blackfalcondata/bayt-scraper?fpr=1h3gvi) — Scrape bayt.com - the leading Middle East job board. Salary data, experience requirements.
- [Bilbasen Scraper - Denmark’s Car Marketplace](https://apify.com/blackfalcondata/bilbasen-scraper?fpr=1h3gvi) — Scrape bilbasen.dk - Denmark’s largest car marketplace. Full vehicle specifications, seller.
- [Bumeran Scraper](https://apify.com/blackfalcondata/bumeran-scraper?fpr=1h3gvi) — Scrape bumeran.com.ar - the largest job board across 8 LATAM countries. Work modality, contract.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

# Actor input Schema

## `query` (type: `string`):

Job search keywords. Leave empty to browse all live jobs in Sweden.

## `location` (type: `string`):

City or region name appended to the search query (e.g. Stockholm, Göteborg).

## `publishedAfter` (type: `string`):

Only return jobs published after this date (ISO 8601, e.g. 2026-04-15T00:00:00 for the last week).

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

Sort order for results. Defaults to relevance.

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

Maximum results to return. 0 = unlimited (up to 2,100 per query due to API offset cap).

## `includeDetails` (type: `boolean`):

Re-fetch each job via /ad/{id}. The SERP already returns all fields with resdet=full, so this is only useful for freshness verification.

## `descriptionMaxLength` (type: `integer`):

Truncate description to N chars. 0 = no truncation.

## `compact` (type: `boolean`):

Core fields only (for AI-agent/MCP workflows).

## `incrementalMode` (type: `boolean`):

Compare against previous run state (persisted per stateKey). Enables changeType/isRepost fields and the skipReposts/emitUnchanged/emitExpired flags. Requires stateKey.

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

Stable identifier for the tracked universe (e.g. "devs-stockholm"). Runs sharing a stateKey see each other's history. Required when incrementalMode is true.

## `emitUnchanged` (type: `boolean`):

Also emit jobs with changeType=UNCHANGED. Requires incrementalMode+stateKey (otherwise ignored with a warning).

## `emitExpired` (type: `boolean`):

Also emit jobs that disappeared since the last run (changeType=EXPIRED). Requires incrementalMode+stateKey (otherwise ignored with a warning).

## `skipReposts` (type: `boolean`):

Skip jobs whose content matches an expired job from a prior run. Requires incrementalMode + stateKey — repost detection compares against historical state, so without them this flag has no effect (a warning is logged).

## Actor input object example

```json
{
  "query": "mjukvaruutvecklare",
  "sortBy": "relevance",
  "maxResults": 10,
  "includeDetails": false,
  "descriptionMaxLength": 0,
  "compact": false,
  "incrementalMode": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "skipReposts": false
}
```

# Actor output Schema

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

No description

# 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 = {
    "query": "mjukvaruutvecklare",
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/arbetsformedlingen-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 = {
    "query": "mjukvaruutvecklare",
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/arbetsformedlingen-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 '{
  "query": "mjukvaruutvecklare",
  "maxResults": 10
}' |
apify call blackfalcondata/arbetsformedlingen-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Arbetsformedlingen Job Scraper",
        "description": "Scrape arbetsformedlingen.se (Platsbanken) — Sweden's official employment portal. Returns 84 structured fields per listing with skills taxonomy, coordinates, and incremental mode with repost detection.",
        "version": "0.1",
        "x-build-id": "Rfg7GeJRh9lKkHUMO"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/blackfalcondata~arbetsformedlingen-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-blackfalcondata-arbetsformedlingen-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/blackfalcondata~arbetsformedlingen-scraper/runs": {
            "post": {
                "operationId": "runs-sync-blackfalcondata-arbetsformedlingen-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/blackfalcondata~arbetsformedlingen-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-blackfalcondata-arbetsformedlingen-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": {
                    "query": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Job search keywords. Leave empty to browse all live jobs in Sweden."
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City or region name appended to the search query (e.g. Stockholm, Göteborg)."
                    },
                    "publishedAfter": {
                        "title": "Published After",
                        "type": "string",
                        "description": "Only return jobs published after this date (ISO 8601, e.g. 2026-04-15T00:00:00 for the last week)."
                    },
                    "sortBy": {
                        "title": "Sort By",
                        "enum": [
                            "relevance",
                            "pubdate-desc",
                            "pubdate-asc",
                            "apdate-asc",
                            "apdate-desc"
                        ],
                        "type": "string",
                        "description": "Sort order for results. Defaults to relevance.",
                        "default": "relevance"
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 0,
                        "maximum": 2100,
                        "type": "integer",
                        "description": "Maximum results to return. 0 = unlimited (up to 2,100 per query due to API offset cap).",
                        "default": 25
                    },
                    "includeDetails": {
                        "title": "Include Details",
                        "type": "boolean",
                        "description": "Re-fetch each job via /ad/{id}. The SERP already returns all fields with resdet=full, so this is only useful for freshness verification.",
                        "default": false
                    },
                    "descriptionMaxLength": {
                        "title": "Description Max Length",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Truncate description to N chars. 0 = no truncation.",
                        "default": 0
                    },
                    "compact": {
                        "title": "Compact Output",
                        "type": "boolean",
                        "description": "Core fields only (for AI-agent/MCP workflows).",
                        "default": false
                    },
                    "incrementalMode": {
                        "title": "Incremental Mode",
                        "type": "boolean",
                        "description": "Compare against previous run state (persisted per stateKey). Enables changeType/isRepost fields and the skipReposts/emitUnchanged/emitExpired flags. Requires stateKey.",
                        "default": false
                    },
                    "stateKey": {
                        "title": "State Key",
                        "type": "string",
                        "description": "Stable identifier for the tracked universe (e.g. \"devs-stockholm\"). Runs sharing a stateKey see each other's history. Required when incrementalMode is true."
                    },
                    "emitUnchanged": {
                        "title": "Emit Unchanged",
                        "type": "boolean",
                        "description": "Also emit jobs with changeType=UNCHANGED. Requires incrementalMode+stateKey (otherwise ignored with a warning).",
                        "default": false
                    },
                    "emitExpired": {
                        "title": "Emit Expired",
                        "type": "boolean",
                        "description": "Also emit jobs that disappeared since the last run (changeType=EXPIRED). Requires incrementalMode+stateKey (otherwise ignored with a warning).",
                        "default": false
                    },
                    "skipReposts": {
                        "title": "Skip Reposts",
                        "type": "boolean",
                        "description": "Skip jobs whose content matches an expired job from a prior run. Requires incrementalMode + stateKey — repost detection compares against historical state, so without them this flag has no effect (a warning is logged).",
                        "default": false
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
