# German Ausbildung Apprenticeship Listings Extractor (`vexaloom-labs/german-ausbildung-apprenticeship-listings`) Actor

Pull German apprenticeship (Ausbildung) openings from ausbildung.de by city and industry, by nationwide profession, or by free-text keyword, with diploma, training-type and start-date filters.

- **URL**: https://apify.com/vexaloom-labs/german-ausbildung-apprenticeship-listings.md
- **Developed by:** [vexaloom-labs](https://apify.com/vexaloom-labs) (community)
- **Categories:** Jobs, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 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/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

## German Ausbildung Apprenticeship Listings Extractor

Scrape German apprenticeship (Ausbildung) job listings from [ausbildung.de](https://www.ausbildung.de) — one of Germany's largest vocational-training job boards. Search open apprenticeship positions by city and industry category, look up nationwide listings for a specific profession, or run a free-text keyword search across all professions and employers nationwide. Get titles, employer names, locations, start dates, school-diploma requirements, apprenticeship type, and application details. No auth, no proxy, no cookies required.

### What this actor does

- **Three search modes + pasted URLs:** `byCity` (city + broad category browse), `byProfession` (nationwide lookup for one specific occupation), `byQuery` (free-text keyword search nationwide, matching partial profession/employer names), and `byUrl` (paste any ausbildung.de city, profession, or search URL in `searchUrls`)
- **Any German city:** works with any city ausbildung.de indexes (Berlin, München, Hamburg, Köln, and thousands of smaller towns)
- **~700 professions:** from `fachinformatiker` to `altenpfleger` to `bankkaufmann`
- **Server-side filters:** search radius around the city, sort order (relevance / start date / distance / recently activated), required school diploma, apprenticeship type, and earliest training start date — the same filters ausbildung.de itself applies
- **Client-side filters:** latest start date, minimum open positions, keyword, direct-application-only, top-rated-employer-only
- **Real pagination:** pages through ausbildung.de's own search API 20 listings at a time — unlike `?page=N` URLs, this keeps the city/category filter on every page
- **Optional deep enrichment:** fetch each listing's detail page for the full job description, education requirement, occupation, employer website, and address
- **Empty fields are omitted**

### Output per listing

- `vacancyId`, `jobPostingId` — ausbildung.de internal IDs
- `title`, `professionTitle` — the specific posting title and the standardized occupation name
- `corporationName`, `subsidiaryName` — hiring company
- `location`, `city`, `postalCode` — parsed from the raw location string; the `00000` placeholder is omitted
- `vacancyCount` — number of open positions in this posting
- `relatedBranchesCount` — number of other company locations also offering this posting
- `startsNoEarlierThan`, `validUntil` — training start date and posting expiry, normalized to ISO `YYYY-MM-DD`
- `expectedGraduation` — required school-leaving diploma
- `apprenticeshipType` — dual apprenticeship / school-based / dual-study / etc.
- `duration` — training length
- `applicationOptions`, `directApplicationOn` — how to apply
- `corporationLogo`, `subsidiaryLogo` — employer logo image URLs
- `inSpotlight`, `topRatedEmployer` — ausbildung.de curation flags
- `corporationRecentReviewCount`, `corporationRecentStarCountAvg` — employer rating (when reviews exist)
- `listingUrl` / `sourceUrl` — canonical ausbildung.de detail page
- With `includeJobDescription: true`, also: `description` (full plain-text job ad), `employmentType`, `datePosted`, `validThrough`, `employerWebsite`, `streetAddress`, `addressLocality`, `addressRegion`, `addressCountry`, `industry`, `occupationalCategory`, `educationRequirements`, `jobImage`
- `recordType: "apprenticeshipListing"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `byCity` | `byCity`, `byProfession`, `byQuery`, or `byUrl` |
| `searchUrls` | array | – | Paste one or more ausbildung.de search URLs; overrides `mode` and the single-value location inputs |
| `citySlug` | string | `berlin` | City name (mode=byCity). Umlauts auto-normalized. |
| `category` | select | `kaufmaennisch` | Broad industry/topic filter (mode=byCity) |
| `radiusKm` | select | `30` | Search radius around the city (5–200 km) |
| `sortBy` | select | `relevance` | `relevance`, `start_date`, `distance`, `activated_at` |
| `professionSlug` | string | `fachinformatiker` | Exact profession slug (mode=byProfession), nationwide |
| `searchQuery` | string | `Fachinformatiker` | Free-text keyword (mode=byQuery), nationwide — matches partial profession/employer names |
| `expectedGraduation` | select | – | Required school diploma; `abitur` also accepts Fachabitur, matching the site |
| `apprenticeshipType` | select | – | Dual / school-based / dual-study / company-internal / retraining |
| `startDateFrom` / `startDateTo` | string | – | Earliest / latest training start date (`YYYY-MM-DD`); `startDateFrom` is applied server-side too |
| `minVacancyCount` | int | `0` | Drop listings with fewer open positions |
| `keyword` | string | – | Substring match on title/profession/company |
| `directApplicationOnly` | bool | `false` | Only listings with direct online application |
| `topRatedEmployerOnly` | bool | `false` | Only ausbildung.de-flagged top employers |
| `includeJobDescription` | bool | `false` | Fetch full description + contact details per listing (slower) |
| `maxItems` | int | `20` | Hard cap (1–1000). The actor pages through the site's search API 20 at a time until the cap or the source pool is exhausted. |

Legacy alias keys are still read when the corresponding canonical field is absent (for example through the API without the console's prefilled defaults): `city`, `where`, `topic`, `profession`, `query`, `what`, `includeDetails`, `maxResults`, `results_wanted`, `trainingType`, `radius`, `sort`, `startUrl`, `searchUrl`, `startUrls`. Canonical schema fields take precedence, so saved tasks that use the existing schema keep running unchanged.

#### Example: IT apprenticeships in Berlin

```json
{
  "mode": "byCity",
  "citySlug": "berlin",
  "category": "it",
  "maxItems": 20
}
```

#### Example: nationwide search for a specific profession, with full descriptions

```json
{
  "mode": "byProfession",
  "professionSlug": "mechatroniker",
  "includeJobDescription": true,
  "maxItems": 10
}
```

#### Example: top-rated employers offering Abitur-level training in Hamburg

```json
{
  "mode": "byCity",
  "citySlug": "hamburg",
  "category": "kaufmaennisch",
  "expectedGraduation": "abitur",
  "topRatedEmployerOnly": true
}
```

#### Example: nationwide keyword search for an employer

```json
{
  "mode": "byQuery",
  "searchQuery": "McDonald's",
  "maxItems": 20
}
```

### Use cases

- **Career counseling platforms** — surface current openings by region and field
- **Vocational-training research** — track apprenticeship supply across German cities/industries
- **Recruiting intelligence** — monitor which employers post the most apprenticeship openings
- **Education-tech aggregators** — build a searchable apprenticeship index
- **Labor-market analysis** — measure apprenticeship demand per profession and diploma level

### Limitations

- The actor pages through ausbildung.de's own search API (20 listings per page, up to 60 pages) and stops early once several consecutive pages yield no new vacancy IDs — this handles ausbildung.de's pool-recycling behavior for narrow queries (e.g. rare profession + city combos) without looping forever. The site may still return fewer unique listings than its own headline count for very broad searches because its pagination samples a randomized pool.
- The site's own result cap is used (`resultsCount`); very broad searches can expose at most what ausbildung.de itself exposes through that search.
- City + specific-profession combinations (e.g. "altenpfleger in Berlin") are not directly filterable — use `mode=byCity` with a broad `category`, or `mode=byProfession` for nationwide profession-only results. Use `searchUrls` with the site's own filtered search URL if you need a combination the UI supports.
- Company-directory browsing and German-state-level (`Bundesland`) listing pages are navigation-only on ausbildung.de (they link out to individual cities) and are not exposed as a separate mode.
- `expectedGraduation` follows the site's own equivalence: `abitur` includes listings that ask for Fachabitur, and `mittlerer-schulabschluss` includes qualified Hauptschulabschluss.

### FAQ

**What's ausbildung.de?**  A German job board run by Studitemps GmbH dedicated to `Ausbildung` (vocational apprenticeship) and dual-study openings across all industries and regions in Germany.

**What does "category" mean in `byCity` mode?**  A broad topic filter ausbildung.de itself curates per city — industries (`it`, `handwerk`, `medien`), required diploma (`abitur`, `hauptschulabschluss`), or specific popular occupations. Not every category has listings in every city; an empty result for a rare combination is expected, not an error.

**How do I find valid `professionSlug` values?**  Browse [ausbildung.de/berufe/glossar/](https://www.ausbildung.de/berufe/glossar/) for the full alphabetical list of ~700 professions. Common examples: `fachinformatiker`, `kauffrau-im-einzelhandel`, `mechatroniker`, `altenpfleger`, `bankkaufmann`, `koch`, `elektroniker-betriebstechnik`.

**Why do some listings lack a `postalCode`?**  ausbildung.de sometimes shows only the city name (e.g. "Berlin") without a postal code for postings that cover multiple locations within a region, and it uses the internal placeholder `00000` for "no street address". The actor omits that placeholder.

**Why does a valid-looking `professionSlug` sometimes return 0 listings?**  A handful of glossary entries describe occupations that have been superseded or merged into newer training paths (e.g. the legacy `altenpfleger` title was folded into the unified `pflegefachmann` qualification after Germany's 2020 nursing-education reform) or are university-track roles ausbildung.de lists for reference only (e.g. `arzt`, `apotheker`). These pages exist but currently carry no active apprenticeship postings — 0 records is the correct, real-time answer, not a scraper bug.

**Is proxy or login required?**  No. The actor reads ausbildung.de's public pages and its own server actions directly, cookielessly, with no proxy configuration.

**How fresh is the data?**  Real-time — the actor reads the same server-rendered search state a browser visitor would see at request time.

# Actor input Schema

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

What to fetch. `byUrl` reads the URLs in `searchUrls`.

## `searchUrls` (type: `array`):

Paste one or more ausbildung.de search URLs (city+category, profession, or keyword search). When set, these URLs override `mode` and the single-value location inputs. Examples: https://www.ausbildung.de/staedte/berlin/it/ , https://www.ausbildung.de/suche/?search=Fachinformatiker , https://www.ausbildung.de/suche/?professions=Fachinformatiker%2Fin

## `citySlug` (type: `string`):

German city name/slug, e.g. `berlin`, `muenchen`, `hamburg`, `koeln`. Umlauts should be transliterated (ä→ae, ö→oe, ü→ue, ß→ss) and spaces become hyphens — the actor also normalizes common input automatically.

## `category` (type: `string`):

Broad topic/industry to filter the city search. `kaufmaennisch` (commercial/office) is the broadest category and is populated for virtually every city. Not every category has listings in every city — an unlisted combination returns 0 records, not an error. Note: `alle-berufe` (unfiltered) is intentionally excluded because ausbildung.de renders it as an infinite-scroll page with no listings in the initial server response.

## `radiusKm` (type: `string`):

Only used in city mode. Round the search around the selected city. 30 km is the site default; 200 km covers the wider metro area.

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

Server-side result ordering. Relevance is the site default; Aktualität shows recently activated listings first.

## `professionSlug` (type: `string`):

Exact ausbildung.de profession slug, nationwide search (no city filter). Examples: `fachinformatiker`, `kauffrau-im-einzelhandel`, `mechatroniker`, `altenpfleger`, `bankkaufmann`, `koch`, `elektroniker-betriebstechnik`. Browse the full glossary at ausbildung.de/berufe/glossar/ for all ~700 slugs.

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

Free-text keyword searched nationwide across profession titles and company names, e.g. `Fachinformatiker`, `Bäcker`, `McDonald's`. Broader than `professionSlug` (exact slug match) — matches partial/fuzzy profession and employer names.

## `expectedGraduation` (type: `string`):

Filter results to listings requiring this school-leaving qualification. Mapped to ausbildung.de's own filter values server-side and re-checked on the records.

## `apprenticeshipType` (type: `string`):

Filter by the type of vocational training program.

## `startDateFrom` (type: `string`):

Only keep listings whose training start date (`startsNoEarlierThan`) is on or after this date.

## `startDateTo` (type: `string`):

Only keep listings whose training start date (`startsNoEarlierThan`) is on or before this date.

## `minVacancyCount` (type: `integer`):

Drop listings offering fewer open positions than this.

## `keyword` (type: `string`):

Case-insensitive substring match against title, profession title, and company name.

## `directApplicationOnly` (type: `boolean`):

Only keep listings that support direct online application (no email/postal-only listings).

## `topRatedEmployerOnly` (type: `boolean`):

Only keep listings from employers ausbildung.de has flagged as top-rated.

## `includeJobDescription` (type: `boolean`):

For each listing, also fetch its detail page and add the full description text, contact/address details, and employment type. Slower (1 extra request per record) but much richer output.

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

Hard cap on emitted records (1-1000). The actor pages through ausbildung.de's search results 20 at a time via the site's own pagination API until this cap is reached or the source pool is exhausted (stops automatically after several pages return no new listings).

## Actor input object example

```json
{
  "mode": "byCity",
  "citySlug": "berlin",
  "category": "kaufmaennisch",
  "radiusKm": "30",
  "sortBy": "relevance",
  "professionSlug": "fachinformatiker",
  "searchQuery": "Fachinformatiker",
  "expectedGraduation": "",
  "apprenticeshipType": "",
  "minVacancyCount": 0,
  "keyword": "",
  "directApplicationOnly": false,
  "topRatedEmployerOnly": false,
  "includeJobDescription": false,
  "maxItems": 20
}
```

# Actor output Schema

## `listings` (type: `string`):

Dataset containing all scraped ausbildung.de apprenticeship listings, including title, profession, employer, city/location, start date, training type, vacancy count, and optional full-description fields.

# 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 = {
    "mode": "byCity",
    "citySlug": "berlin",
    "category": "kaufmaennisch",
    "radiusKm": "30",
    "sortBy": "relevance",
    "professionSlug": "fachinformatiker",
    "searchQuery": "Fachinformatiker",
    "expectedGraduation": "",
    "apprenticeshipType": "",
    "minVacancyCount": 0,
    "keyword": "",
    "directApplicationOnly": false,
    "topRatedEmployerOnly": false,
    "includeJobDescription": false,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("vexaloom-labs/german-ausbildung-apprenticeship-listings").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 = {
    "mode": "byCity",
    "citySlug": "berlin",
    "category": "kaufmaennisch",
    "radiusKm": "30",
    "sortBy": "relevance",
    "professionSlug": "fachinformatiker",
    "searchQuery": "Fachinformatiker",
    "expectedGraduation": "",
    "apprenticeshipType": "",
    "minVacancyCount": 0,
    "keyword": "",
    "directApplicationOnly": False,
    "topRatedEmployerOnly": False,
    "includeJobDescription": False,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("vexaloom-labs/german-ausbildung-apprenticeship-listings").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 '{
  "mode": "byCity",
  "citySlug": "berlin",
  "category": "kaufmaennisch",
  "radiusKm": "30",
  "sortBy": "relevance",
  "professionSlug": "fachinformatiker",
  "searchQuery": "Fachinformatiker",
  "expectedGraduation": "",
  "apprenticeshipType": "",
  "minVacancyCount": 0,
  "keyword": "",
  "directApplicationOnly": false,
  "topRatedEmployerOnly": false,
  "includeJobDescription": false,
  "maxItems": 20
}' |
apify call vexaloom-labs/german-ausbildung-apprenticeship-listings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vexaloom-labs/german-ausbildung-apprenticeship-listings"
        }
    }
}
```

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/XZBzT2LXow9Uy1LDS/builds/ghQ7LTpeO8M0QOXbE/openapi.json
