# Arbeitsagentur.de Scraper - German Federal Job Board (`codingfrontend/arbeitsagentur-de-scraper`) Actor

Read public Bundesagentur für Arbeit job-search results only when written source authorization or a documented applicable exception is confirmed; otherwise emit a transparent policy diagnostic.

- **URL**: https://apify.com/codingfrontend/arbeitsagentur-de-scraper.md
- **Developed by:** [Coding Frontned](https://apify.com/codingfrontend) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does Arbeitsagentur.de Scraper - German Federal Job Board do?

This Actor maintains a policy-aware extractor for public job-search pages on the [Bundesagentur für Arbeit](https://www.arbeitsagentur.de). When source authorization and the robots preflight both permit automated access, it reads server-rendered search links and optionally enriches each public detail page. It normalizes the public job identifier, title, employer, location, contract and employment signals, publication dates, profession labels, remote-work markers, JSON-LD description data, and partner description links.

The default behavior is deliberately non-collecting. The current [Bundesagentur terms](https://www.arbeitsagentur.de/nutzungsbedingungen) prohibit robots, webspiders, similar technologies, and using existing interfaces for data collection. A run with `authorizationConfirmed: false` makes zero source requests and emits one transparent policy diagnostic. Do not set the flag unless you have written authorization or a documented applicable exception.

### Why use Arbeitsagentur.de Scraper - German Federal Job Board?

Use it for an auditable integration where the legal and operational access decision is part of the run summary. The Actor never signs in, submits applications, reads applicant profiles, follows partner description pages, solves challenges, or fabricates descriptions. It emits only source-backed public job rows and exact diagnostics; page observations, policy, and bounded transport evidence stay in `OUTPUT_SUMMARY`/`OUTPUT`.

### How to use Arbeitsagentur.de Scraper - German Federal Job Board

The safe default can be started with `apify run --purge`. For local parser and transport checks, use the fixtures in `test/fixtures`; fixture transport does not bypass the authorization gate in the main runner. The source page must be a public `arbeitsagentur.de` URL.

### Input

```json
{
  "authorizationConfirmed": false,
  "startUrls": [
    "https://www.arbeitsagentur.de/jobsuche/suche?angebotsart=1&wo=Berlin"
  ],
  "maxPages": 1,
  "maxJobs": 10,
  "includeDetails": true,
  "timeoutSecs": 30,
  "maxRetries": 1,
  "maxResponseBytes": 6000000
}
```

`authorizationConfirmed`, `startUrls`, `maxPages`, `maxJobs`, `includeDetails`, and `timeoutSecs` retain their established meanings and defaults. `maxRetries` is capped at two and applies only to transient timeouts and 408/425/429/5xx responses after policy approval. `maxResponseBytes` is bounded between 100,000 and 20,000,000 bytes. `userAgent` is an optional non-authenticated override, and `fixtureFile` is a test-only flat HTML filename under `test/fixtures` or `.actor/fixtures`.

### Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

The `OUTPUT_SUMMARY` key-value record, mirrored by `OUTPUT`, reports the policy decision, source request count, search/detail counts, page/job/diagnostic counts, blocked/error counts, response-size settings, data availability, and terminal status. Normal job rows contain source-backed fields and URLs only; wrapper IDs, source-site labels, extraction-method labels, and page observations are kept out of the dataset. Dataset diagnostics contain exactly `recordType: "diagnostic"`, `url`, `error`, `errorCode`, and `scrapedAt`. Search rows are emitted only when public job-detail links are present. If a detail page links to a partner, the Actor records that public URL but does not fetch it. Public email addresses and formatted phone numbers in descriptions are redacted before storage.

### Data table

| Record type | Main fields | Meaning |
| --- | --- | --- |
| `public job` | `jobId`, `title`, `company`, `location`, `employmentType`, `description`, `jobUrl` | Source-backed vacancy and optional detail enrichment |
| `diagnostic` | `recordType`, `url`, `error`, `errorCode`, `scrapedAt` | Policy, challenge, redirect, size, or transport condition |

### Pricing / Cost estimation

No browser, proxy, login, or paid data API is required. Apify compute and storage charges, if any, depend on your plan. The safe default consumes no source requests. When authorized, keep page/job/response limits low and follow the source retention terms.

### Tips or Advanced options

Set `includeDetails` to `false` when search-page links are sufficient. Use `maxPages` for a bounded set of supplied search pages and `maxJobs` for a bounded unique job set. Increase `timeoutSecs` or `maxRetries` only for permitted, transient network conditions. The Actor follows redirects only when the final URL remains on `arbeitsagentur.de`; outside redirects and non-HTML responses become diagnostics.

### FAQ, disclaimers, and support

Why did the default run return no jobs? Because the source terms currently prohibit automated collection and the Actor is blocked by default. What if I have authorization? Set `authorizationConfirmed` to true only with written authorization or a documented exception; the Actor then checks `robots.txt` before requesting search pages. Does it collect applicant data? No. Does it use partner pages? No, it records but does not follow external description links. For support, provide the run ID, input, `OUTPUT` summary, and diagnostic code without sending credentials, applicant material, or private documents.

# Actor input Schema

## `authorizationConfirmed` (type: `boolean`):

Keep false unless you have written Bundesagentur authorization or a documented applicable exception that permits this automated access. The current terms prohibit robots, webspiders, and similar data-collection technologies.

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

Public arbeitsagentur.de Jobsuche result URLs. The default searches current jobs in Berlin.

## `maxPages` (type: `integer`):

Maximum number of supplied public search pages to process.

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

Maximum unique job rows to emit across the search pages.

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

Request each public job-detail page for location, employment, dates, and description metadata.

## `timeoutSecs` (type: `integer`):

Per-page public request timeout.

## `maxRetries` (type: `integer`):

Bounded retries for timeouts and transient 408/425/429/5xx responses after the authorization and robots gates pass.

## `maxResponseBytes` (type: `integer`):

Bound the size of each public HTML or robots response held in memory.

## `userAgent` (type: `string`):

Optional non-authenticated User-Agent string used only after the authorization gate passes; newlines are removed and the value is capped at 200 characters.

## `fixtureFile` (type: `string`):

Optional flat .html fixture filename under test/fixtures or .actor/fixtures for deterministic parser/transport tests. It does not bypass the authorization gate.

## Actor input object example

```json
{
  "authorizationConfirmed": false,
  "startUrls": [
    "https://www.arbeitsagentur.de/jobsuche/suche?angebotsart=1&wo=Berlin"
  ],
  "maxPages": 1,
  "maxJobs": 10,
  "includeDetails": true,
  "timeoutSecs": 30,
  "maxRetries": 1,
  "maxResponseBytes": 6000000
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing public-source records.

## `keyValueStore` (type: `string`):

Key-value store containing the OUTPUT run summary.

# 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 = {
    "authorizationConfirmed": false,
    "startUrls": [
        "https://www.arbeitsagentur.de/jobsuche/suche?angebotsart=1&wo=Berlin"
    ],
    "maxPages": 1,
    "maxJobs": 10,
    "includeDetails": true,
    "timeoutSecs": 30,
    "maxRetries": 1,
    "maxResponseBytes": 6000000
};

// Run the Actor and wait for it to finish
const run = await client.actor("codingfrontend/arbeitsagentur-de-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 = {
    "authorizationConfirmed": False,
    "startUrls": ["https://www.arbeitsagentur.de/jobsuche/suche?angebotsart=1&wo=Berlin"],
    "maxPages": 1,
    "maxJobs": 10,
    "includeDetails": True,
    "timeoutSecs": 30,
    "maxRetries": 1,
    "maxResponseBytes": 6000000,
}

# Run the Actor and wait for it to finish
run = client.actor("codingfrontend/arbeitsagentur-de-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "authorizationConfirmed": false,
  "startUrls": [
    "https://www.arbeitsagentur.de/jobsuche/suche?angebotsart=1&wo=Berlin"
  ],
  "maxPages": 1,
  "maxJobs": 10,
  "includeDetails": true,
  "timeoutSecs": 30,
  "maxRetries": 1,
  "maxResponseBytes": 6000000
}' |
apify call codingfrontend/arbeitsagentur-de-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,codingfrontend/arbeitsagentur-de-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6UrMQh76eSX0SGTGU/builds/dPoMpNeJUtNPqINC3/openapi.json
