# Werk.nl Vacatures Scraper (`unfenced-group/werk-nl-scraper`) Actor

Scrape werk.nl — the official Dutch government job board with 250,000+ listings. Structured output: salary, contract type, education level, working hours. Self-healing filters, repost detection & daysOld support. No API key required.

- **URL**: https://apify.com/unfenced-group/werk-nl-scraper.md
- **Developed by:** [Unfenced Group](https://apify.com/unfenced-group) (community)
- **Categories:** Jobs, Automation, Developer tools
- **Stats:** 25 total users, 8 monthly users, 82.1% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

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

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

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

## Werk.nl Vacatures Scraper

![werk-nl-scraper](https://api.apify.com/v2/key-value-stores/lJlifu6C8YQfZMPKE/records/werk-nl-scraper)

Extract structured job listings from **werk.nl** — the official Dutch government job board (UWV) with 250,000+ active vacancies across all sectors and regions. No API key required.

---

### Why this scraper?

| Feature | Details |
|---|---|
| **Scale** | 250,000+ active listings across all Dutch provinces and sectors |
| **Self-healing filters** | Contract type and education level codes are auto-discovered from the live API — filters keep working even after Werk.nl API changes that break hardcoded scrapers |
| **Three description formats** | HTML, plain text, and Markdown — ready for any downstream pipeline or storage |
| **Repost detection** | 90-day cross-run fingerprinting identifies when employers re-publish the same vacancy with a new ID |
| **Rich metadata** | Salary range, working hours, education level, contract type, target group flags |
| **Flexible input** | Up to 3 simultaneous keyword searches, city + radius, contract type, education level, sort order |

---

### Input parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `searchQuery` | String | `""` | Job title or keyword(s) to search for |
| `location` | String | `""` | City or postal code |
| `distance` | Integer | `30` | Search radius in km |
| `contractType` | String | — | Filter by contract type (auto-discovered from live API) |
| `educationLevel` | String | — | Filter by education level (auto-discovered from live API) |
| `sortBy` | String | `relevance` | Sort order: `relevance`, `distance`, or `date` |
| `maxResults` | Integer | `100` | Maximum number of results to return |
| `fetchDetails` | Boolean | `true` | Fetch full job description from detail page |
| `daysOld` | Integer | — | Only return listings posted within this many days |
| `skipReposts` | Boolean | `false` | Skip listings already seen in a previous run |
| `startUrls` | Array | `[]` | Specific Werk.nl vacancy URLs to scrape directly |

---

### Output schema

Each result is a JSON object. Example:

```json
{
    "id": "2526d745-b4c3-4a1e-9f12-abc123def456",
    "url": "https://www.werk.nl/vacatures/12345",
    "title": "Senior Software Engineer",
    "company": "Poki",
    "city": "Amsterdam",
    "salary": "€4.000 - €6.000",
    "salaryMin": 4000,
    "salaryMax": 6000,
    "salaryPeriod": "MONTH",
    "contractType": "Vast",
    "educationLevel": "HBO/bachelor",
    "hoursMin": 32,
    "hoursMax": 40,
    "publishDate": "2026-02-20",
    "publishDateISO": "2026-02-20",
    "expiryDate": "2026-03-22",
    "applyUrl": "https://...",
    "description": "<p>Full job description HTML...</p>",
    "descriptionText": "Full job description plain text...",
    "descriptionMarkdown": "Full job description Markdown...",
    "isInternship": false,
    "isForYouth": false,
    "isFor50Plus": false,
    "isForDisabled": false,
    "isBanenafspraak": false,
    "isRepost": false,
    "originalPublishDate": null,
    "source": "werk.nl",
    "scrapedAt": "2026-03-31T10:00:00.000Z"
}
````

***

### Examples

**Basic keyword search:**

```json
{ "searchQuery": "software developer", "maxResults": 50 }
```

**Location + contract filter:**

```json
{
    "searchQuery": "verpleegkundige",
    "location": "Utrecht",
    "distance": 25,
    "contractType": "Vast",
    "maxResults": 200
}
```

**Recent listings only:**

```json
{
    "searchQuery": "data analyst",
    "daysOld": 7,
    "sortBy": "date",
    "maxResults": 100
}
```

***

### 💰 Pricing

**$1.25 per 1,000 results** — you only pay for successfully retrieved listings.
Failed retries and filtered reposts are never charged.

| Results | Cost |
|---------|------|
| 100 | ~$0.13 |
| 1,000 | ~$1.25 |
| 10,000 | ~$12.50 |
| 100,000 | ~$125.00 |

> Flat-rate alternatives typically charge $29–$49/month regardless of usage.
> At 10,000 results/month, this scraper costs significantly less with no commitment.

***

### Pricing

This actor uses **Pay Per Result** pricing at **$1.25 per 1,000 results**.

| Volume | Cost |
|---|---|
| 100 results | $0.12 |
| 1,000 results | $1.25 |
| 10,000 results | $12.50 |

No subscription fees. Pay only for successfully scraped listings.

***

### Performance

| Scenario | Results | Duration |
|---|---|---|
| Keyword search, no details | 1,000 | ~2 minutes |
| Keyword search, with details | 500 | ~5 minutes |
| Full catalogue scan | 10,000 | ~25 minutes |

***

### Known limitations

- **Apply URL:** Direct application links are only available when the employer includes an external redirect. Internal UWV applications do not have a direct URL.
- **Salary:** Not published by all employers — will be `null` when unavailable.
- **Filter codes:** Werk.nl uses internal numeric codes for contract type and education level that change without notice. This scraper auto-discovers the correct codes at runtime.

***

### Technical details

- **Source:** werk.nl — official Dutch government job board (UWV)
- **Memory:** 1024 MB
- **Repost storage:** KeyValueStore `werk-nl-job-dedup`, 90-day TTL
- **Retry:** Automatic retry on network errors, exponential backoff, 3 attempts per request

***

### Additional services

Need a custom actor, additional filters, scheduled runs, or integration support?.nl]\(mailto:info@unfencedgroup.nl) — we build on request.

***

***

### Need a custom scraper?

**[Unfenced Group](https://www.unfencedgroup.nl)** builds Apify actors for any website — for free.

If the site you need isn't in our portfolio yet, just ask. We scope, build, and publish it at no cost to you. You only pay for results — we absorb the compute and proxy costs ourselves. Same pay-per-result pricing, same quality, same standards as every actor in this portfolio.

**Get in touch:** [www.unfencedgroup.nl](https://www.unfencedgroup.nl)

# Actor input Schema

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

Job title or keyword, e.g. 'developer'. Leave empty for all jobs.

## `keywords2` (type: `string`):

Optional second keyword for batch searches.

## `keywords3` (type: `string`):

Optional third keyword for batch searches.

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

City or postcode, e.g. 'Amsterdam'. Leave empty for all of the Netherlands.

## `distance` (type: `string`):

Search radius in km. Leave empty for all of the Netherlands.

## `contractType` (type: `string`):

Filter by contract type. Codes are resolved from the live API.

## `educationLevel` (type: `string`):

Filter by required education level. Codes are resolved from the live API.

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

Sort order for results.

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

Maximum number of results to scrape (1–5000).

## `fetchDetails` (type: `boolean`):

ON: fetches full job description, salary, company info, and all details. OFF: returns basic listing info only (faster, lower cost).

## `daysOld` (type: `integer`):

Skip jobs older than N days. Leave empty for no filter.

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

Detect and skip jobs already seen in a previous run (same title + company + city). Useful for daily monitoring.

## `debugMode` (type: `boolean`):

Save screenshots and extra logs. For troubleshooting only.

## Actor input object example

```json
{
  "searchQuery": "",
  "keywords2": "",
  "keywords3": "",
  "location": "",
  "distance": "",
  "contractType": "",
  "educationLevel": "",
  "sortBy": "dichtbij",
  "maxResults": 5,
  "fetchDetails": false,
  "skipReposts": false,
  "debugMode": false
}
```

# Actor output Schema

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

Dataset met gescrapete vacatures van Werk.nl

# 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("unfenced-group/werk-nl-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("unfenced-group/werk-nl-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 '{}' |
apify call unfenced-group/werk-nl-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Werk.nl Vacatures Scraper",
        "description": "Scrape werk.nl — the official Dutch government job board with 250,000+ listings. Structured output: salary, contract type, education level, working hours. Self-healing filters, repost detection & daysOld support. No API key required.",
        "version": "1.0",
        "x-build-id": "KeQzTXbbhTjey2sMr"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/unfenced-group~werk-nl-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-unfenced-group-werk-nl-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/unfenced-group~werk-nl-scraper/runs": {
            "post": {
                "operationId": "runs-sync-unfenced-group-werk-nl-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/unfenced-group~werk-nl-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-unfenced-group-werk-nl-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": {
                    "searchQuery": {
                        "title": "Search keyword",
                        "type": "string",
                        "description": "Job title or keyword, e.g. 'developer'. Leave empty for all jobs.",
                        "default": ""
                    },
                    "keywords2": {
                        "title": "Search keyword 2 (batch)",
                        "type": "string",
                        "description": "Optional second keyword for batch searches.",
                        "default": ""
                    },
                    "keywords3": {
                        "title": "Search keyword 3 (batch)",
                        "type": "string",
                        "description": "Optional third keyword for batch searches.",
                        "default": ""
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City or postcode, e.g. 'Amsterdam'. Leave empty for all of the Netherlands.",
                        "default": ""
                    },
                    "distance": {
                        "title": "Radius (km)",
                        "type": "string",
                        "description": "Search radius in km. Leave empty for all of the Netherlands.",
                        "default": ""
                    },
                    "contractType": {
                        "title": "Contract type",
                        "enum": [
                            "",
                            "Vast",
                            "Mogelijk vast",
                            "Tijdelijk"
                        ],
                        "type": "string",
                        "description": "Filter by contract type. Codes are resolved from the live API.",
                        "default": ""
                    },
                    "educationLevel": {
                        "title": "Education level",
                        "enum": [
                            "",
                            "Basisonderwijs",
                            "VMBO",
                            "MBO",
                            "HBO",
                            "HBO/bachelor",
                            "WO",
                            "WO/master"
                        ],
                        "type": "string",
                        "description": "Filter by required education level. Codes are resolved from the live API.",
                        "default": ""
                    },
                    "sortBy": {
                        "title": "Sort by",
                        "enum": [
                            "dichtbij",
                            "relevantie",
                            "datum"
                        ],
                        "type": "string",
                        "description": "Sort order for results.",
                        "default": "dichtbij"
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Maximum number of results to scrape (1–5000).",
                        "default": 5
                    },
                    "fetchDetails": {
                        "title": "Include full job details",
                        "type": "boolean",
                        "description": "ON: fetches full job description, salary, company info, and all details. OFF: returns basic listing info only (faster, lower cost).",
                        "default": false
                    },
                    "daysOld": {
                        "title": "Max job age (days)",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Skip jobs older than N days. Leave empty for no filter."
                    },
                    "skipReposts": {
                        "title": "Skip reposts",
                        "type": "boolean",
                        "description": "Detect and skip jobs already seen in a previous run (same title + company + city). Useful for daily monitoring.",
                        "default": false
                    },
                    "debugMode": {
                        "title": "Debug mode",
                        "type": "boolean",
                        "description": "Save screenshots and extra logs. For troubleshooting only.",
                        "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
