# Ausbildung.de Scraper (`codingfrontend/ausbildung-de-scraper`) Actor

Extracts public Ausbildung.de apprenticeship listings from the server-rendered search state, including company, profession, location, start date, duration, and application fields.

- **URL**: https://apify.com/codingfrontend/ausbildung-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 Ausbildung.de Scraper do?

Ausbildung.de Scraper collects public apprenticeship listings from [Ausbildung.de](https://www.ausbildung.de/). It reads the listing information available on search or profession pages and can optionally visit a bounded number of official listing pages for additional job and employer details.

Use it to compare apprenticeship opportunities by profession or location, build a public job-listing dataset, or monitor how advertised roles change over time. The Actor does not search by free-text keywords, apply for jobs, sign in, or bypass access controls.

### Why use Ausbildung.de Scraper?

- **Compare opportunities:** collect public listing titles, employers, professions, locations, and start information in one dataset.
- **Add useful detail:** optionally collect descriptions, requirements, benefits, salary, and employer metadata from official listing pages.
- **Automate repeat work:** schedule runs in Apify, review their logs and status, or connect the dataset to an API or an Apify integration.

### How to start a run

1. Open the Actor and select the **Input** tab.
2. Keep the default search page or enter one or more public Ausbildung.de URLs. Set result limits or turn on detail collection if you need it.
3. Select **Save & Start** or **Start**. The run uses the input form values.
4. Open **Dataset** to view the saved apprenticeship listings. Open **Output summary** for the separate run result and saved-record count.

You can also start a run from the **API** tab or schedule runs through Apify. The **Input** tab shows the current fields and their constraints.

### Input

All fields are optional. If `startUrls` is omitted, the Actor uses the default Ausbildung.de search page. If you provide `startUrls`, include at least one valid URL. URLs must use HTTPS and the `ausbildung.de` or `www.ausbildung.de` host.

#### Search pages

| Field | Type | Required? | Default | What it does |
| --- | --- | --- | --- | --- |
| `startUrls` | Array of strings | Optional\* | `["https://www.ausbildung.de/suche/"]` | Search or profession pages to collect. The list accepts up to 10 unique Ausbildung.de URLs. If more than `maxPages` pages are supplied, only the first `maxPages` are used. |

\* If supplied, the array must contain at least one valid URL.

#### Result limits

| Field | Type | Required? | Default | What it does |
| --- | --- | --- | --- | --- |
| `maxPages` | Integer (1–10) | Optional | `1` | Maximum number of unique pages to fetch across the supplied URLs, further search batches, and any next-page links found. |
| `maxListings` | Integer (1–200) | Optional | `20` | Maximum number of unique valid listing records to save across the run. Reaching this limit is a normal completion. |

Duplicate start URLs and listing identities are skipped. Listings are deduplicated by their public vacancy ID, job-posting ID, slug, or listing URL; a title, company, and location combination is used when those identifiers are unavailable. The first matching listing is kept. The Actor does not offer keyword filters, result sorting, or a keyword-versus-URL precedence setting: use a public search or profession URL to select the source page.

On `/suche/` search pages, the Actor can fetch further batches of 20 listings when the page confirms more results are available. Search URL filters are preserved. Profession pages are followed only when they expose a next-page link. Both modes share the `maxPages` and `maxListings` limits.

#### Basic search input

This uses the default search page and saves at most five listings:

```json
{
  "maxListings": 5
}
```

#### Search a profession page

Replace the URL with a public Ausbildung.de profession or search page:

```json
{
  "startUrls": ["https://www.ausbildung.de/berufe/mechatroniker/"],
  "maxPages": 2,
  "maxListings": 30
}
```

#### Collect multiple pages

You can provide several starting URLs. Duplicate URLs are removed, and `maxPages` is the total page-fetch limit across all starting URLs and discovered next pages:

```json
{
  "startUrls": [
    "https://www.ausbildung.de/suche/",
    "https://www.ausbildung.de/berufe/mechatroniker/"
  ],
  "maxPages": 4,
  "maxListings": 60
}
```

#### Include optional listing details

Detail collection is off by default. When enabled, the Actor visits up to `maxDetailPages` official listing pages and adds complete job descriptions and sections, application links, available salary and training-year pay, source locations and coordinates, and job media. It also requests at most one public employer profile and its linked FAQ and profession tabs, plus up to two review pages, per distinct company for detailed company information, caching it for other listings in the run. A detail or company-page failure does not remove the base listing and marks a run with saved records as partial. Up to `maxDetailPages` listing pages and the same maximum number of distinct company profiles plus their linked FAQ, profession, and up to two review pages can be requested; company requests do not consume `maxPages`. Multi-location details can also request the public location selector and up to six current client modules to identify its read-only request; client modules are cached for the run. Listing-selector requests share the listing detail timeout; employer tabs share the company-profile timeout. Every response uses the same response-size bound.

Responsibilities, requirements, and benefits come from recognized labeled sections, including compound headings and later job duties. Adjacent profile and formal-prerequisite sections are combined as requirements. Lists stop at the next unrelated section or the end of the source list; application instructions and company introductions stay in the description. Unrecognized or absent sections are omitted. Salary amounts and currency names come from structured detail metadata and are kept as published, without currency conversion; salary mentioned only in the description stays there.

```json
{
  "startUrls": ["https://www.ausbildung.de/suche/"],
  "maxListings": 10,
  "includeDetails": true,
  "maxDetailPages": 10
}
```

To keep detail collection off explicitly, use `"includeDetails": false`. This is also the default.

#### Advanced settings (Developer Options)

These controls affect requests to Ausbildung.de. A higher retry count or page limit can increase run time.

| Field | Type | Required? | Default | What it does |
| --- | --- | --- | --- | --- |
| `timeoutSecs` | Integer (5–120) | Optional | `45` | Timeout in seconds for each public page request. |
| `maxRetries` | Integer (0–5) | Optional | `2` | Retries transient timeouts and selected server errors. Access denials and rate limits are not retried. |
| `maxResponseBytes` | Integer (100,000–20,000,000) | Optional | `8000000` | Maximum accepted response size for each page. |
| `includeDetails` | Boolean | Optional | `false` | Whether to request official listing detail pages for extra information. |
| `maxDetailPages` | Integer (1–50) | Optional | `20` | Maximum listing detail pages to request when `includeDetails` is true (plus at most one cached company profile, FAQ, profession tab and up to two review pages per distinct employer). Ignored otherwise. |
| `userAgent` | String (up to 200 characters) | Optional | `Mozilla/5.0 (compatible; ausbildung-de-public-actor/1.1)` | Optional descriptive user-agent sent with public requests. Blank values use the default. |

Requests honor existing `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` settings in the execution environment. This uses the configured connection and does not activate a paid proxy service.

### Dataset output

The dataset contains apprenticeship listings only. Each record has a title and an official `listingUrl`; other business fields are included when the listing, its detail page, or its matched employer profile provides them. Complete descriptions and section text are preserved within the response-size limit; the existing responsibilities, requirements, and benefits arrays retain their limit of 40 items each. The full `sections` array also preserves unrecognized training and application sections. Optional values that are unavailable are left out. The dataset does not contain diagnostic rows, request/page observations, source-page provenance, scrape timestamps, or run status.

Company headquarters appear under `company.addresses`; job locations appear under `locations`. Region and country values are included only when explicitly published. `hasMultipleLocations` indicates that the source offers other locations. The public interactive selector is requested when available; its other jobs retain separate IDs, titles, counts, and branch addresses in `relatedListings`, rather than being incorrectly merged into this job's `locations`. The current listing and duplicate related IDs are omitted from that array. Related listings do not increase `itemsStored` and are not additional dataset rows; all returned associations are kept within `maxResponseBytes`. Employer figures such as approximate employee counts remain source strings in `company.facts`. `compensation.byTrainingYear[].amount` preserves the displayed decimal separator and currency; it is separate from rounded JobPosting salary metadata. HTML fields contain source content with scripts, forms, UI attributes, and unsafe links removed. Treat HTML as untrusted when displaying it. Media and application destinations are returned as links; third-party pages and media are not requested.

#### Full illustrative business record

This is an illustrative example of all 48 supported business fields. It is documentation only, not a verified live result. Real records can omit optional fields, especially detail-page fields when `includeDetails` is off or the source does not provide them.

```json
{
  "listingUrl": "https://www.ausbildung.de/stellen/example-mechatroniker-berlin/",
  "listingId": "vacancy-example-123",
  "jobPostingId": "job-example-456",
  "slug": "example-mechatroniker-berlin",
  "title": "Apprenticeship as Mechatronics Technician (m/f/d)",
  "description": "Learn practical skills while working with an experienced team.",
  "responsibilities": [
    "Support the team with daily technical tasks.",
    "Learn how to inspect and maintain equipment."
  ],
  "requirements": [
    "Interest in technology.",
    "Enjoy working as part of a team."
  ],
  "benefits": [
    "Training and mentoring during the apprenticeship."
  ],
  "companyName": "Example Technik GmbH",
  "subsidiaryName": "Example Mobility",
  "profession": "Mechatroniker/in",
  "location": "Berlin",
  "startsNoEarlierThan": "2027-08-01",
  "validUntil": "2027-06-30",
  "vacancyCount": 2,
  "duration": "3 years",
  "apprenticeshipType": "Dual vocational training",
  "expectedGraduation": "Intermediate school certificate",
  "employmentType": "FULL_TIME",
  "datePosted": "2026-09-15",
  "validThrough": "2027-06-30T23:59:59+02:00",
  "industry": "Manufacturing",
  "educationRequirements": "Intermediate school certificate",
  "salaryMin": 950,
  "salaryMax": 1150,
  "salaryCurrency": "EUR",
  "employerStreetAddress": "Example Straße 10",
  "employerPostalCode": "10115",
  "employerLocality": "Berlin",
  "employerRegion": "Berlin",
  "employerCountry": "DE",
  "applicationOptions": "Online application",
  "directApplicationOn": true,
  "corporationLogo": "https://www.ausbildung.de/uploads/example-corporation.png",
  "subsidiaryLogo": "https://www.ausbildung.de/uploads/example-subsidiary.png",
  "corporationPublicId": "corporation-example-789",
  "subsidiaryPublicId": "subsidiary-example-987",
  "descriptionHtml": "<p>Learn practical skills while working with an experienced team.</p>",
  "sections": [
    {
      "heading": "About this apprenticeship",
      "text": "Learn practical skills while working with an experienced team.",
      "html": "<p>Learn practical skills while working with an experienced team.</p>"
    }
  ],
  "locations": [
    {
      "streetAddress": "Example Straße 10",
      "postalCode": "10115",
      "locality": "Berlin",
      "region": "Berlin",
      "country": "DE",
      "coordinates": {
        "latitude": 52.52,
        "longitude": 13.405
      }
    }
  ],
  "application": {
    "url": "https://example.org/careers/example-job"
  },
  "compensation": {
    "byTrainingYear": [
      {
        "year": 1,
        "amount": "950 €"
      },
      {
        "year": 2,
        "amount": "1.050 €"
      },
      {
        "year": 3,
        "amount": "1.150 €"
      }
    ]
  },
  "media": {
    "images": [
      {
        "url": "https://www.ausbildung.de/uploads/example-job.jpg",
        "alt": "Example workshop",
        "width": 1800,
        "height": 550
      }
    ],
    "videoUrls": [
      "https://example.org/videos/example-training"
    ]
  },
  "company": {
    "id": "corporation-example-789",
    "name": "Example Technik GmbH",
    "legalName": "Example Technik GmbH",
    "profileUrl": "https://www.ausbildung.de/unternehmen/example-technik/",
    "website": "https://example.org/careers",
    "description": "Learn practical skills in our manufacturing company.",
    "descriptionHtml": "<p>Learn practical skills in our manufacturing company.</p>",
    "addresses": [
      {
        "streetAddress": "Example Straße 20",
        "postalCode": "10117",
        "locality": "Berlin",
        "region": "Berlin",
        "country": "DE"
      }
    ],
    "contact": {
      "email": "careers@example.org",
      "telephone": "+49 30 12345678"
    },
    "facts": [
      {
        "label": "Gründungsjahr",
        "value": "1995"
      },
      {
        "label": "Mitarbeiter",
        "value": "more than 500"
      },
      {
        "label": "Branche",
        "value": "Manufacturing"
      }
    ],
    "openPositions": 12,
    "retentionRate": "90%",
    "rating": {
      "value": 4,
      "reviewCount": 19,
      "best": 5,
      "worst": 1,
      "recommendationRate": "80 %",
      "categoryScores": [
        {
          "category": "Aufgaben & Lernerfolg",
          "value": 4,
          "best": 5
        }
      ]
    },
    "media": {
      "images": [
        {
          "url": "https://www.ausbildung.de/uploads/example-company.jpg",
          "alt": "Example headquarters",
          "width": 1800,
          "height": 550
        }
      ],
      "videoUrls": [
        "https://example.org/videos/example-company"
      ]
    },
    "awards": [
      {
        "title": "Illustrative employer award",
        "scores": [
          {
            "category": "Betreuung",
            "program": "Duales Studium",
            "value": 4,
            "best": 5
          }
        ],
        "images": [
          {
            "url": "https://www.ausbildung.de/uploads/example-award.jpg",
            "alt": "Illustrative award",
            "width": 300,
            "height": 200
          }
        ]
      }
    ],
    "faq": [
      {
        "question": "How do I apply?",
        "answer": "Apply through our published careers page.",
        "answerHtml": "<p>Apply through our published careers page.</p>"
      }
    ],
    "reviews": [
      {
        "answers": [
          {
            "question": "How did you find your training?",
            "answer": "The workshop sessions were helpful.",
            "answerHtml": "<p>The workshop sessions were helpful.</p>"
          }
        ],
        "rating": {
          "value": 4,
          "best": 5
        },
        "recommended": true,
        "apprenticeshipType": "Klassische duale Berufsausbildung",
        "location": "Berlin",
        "trainingPeriod": "2023",
        "workingHours": "8 Std. pro Tag",
        "retentionStatus": "Übernommen",
        "earnings": [
          {
            "label": "1. Ausbildungsjahr:",
            "value": "900€"
          }
        ]
      }
    ],
    "trainingPrograms": [
      {
        "name": "Mechatroniker/in",
        "professionUrl": "https://www.ausbildung.de/berufe/mechatroniker/",
        "apprenticeshipType": "Klassische duale Berufsausbildung",
        "description": "Information about training as a mechatronics technician.",
        "listingsUrl": "https://www.ausbildung.de/unternehmen/example-technik/berufe/mechatroniker/stellen/",
        "openPositions": 12,
        "image": {
          "url": "https://www.ausbildung.de/uploads/example-profession.jpg",
          "alt": "Illustrative profession image",
          "width": 370,
          "height": 200
        }
      }
    ]
  },
  "hasMultipleLocations": true,
  "professionUrl": "https://www.ausbildung.de/berufe/mechatroniker/",
  "relatedListings": [
    {
      "listingUrl": "https://www.ausbildung.de/stellen/example-mechatroniker-hamburg/",
      "listingId": "vacancy-example-124",
      "jobPostingId": "job-example-457",
      "title": "Apprenticeship as Mechatronics Technician (m/f/d)",
      "vacancyCount": 1,
      "location": {
        "streetAddress": "Example Straße 2",
        "postalCode": "20095",
        "locality": "Hamburg"
      }
    }
  ]
}
```

#### Output fields

`Required` means the field is present on every accepted dataset record. Other fields are optional and depend on the public source content.

| Field | Type | Required? | Meaning |
| --- | --- | --- | --- |
| `listingUrl` | String (URL) | Required | Official Ausbildung.de page for the apprenticeship. |
| `listingId` | String | Optional | Public vacancy identifier. |
| `jobPostingId` | String | Optional | Public job-posting identifier from listing state or detail metadata. |
| `slug` | String | Optional | Public listing URL slug. |
| `title` | String | Required | Apprenticeship title. |
| `description` | String | Optional | Readable description from the detail page. |
| `responsibilities` | Array of strings | Optional | Responsibilities or later job duties from recognized detail-page sections. |
| `requirements` | Array of strings | Optional | Qualifications and requirements from recognized detail-page sections. |
| `benefits` | Array of strings | Optional | Benefits from recognized detail-page sections; availability depends on the employer's page layout. |
| `companyName` | String | Optional | Corporation or hiring organization. |
| `subsidiaryName` | String | Optional | Distinct subsidiary, when provided. |
| `profession` | String | Optional | Apprenticeship occupation. |
| `location` | String | Optional | Work or training location. |
| `startsNoEarlierThan` | String | Optional | Earliest advertised start date or period. |
| `validUntil` | String | Optional | Listing/application validity signal in listing state. |
| `vacancyCount` | Integer | Optional | Advertised number of vacancies. |
| `duration` | String | Optional | Apprenticeship duration. |
| `apprenticeshipType` | String | Optional | Apprenticeship type shown in listing state. |
| `expectedGraduation` | String | Optional | Expected school qualification shown in listing state. |
| `employmentType` | String | Optional | Employment type from JobPosting detail metadata. |
| `datePosted` | String | Optional | Posting date from JobPosting detail metadata. |
| `validThrough` | String | Optional | Closing date from JobPosting detail metadata. |
| `industry` | String | Optional | Industry from JobPosting detail metadata. |
| `educationRequirements` | String | Optional | Education requirement from JobPosting detail metadata. |
| `salaryMin` | Number | Optional | Minimum salary amount from detail metadata. |
| `salaryMax` | Number | Optional | Maximum salary amount from detail metadata. |
| `salaryCurrency` | String | Optional | Currency as published with the salary, such as `EUR` or `Euro`. |
| `employerStreetAddress` | String | Optional | Employer street address from detail metadata. |
| `employerPostalCode` | String | Optional | Employer postal code from detail metadata. |
| `employerLocality` | String | Optional | Employer locality from detail metadata. |
| `employerRegion` | String | Optional | Employer region from detail metadata. |
| `employerCountry` | String | Optional | Employer country from detail metadata. |
| `applicationOptions` | String | Optional | Application option signal from listing state. |
| `directApplicationOn` | Boolean | Optional | Whether listing state indicates direct application on Ausbildung.de. |
| `corporationLogo` | String (URL) | Optional | Public corporation logo URL. |
| `subsidiaryLogo` | String (URL) | Optional | Distinct public subsidiary logo URL. |
| `corporationPublicId` | String | Optional | Public corporation identifier. |
| `subsidiaryPublicId` | String | Optional | Public subsidiary identifier. |
| `descriptionHtml` | String | Optional | Complete job description HTML with scripts, forms, UI attributes and unsafe links removed. |
| `sections` | Array | Optional | Complete ordered public job sections, including labeled training and application sections. |
| `locations` | Array | Optional | Addresses published in this listing’s JobPosting metadata, with matching primary-place coordinates when available. |
| `application` | Object | Optional | Public application destination for this listing; external destinations are saved as links, never followed. |
| `compensation` | Object | Optional | Published training-year compensation from the salary table or an explicitly labeled schedule in this job's description; amounts preserve the displayed currency and decimal formatting. |
| `media` | Object | Optional | Listing gallery images and published video links, excluding unrelated listing recommendations. |
| `company` | Object | Optional | Matched employer information from this listing and one cached public company-profile page; headquarters are separate from the listing’s job locations. |
| `hasMultipleLocations` | Boolean | Optional | Whether the source marks the listing as available at multiple locations; the locations array contains only retrieved source addresses. |
| `relatedListings` | Array of objects | Optional | Other source-associated jobs with their own identity, title, vacancy count, URL, and branch address. |
| `professionUrl` | String | Optional | Public Ausbildung.de profession guide linked from the listing. |

#### Nested business fields

| Field | Type | Required? | Meaning |
| --- | --- | --- | --- |
| `relatedListings[]` | Object | Optional | Required `listingUrl`, `listingId`, and `title`; optional `jobPostingId`, `vacancyCount`, and `location.streetAddress` / `location.postalCode` / `location.locality`. |
| `sections[]` | Object | Optional | `heading` is optional; required `text` and `html` preserve each complete ordered section. |
| `locations[]` | Object | Optional | Published `streetAddress`, `postalCode`, `locality`, `region`, `country`, and `coordinates.latitude` / `coordinates.longitude`; address components are optional; both coordinates are required when `coordinates` is present. |
| `application.url` | URL | Required within application | Source application destination for this job. |
| `compensation.byTrainingYear[]` | Object | Optional | Required `year` and displayed `amount`, for each published training year. A pay period is not inferred. |
| `media`, `company.media` | Object | Optional | `images[]` with required `url` and optional `alt`, `width`, `height`; `videoUrls[]` contains published links only. |
| `company.id`, `company.name`, `company.legalName` | Text | Name required within company; others optional | Source employer identifiers and names. |
| `company.profileUrl`, `company.website` | URL | Optional | Ausbildung.de employer profile and source-linked employer website. |
| `company.description`, `company.descriptionHtml` | Text | Optional | Complete matched company introduction in text and cleaned HTML. |
| `company.addresses[]` | Object | Optional | Employer address components: `streetAddress`, `postalCode`, `locality`, `region`, `country`. |
| `company.contact` | Object | Optional | Published business `email` and `telephone`; unavailable contacts are omitted. |
| `company.facts[]` | Object | Optional | Required original `label` and `value`; includes published founding year, employee counts, revenue, industry, and company highlights. |
| `company.openPositions`, `company.retentionRate` | Integer / Text | Optional | Published company-wide available training positions and retention percentage. |
| `company.rating` | Object | Optional | Published numeric `value`, `reviewCount`, `best`, `worst`; optional source-text `recommendationRate` and `categoryScores[]` with required `category`, numeric `value` and `best` on the five-star scale. An absent rating is omitted. |
| `company.faq[]` | Object | Optional | Required `question`, complete `answer`, and cleaned `answerHtml` from the matched company’s public FAQ page. |
| `company.reviews[]` | Object | Optional | Required review `answers[]` with required `question`, full `answer` and cleaned `answerHtml`; optional `rating` (required `value` / `best` within it), `recommended`, `apprenticeshipType`, source-text `location`, `trainingPeriod`, `workingHours`, `retentionStatus`, and `earnings[]` with required `label` / `value`. Review conditions stay attached to that review, separate from current job facts. Up to two review pages are collected and identical reviews are deduplicated. |
| `company.trainingPrograms[]` | Object | Optional | Required `name` and `professionUrl`; optional `apprenticeshipType`, profession-guide `description`, employer `listingsUrl`, published `openPositions` (including explicit zero), and `image` using the media image structure. All cards on the matched employer profession tab are retained; deeper profession pages are not visited. |
| `company.awards[]` | Object | Optional | Required source `title`, optional `images[]` using the media image structure and `scores[]` with required `category`, training `program`, numeric `value` and `best` on the published five-star scale. Unassessed outline stars are omitted; they do not mean zero. |

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

### Run status

Run status is based on validated listing records whose dataset writes completed:

- **Succeeded:** at least one listing was saved and collection completed normally.
- **Succeeded with limited results:** at least one listing was saved, then a page, detail source, or storage write failed.
- **Failed:** no real listing was saved, including when a page is blocked, empty, or contains no valid listings.

Reaching `maxListings` or the requested page limits is normal completion. No placeholder or diagnostic records are added to make an empty run appear successful. Failure details are available in the run log.

### Output summary

The **Output summary** link opens the `OUTPUT_SUMMARY` record in the run's default **Key-value store**. It is separate from the listing dataset and always has exactly these three fields:

| Field | Type | Required? | Meaning |
| --- | --- | --- | --- |
| `status` | String (`SUCCEEDED` or `FAILED`) | Required | Whether at least one validated listing was saved. |
| `itemsStored` | Nonnegative integer | Required | Number of completed dataset writes for real listing records. |
| `isPartial` | Boolean | Required | Whether collection stopped early after saving at least one listing. |

Illustrative summary for a completed run:

```json
{
  "status": "SUCCEEDED",
  "itemsStored": 12,
  "isPartial": false
}
```

Illustrative summary for a run with limited results:

```json
{
  "status": "SUCCEEDED",
  "itemsStored": 7,
  "isPartial": true
}
```

Illustrative summary for a run that saved no real listings:

```json
{
  "status": "FAILED",
  "itemsStored": 0,
  "isPartial": false
}
```

### Tips and access limits

- Start with a low `maxPages` and `maxListings`, then increase them if the source pages return useful results.
- Turn on `includeDetails` only when you need longer descriptions or employer and salary metadata; detail pages add requests and run time.
- The Actor only makes public HTTPS requests to Ausbildung.de. It does not log in, submit forms, bypass challenges, or fetch third-party application sites.
- Ausbildung.de may block, rate-limit, or change its pages. Such failures appear in the run log. If listings were already saved, they remain available and the summary marks the run partial.
- Use the listing's `listingUrl` to review the current posting on the source website. Values and availability can change after a run.

### Cost, privacy, and support

This Actor does not state a custom per-result price. Runs use Apify platform resources, so the total cost depends on your Apify plan and the compute and storage used. Check the current pricing shown in your account before scheduling frequent or large runs.

Only collect and use public job information in ways permitted by Ausbildung.de's terms, applicable privacy laws, and your organization's policies. Listings can change or include personal information published by employers; review results before using them for decisions or outreach.

For programmatic use, open the **API** tab. For help or a problem with this Actor, use its **Issues** tab and include the run ID and a short description of the issue. Do not post credentials or private account information in support requests.

# Actor input Schema

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

Public search or profession pages. The default search page exposes current apprenticeship listings in the HTML state.

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

Maximum public pages to fetch.

## `maxListings` (type: `integer`):

Maximum unique listing records to store.

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

Per-page public request timeout.

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

Retries for transient public-source failures such as timeouts, HTTP 408/425, and 5xx responses. Access denials and rate limits are not retried.

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

Maximum HTML response size accepted from Ausbildung.de.

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

When enabled, fetch bounded official /stellen/ detail pages and merge their public description, requirements, benefits, education, salary, and employer metadata into each listing.

## `maxDetailPages` (type: `integer`):

Maximum official listing detail pages to fetch when Fetch listing details is enabled.

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

Optional descriptive user-agent for public requests.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.ausbildung.de/suche/"
  ],
  "maxPages": 1,
  "maxListings": 20,
  "timeoutSecs": 45,
  "maxRetries": 2,
  "maxResponseBytes": 8000000,
  "includeDetails": false,
  "maxDetailPages": 20,
  "userAgent": "Mozilla/5.0 (compatible; ausbildung-de-public-actor/1.1)"
}
```

# Actor output Schema

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

Dataset containing public apprenticeship listing records.

## `runSummary` (type: `string`):

The OUTPUT_SUMMARY record in the run's default key-value store.

# 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 = {
    "startUrls": [
        "https://www.ausbildung.de/suche/"
    ],
    "maxPages": 1,
    "maxListings": 20,
    "timeoutSecs": 45,
    "maxRetries": 2,
    "maxResponseBytes": 8000000,
    "includeDetails": false,
    "maxDetailPages": 20,
    "userAgent": "Mozilla/5.0 (compatible; ausbildung-de-public-actor/1.1)"
};

// Run the Actor and wait for it to finish
const run = await client.actor("codingfrontend/ausbildung-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 = {
    "startUrls": ["https://www.ausbildung.de/suche/"],
    "maxPages": 1,
    "maxListings": 20,
    "timeoutSecs": 45,
    "maxRetries": 2,
    "maxResponseBytes": 8000000,
    "includeDetails": False,
    "maxDetailPages": 20,
    "userAgent": "Mozilla/5.0 (compatible; ausbildung-de-public-actor/1.1)",
}

# Run the Actor and wait for it to finish
run = client.actor("codingfrontend/ausbildung-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 '{
  "startUrls": [
    "https://www.ausbildung.de/suche/"
  ],
  "maxPages": 1,
  "maxListings": 20,
  "timeoutSecs": 45,
  "maxRetries": 2,
  "maxResponseBytes": 8000000,
  "includeDetails": false,
  "maxDetailPages": 20,
  "userAgent": "Mozilla/5.0 (compatible; ausbildung-de-public-actor/1.1)"
}' |
apify call codingfrontend/ausbildung-de-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,codingfrontend/ausbildung-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/VI6XzhA6M2vW86eHF/builds/MQMlMNSaGsc7wsNYg/openapi.json
