# Le Forem Job Scraper (`unfenced-group/leforem-scraper`) Actor

Scrape 40,000+ job listings from Le Forem, the Wallonia public employment service. Filter by keyword, location, contract type and date. Rich output: description, contact, skills, education.

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

## Pricing

from $1.50 / 1,000 results

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

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

## Le Forem Scraper

![Le Forem Scraper](https://i.imgur.com/CNOZxEP.png)

Extract structured job listings from [Le Forem](https://www.leforem.be) — the Wallonia public employment service covering 40,000+ active vacancies across French-speaking Belgium.

> **Privacy notice:** This scraper does not collect personal contact information such as recruiter names or email addresses. Only publicly visible, job-related data is returned.

### Features

- **Full-text keyword search** — filter by job title, skills or any keyword
- **Location filtering** — search by city, arrondissement or province (fuzzy match)
- **Date filtering** — retrieve only recently published listings (e.g. last 7 days)
- **Contract type filter** — CDI, CDD, Remplacement, Salarié statutaire
- **Work schedule filter** — full-time or part-time
- **Rich detail output** — job description (HTML, plain text, Markdown), required languages, education, experience, driving licences
- **Cross-run deduplication** — optional 90-day fingerprint memory to skip reposts
- **Direct URL scraping** — scrape specific offer pages by URL

### Input parameters

| Parameter | Type | Description |
|---|---|---|
| `keywords` | String | Search keywords (e.g. `infirmier`, `développeur java`) |
| `location` | String | City, arrondissement or province in Wallonia (e.g. `Liège`, `Namur`) |
| `contractType` | String | Contract type filter, partial match (e.g. `Durée indéterminée`, `Durée déterminée`) |
| `workSchedule` | String | Work schedule filter: `Temps plein` or `Temps partiel` |
| `daysOld` | Integer | Only listings published within the last N days |
| `maxItems` | Integer | Maximum number of results to return |
| `fetchDetails` | Boolean | Fetch full job details (description, skills, education). Default: `true` |
| `skipReposts` | Boolean | Skip listings seen in a previous run (90-day memory). Default: `false` |
| `startUrls` | Array | Specific Le Forem offer URLs to scrape directly |

### Output

Each result contains the following fields:

| Field | Type | Description |
|---|---|---|
| `id` | Number | Le Forem's unique offer ID |
| `referenceNumber` | String | Reference number |
| `jobTitle` | String | Job title |
| `employer` | String | Employer name |
| `locations` | Array | Work location(s) |
| `contractType` | String | Contract type (e.g. `Durée indéterminée`) |
| `workSchedule` | String | Work schedule (e.g. `Temps plein`) |
| `workSchedulePrecision` | String | Additional schedule detail (e.g. shift pattern) |
| `languages` | Array | Required language codes (e.g. `["FR", "EN"]`) |
| `languageDetails` | Array | Language requirements with proficiency level |
| `sectors` | Array | Activity sector(s) |
| `metier` | String | Occupational category |
| `numberOfPositions` | Number | Number of open positions |
| `publishDate` | String | Publication date (YYYY-MM-DD) |
| `publishDateISO` | String | Publication date ISO 8601 |
| `expiresDate` | String | Listing expiry date (YYYY-MM-DD) |
| `isApplicationEnabled` | Boolean | Whether online application is available |
| `url` | String | Direct URL to the job listing |
| `description` | String | Full job description (HTML) |
| `descriptionText` | String | Full job description (plain text) |
| `descriptionMarkdown` | String | Full job description (Markdown) |
| `educationLevel` | String | Required education level |
| `educationRequired` | Array | Education field(s) required |
| `experienceRequired` | Array | Experience requirement(s) |
| `drivingLicenses` | Array | Required driving licences |
| `certifications` | Array | Required certifications |
| `softSkills` | Array | Soft skills required |
| `officeSkills` | Array | Office/computer skills required |
| `benefitsComments` | String | Benefits description |
| `isTravelRequired` | Boolean | Whether the role requires travel |
| `isRepost` | Boolean | Whether this listing has been seen before |
| `originalPublishDate` | String | Original publication date (reposts only) |
| `scrapedAt` | String | Date this result was scraped |

### Example output

```json
{
  "id": 1851670,
  "referenceNumber": "1851670",
  "jobTitle": "Project Engineer FR/ANG (H/F/X)",
  "employer": "L.I.P. Belgique",
  "locations": ["Arrondissement de Mons"],
  "contractType": "Durée indéterminée",
  "workSchedule": "Temps plein",
  "languages": ["EN"],
  "languageDetails": [
    {
      "code": "EN",
      "name": "Anglais",
      "level": "B2 - Avancé",
      "comment": "Good command of written and spoken English required"
    }
  ],
  "sectors": ["Activités des agences de placement de main-d'oeuvre"],
  "metier": "Responsable recherche-développement en industrie",
  "numberOfPositions": 1,
  "publishDate": "2026-04-04",
  "publishDateISO": "2026-04-04",
  "expiresDate": "2026-04-11",
  "isApplicationEnabled": true,
  "url": "https://www.leforem.be/recherche-offres/offre-detail/1851670",
  "description": "<p><strong>Your main tasks:</strong>...</p>",
  "descriptionText": "Your main tasks: ...",
  "descriptionMarkdown": "**Your main tasks:**\n...",
  "isTravelRequired": true,
  "isRepost": false,
  "scrapedAt": "2026-04-04"
}
````

### Pricing

This actor uses **pay-per-result** pricing at **$1.50 per 1,000 results**.

| Volume | Cost |
|---|---|
| 1,000 results | $1.50 |
| 5,000 results | $7.50 |
| 10,000 results | $15.00 |
| Full catalogue (~42,000) | ~$63.00 |

Fetching details (`fetchDetails: true`) increases run time but not the per-result price.

### Performance

| Mode | Speed |
|---|---|
| List only (`fetchDetails: false`) | ~300–400 results/min |
| With details (`fetchDetails: true`) | ~60–80 results/min |
| `startUrls` (direct) | ~80–100 results/min |

### Known limitations

- **Wallonia only** — Le Forem covers French-speaking Wallonia. For Flanders use the [VDAB Scraper](https://apify.com/unfenced-group/vdab-scraper); for all of Belgium use [Jobat Scraper](https://apify.com/unfenced-group/jobat-scraper).
- **No salary data** — Le Forem does not publish salary information in structured form.
- **No personal contact data** — recruiter names and email addresses are intentionally not collected.

### Additional services

Need job data from other Belgian or European platforms?

- **[Jobat Scraper](https://apify.com/unfenced-group/jobat-scraper)** — Belgium's largest job board (Flanders + Brussels + Wallonia)
- **[VDAB Scraper](https://apify.com/unfenced-group/vdab-scraper)** — Flanders public employment service
- **[Stepstone Belgium Scraper](https://apify.com/unfenced-group/stepstone-be-scraper)** — Stepstone.be

***

*Built and maintained by [unfenced-group](https://apify.com/unfenced-group).*

# Actor input Schema

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

Search keywords (e.g. 'infirmier', 'développeur java'). Leave empty to retrieve all listings.

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

City, arrondissement or province in Wallonia (e.g. 'Liège', 'Namur', 'Bruxelles'). Partial match supported.

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

Filter by contract type (partial match). Examples: 'Durée indéterminée', 'Durée déterminée', 'Remplacement', 'Salarié statutaire'. Leave empty for all.

## `workSchedule` (type: `string`):

Filter by work schedule (partial match). Use 'Temps plein' or 'Temps partiel'. Leave empty for all.

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

Only return listings published within the last N days. Leave empty for all listings.

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

Maximum number of job listings to return. Leave empty for all matching listings.

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

When enabled, fetches the full job detail page for each listing (richer output: description, contact, skills, education).

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

Skip job listings that have been seen in a previous run (cross-run deduplication with 90-day memory).

## `startUrls` (type: `array`):

Scrape specific Le Forem job offer URLs directly (e.g. https://www.leforem.be/recherche-offres/offre-detail/1851670). Overrides all search filters when provided.

## Actor input object example

```json
{
  "keywords": "infirmier",
  "maxItems": 100,
  "fetchDetails": true,
  "skipReposts": false,
  "startUrls": []
}
```

# 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 = {
    "keywords": "infirmier",
    "location": "",
    "contractType": "",
    "workSchedule": "",
    "maxItems": 100,
    "fetchDetails": true,
    "skipReposts": false,
    "startUrls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("unfenced-group/leforem-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": "infirmier",
    "location": "",
    "contractType": "",
    "workSchedule": "",
    "maxItems": 100,
    "fetchDetails": True,
    "skipReposts": False,
    "startUrls": [],
}

# Run the Actor and wait for it to finish
run = client.actor("unfenced-group/leforem-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 '{
  "keywords": "infirmier",
  "location": "",
  "contractType": "",
  "workSchedule": "",
  "maxItems": 100,
  "fetchDetails": true,
  "skipReposts": false,
  "startUrls": []
}' |
apify call unfenced-group/leforem-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Le Forem Job Scraper",
        "description": "Scrape 40,000+ job listings from Le Forem, the Wallonia public employment service. Filter by keyword, location, contract type and date. Rich output: description, contact, skills, education.",
        "version": "0.0",
        "x-build-id": "dK8ilkd1DtpvemS8P"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/unfenced-group~leforem-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-unfenced-group-leforem-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~leforem-scraper/runs": {
            "post": {
                "operationId": "runs-sync-unfenced-group-leforem-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~leforem-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-unfenced-group-leforem-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": {
                    "keywords": {
                        "title": "Keywords",
                        "type": "string",
                        "description": "Search keywords (e.g. 'infirmier', 'développeur java'). Leave empty to retrieve all listings."
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City, arrondissement or province in Wallonia (e.g. 'Liège', 'Namur', 'Bruxelles'). Partial match supported."
                    },
                    "contractType": {
                        "title": "Contract type",
                        "type": "string",
                        "description": "Filter by contract type (partial match). Examples: 'Durée indéterminée', 'Durée déterminée', 'Remplacement', 'Salarié statutaire'. Leave empty for all."
                    },
                    "workSchedule": {
                        "title": "Work schedule",
                        "type": "string",
                        "description": "Filter by work schedule (partial match). Use 'Temps plein' or 'Temps partiel'. Leave empty for all."
                    },
                    "daysOld": {
                        "title": "Maximum age (days)",
                        "minimum": 1,
                        "maximum": 365,
                        "type": "integer",
                        "description": "Only return listings published within the last N days. Leave empty for all listings."
                    },
                    "maxItems": {
                        "title": "Maximum results",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of job listings to return. Leave empty for all matching listings."
                    },
                    "fetchDetails": {
                        "title": "Fetch full job details",
                        "type": "boolean",
                        "description": "When enabled, fetches the full job detail page for each listing (richer output: description, contact, skills, education).",
                        "default": true
                    },
                    "skipReposts": {
                        "title": "Skip reposts",
                        "type": "boolean",
                        "description": "Skip job listings that have been seen in a previous run (cross-run deduplication with 90-day memory).",
                        "default": false
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Scrape specific Le Forem job offer URLs directly (e.g. https://www.leforem.be/recherche-offres/offre-detail/1851670). Overrides all search filters when provided.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
