Skip to content
Toutes les missions
Veille marché · Dev-to Nouvelle Publiée 5 hours ago

How to Scrape Arbeitsagentur Jobs with Python

By the end of this tutorial you will have a Python script that pulls German job listings from arbeitsagentur.de into structured rows: job title, employer, city, working-time models, contract...

Entreprise most
Mode Remote

Résumé

By the end of this tutorial you will have a Python script that pulls German job listings from arbeitsagentur.de into structured rows: job title, employer, city, working-time models, contract duration, the pay range where the employer gives one, and the dates a posting was published and changed. Arbeitsagentur Jobsuche Scraper (reventadata/arbeitsagentur-scraper) is the Apify Actor built for this site. You give it a search, such as Verkäufer, and a place, such as Berlin, and it returns one row per job. This guide runs it from Python with the Apify client. The sample rows below are copied from a real run of 18 November 2026 that searched Verkäufer in Berlin and returned 20 rows, not from an invented example. The Actor is unofficial. It is not affiliated with or endorsed by the Bundesagentur für Arbeit, and it reads the public job listings that arbeitsagentur.de/jobsuche shows to every visitor. Prerequisites You need three things: Python 3 with pip. A free Apify account. Your Apify API token, from your Apify account. Install the client and export the token: pip install -U "apify-client~=3.0" export APIFY_API_TOKEN="your_apify_token_here" No scraping code is needed on your side. The Actor reads the public pages for you, and you do not log in to the job site. What you'll achieve You will search arbeitsagentur.de for Verkäufer in Berlin, read the rows in Python and print two lines per job. The first line holds the title, employer, city and pay fields. The second holds the job type, contract duration and home-office flag. Each row carries 31 fields. The output reads well in a terminal and pastes into a spreadsheet. The same script works for any other keyword or place: only the run_input changes. A job seeker can compare employers in one town, and an analyst can count postings per employer. The output in Step 4 shows the first three of the 20 rows, so you can check your own run against it. Step 1: Open the Actor Open the Arbeitsagentur Jobsuche Scraper page on Apify Store. This tutorial calls the Actor from Python, so you need only its name, reventadata/arbeitsagentur-scraper. Step 2: Choose the search The search is set by these input fields. Every field is optional. Leave searchQueries empty and the run lists all jobs, limited by maxItems. searchQueries: a list of keywords, as typed in the "Was" box. Each keyword is searched on its own, up to 50 per run. place: a city, postcode or region, as typed in the "Wo" box. Empty means all of Germany. radiusKm: "10" or "50", the search radius in kilometres around the place. Empty uses the site's default radius. jobType: job, selfEmployed, training or dualStudy. workingTime: fullTime, partTime, shiftNightWeekend or miniJob. publishedWithinDays: "1", "7", "14" or "28", the number of days a posting may be old. fetchDetails: true adds the full description, the street and the house number to each row. maxItems: the most rows to save across all keywords. A value outside the list for radiusKm, jobType, workingTime or publishedWithinDays is refused before the run starts. The run behind this guide used this input: { "searchQueries": [ "Verkäufer" ], "place": "Berlin", "maxItems": 20 } Step 3: Run it from Python This script starts the Actor, waits for it, reads the dataset and prints two lines per job: import os from apify_client import ApifyClient # 1. Initialise the client with your token from the environment client = ApifyClient(os.environ["APIFY_API_TOKEN"]) # 2. Describe the search: Verkäufer jobs in Berlin, 20 rows at most run_input = { "searchQueries": ["Verkäufer"], "place": "Berlin", "maxItems": 20, } # 3. Start the Actor and wait for it to finish run = client.actor("reventadata/arbeitsagentur-scraper").call(run_input=run_input) if run is None or run.status != "SUCCEEDED": status = run.status if run else "unknown" raise SystemExit(f"Run did not succeed (status: {status}).") # 4. Read the rows from the run's default dataset items = client.dataset(run.default_dataset_id).list_items().items print(f"Retrieved {len(items)} jobs.\n") # 5. Print two lines per job for item in items: pay = f"{item.get('salaryFrom')} to {item.get('salaryTo')}, {item.get('payInfo')}" print(f"{item['title']} at {item['company']}, {item['city']} | {pay}") print(f" {item['jobType']}, {item['contractDuration']}, Home office: {item['homeOfficePossible']}") The run_input is the same input as above. Change it to search for something else. Step 4: Read the output The loop prints two lines per job. These are the first three of the 20 rows: Retrieved 20 jobs. Ausbildung zum Verkäufer (m/w/d) at Peek & Cloppenburg Düsseldorf, Berlin | None to None, KEINE_ANGABEN AUSBILDUNG, KEINE_ANGABE, Home office: False Verkäufer*in at Primark, Berlin | None to None, KEINE_ANGABEN AUSBILDUNG, KEINE_ANGABE, Home office: False Verkäufer Getränke (m/w/d) at REWE Markt GmbH ZwNL Ost, Berlin | None to None, KEINE_ANGABEN ARBEIT, BEFRISTET, Home office: False A row with no pay range prints None to None. The Actor passes through the value the site gives. In this run, 15 of the 20 rows have no salary numbers and carry KEINE_ANGABEN in payInfo, which is the site's value for "no details given". One complete row from the run, verbatim, the first of the 20: { "id": "12857-13712924-S", "url": "https://www.arbeitsagentur.de/jobsuche/jobdetail/12857-13712924-S", "title": "Ausbildung zum Verkäufer (m/w/d)", "jobType": "AUSBILDUNG", "company": "Peek & Cloppenburg Düsseldorf", "occupation": "Verkäufer/in", "allOccupations": [ "Verkäufer/in" ], "postalCode": "10178", "city": "Berlin", "region": "BERLIN", "country": "DEUTSCHLAND", "latitude": 52.5210906, "longitude": 13.4099785, "distanceKm": 2, "workingTimes": [ "fullTime" ], "isMiniJob": false, "contractDuration": "KEINE_ANGABE", "payInfo": "KEINE_ANGABEN", "payType": null, "fixedSalary": null, "salaryFrom": null, "salaryTo": null, "startDate": "2027-08-01", "publishedAt": "2026-11-18", "firstPublishedAt": "2026-11-18", "modifiedAt": "2026-11-18T07:00:56.007", "homeOfficePossible": false, "careerChangerWelcome": false, "externalUrl": null, "chiffre": null, "matchedKeyword": "Verkäufer" } Understanding your results Each row has the fields below. The values are the ones the site gave, as this run returned them. id, url: the job's reference number and its listing link. title, occupation, allOccupations: the job title and the occupation names on the listing. company: the employer as the listing names it. This run has 10 employers across 20 rows. postalCode, city, region, country, latitude, longitude, distanceKm: the location. postalCode is empty on one row. jobType: ARBEIT (a job) on 16 rows and AUSBILDUNG (training) on 4 rows. workingTimes: a list of working-time models, for example fullTime or partTimeMorning. contractDuration: UNBEFRISTET (open-ended) on 13 rows, BEFRISTET (fixed-term) on 1 row and KEINE_ANGABE (no information given) on 6 rows. payInfo, payType, salaryFrom, salaryTo: the pay as the site gives it, with no conversion. Five rows carry a range, all from the same employer, with payInfo set to STUNDENLOHN (hourly pay). fixedSalary is empty on all 20 rows. startDate, publishedAt, firstPublishedAt, modifiedAt: the dates. modifiedAt carries no time zone. isMiniJob, homeOfficePossible, careerChangerWelcome: yes or no flags, each null on two rows in this run. matchedKeyword: the keyword that found the job. description, street, houseNumber, partnerName: added only when fetchDetails is true. The sample run did not set it. Pro tips Narrow the search with a place and a radius. radiusKm accepts "10" or "50" only. Keep the window short when you want only new postings. Set publishedWithinDays to "1" to keep postings published in the last day. Watch for the 10,000-row limit. The site returns at most 10,000 jobs per search. When a search has more matches, the run logs a warning. Split the search by place, radius, job type or publication date to get the rest. Ask for the full description only when you need it. fetchDetails adds the description, street and house number. A description can contain an email address or phone number that the employer wrote into it. The Actor does not look up contact details. Count by employer. company is the field to group by. This run has 10 employers in 20 rows. Save the input as a task. A saved Apify task repeats the same search without the input being typed again. Troubleshooting Zero rows, status SUCCEEDED. The site answered and nothing matched. The status message says so. Zero rows, status FAILED. The input was refused, or the site refused the run. The status message says which. Some rows, then a stop. If the run reaches its time limit, it keeps the rows already saved and logs a warning. Fewer rows than maxItems. A job that appears twice is kept once, and the log counts the repeats. A page that cannot be read is logged, and the run moves on to the next page; if several pages in a row cannot be read, that search ends early. None to None in the output. The row has no pay range. This is the row's value, not a script error. Next steps To repeat a search on a timetable, save its input as an Apify task and let the task run again. The dataset exports as JSON, CSV, XML, Excel, HTML table, RSS or JSONL (dataset docs), so the same rows can go straight into a spreadsheet. For current pricing and details, see the Store page. Which job titles would you search for on arbeitsagentur.de? Drop a comment below. About the author: reventadata builds and publishes data extraction Actors on the Apify Store.