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

How to Pull Jobs from Stellenanzeigen.de with Stellenanzeigen.de Scraper

By the end of this tutorial you will have a short Python script that searches Stellenanzeigen.de, the German job board, and returns the results as structured rows. Each row holds the job tit...

Entreprise most
Mode Sur site

Résumé

By the end of this tutorial you will have a short Python script that searches Stellenanzeigen.de, the German job board, and returns the results as structured rows. Each row holds the job title, the company, the location, the salary band when the site shows one, and the link to the job. You do not write any scraping code yourself. Stellenanzeigen.de Scraper (reventadata/stellenanzeigen-scraper) is the Apify Actor built for this site. You give it a search keyword, such as engineer, and it returns one row per result. This guide calls it from Python with the Apify client. The Actor is not affiliated with Stellenanzeigen.de. It reads public search results without a login. Prerequisites You need three things: Python 3, with the Apify client installed. A free Apify account. You can sign up on the Apify site. 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 browser automation is needed on your side. What you'll achieve You will search Stellenanzeigen.de for engineer, read the rows in Python and print two lines per job. The first line holds the title, the company and the location. The second holds the salary band, when there is one, and the link to the job. Because every row has the same fields, you can sort the output by company or location afterwards, or paste it into a spreadsheet. Each row also carries a link to its job page, so every line can be opened in a browser. To search for another keyword, change one value in the script and nothing else. Use any keyword you would type into the Stellenanzeigen.de search box. Step 1: Open Stellenanzeigen.de Scraper Open the Stellenanzeigen.de Scraper page on Apify Store. This tutorial calls the Actor from Python, so the name reventadata/stellenanzeigen-scraper is all you need from that page. Step 2: Choose the search The Actor takes two input fields: query: the search keyword. Required. The README example is engineer. maxItems: the most rows to store. It defaults to 25. The Actor ends the run with an input error if you set it below 1. Extra spaces in the keyword are collapsed, and a keyword longer than 120 characters is rejected. Step 3: Run it from Python This script starts the Actor, waits for it to finish, 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: the keyword "engineer", at most 10 rows run_input = {"query": "engineer", "maxItems": 10} # 3. Start the Actor and wait for it to finish run = client.actor("reventadata/stellenanzeigen-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: print(f"{item['title']} at {item['company']}, {item['location']}") print(f" {item['salary'] or 'no salary listed'} - {item['url']}") Step 4: Read the output Each row is a JSON object. These are the first 3 rows of the example run of 2026-11-27 (input {"query": "engineer", "maxItems": 10}), which returned 10 rows in total. The rows are shown whole: [ { "id": "SDE-136868", "title": "Chemical Plant Engineer (m/w/d)", "company": "Heraeus Quarzglas Bitterfeld GmbH & Co. KG", "location": "Bitterfeld-Wolfen", "salary": "56.000 - 70.000 €/Jahr", "url": "https://www.stellenanzeigen.de/job/chemical-plant-engineer-m-w-d-bitterfeld-wolfen-sde-136868/", "matchedQuery": "engineer", "scrapedAt": "2026-11-27T17:36:31.647926+00:00" }, { "id": "SDE-129339", "title": "DevOps Engineer (m/w/d)", "company": "TRIOLOGY GmbH", "location": "Braunschweig", "salary": null, "url": "https://www.stellenanzeigen.de/job/devops-engineer-m-w-d-braunschweig-sde-129339/", "matchedQuery": "engineer", "scrapedAt": "2026-11-27T17:36:31.647926+00:00" }, { "id": "SDE-129460", "title": "System Engineer (m/w/d)", "company": "Econocom Products & Solutions GmbH", "location": "Frankfurt am Main", "salary": "50.000 - 60.000 €/Jahr", "url": "https://www.stellenanzeigen.de/job/system-engineer-m-w-d-frankfurt-am-main-sde-129460/", "matchedQuery": "engineer", "scrapedAt": "2026-11-27T17:36:31.647926+00:00" } ] The fields: id: the identifier the site publishes for the job. title: the job title as the site shows it. company: the employer the site publishes. location: the job location as the site publishes it. salary: the salary band as the site publishes it, kept as text. It is null when the result card shows none. url: the link to the public job page. matchedQuery: the keyword you searched for. scrapedAt: an ISO 8601 timestamp. Understanding your results Every row has the same eight fields, so a run is easy to load into a table. A few details help when you work with the data. Rows in one run are de-duplicated by id, so the same job does not appear twice in the dataset. The salary field is text, not a number. In the example rows it reads 56.000 - 70.000 €/Jahr, and the second row has null because its card shows no salary. Keep it as text, or parse it yourself if you need numbers. The title field is kept as the site shows it, which is why the examples end in (m/w/d). The matchedQuery field repeats your keyword on every row, which helps if you merge the output of several runs into one file. The scrapedAt field is when the row was collected, and url is the link back to the job on Stellenanzeigen.de. The Actor returns only what the site shows on its result cards. There is no full job description. When you want to read a whole listing, open the url from the row. Treat id as the stable key for a job and url as the link you click. Pro tips and advanced usage Keep the test small. Set maxItems to a low number while you check that the script works, then raise it. The ceiling is 25 rows per run in any case, because the Actor reads one results page per search. Search one keyword per run. To cover several keywords, call the Actor once per keyword in a loop, and use matchedQuery to tell the rows apart afterwards. Save to a file. Write the rows from Step 3 to a CSV file with encoding="utf-8": import csv with open("stellenanzeigen-jobs.csv", "w", newline="", encoding="utf-8") as f: writer = csv.DictWriter(f, fieldnames=["id", "title", "company", "location", "salary", "url"]) writer.writeheader() for item in items: writer.writerow({k: item.get(k) for k in writer.fieldnames}) Compare runs by link. When you merge several runs, use url or id as the key, since one job can match more than one keyword. Rows inside one run are already de-duplicated by id, but two runs know nothing about each other, so the merge is your job. Keep the token safe. Read it from APIFY_API_TOKEN, as the script does, and never paste it into a file you share. Limits to know about One keyword is read per run. Put one keyword in query. One results page is read per search, and that page holds up to 25 job cards, so a run returns at most 25 rows, whatever maxItems says. A keyword with no public results stores no rows. The Actor returns only the fields the site publishes on its result cards. There is no full job description: open the url for that. Troubleshooting common issues The run did not succeed. Open the run in the Apify Console and read its log. The script above stops and prints the status, so you can see the cause. You got zero rows. The keyword may have no public results, and the Actor stores no rows in that case. Try a shorter or more common keyword. You got fewer rows than maxItems. The Actor reads one results page per search, and a page holds up to 25 cards, so the page may simply hold fewer jobs than you asked for. The input was rejected. Check that query is not empty or longer than 120 characters, and that maxItems is at least 1. Next steps Save the rows to a CSV file, or load them into a spreadsheet and sort by company. Then run the script with a second keyword and compare the two result sets by url. For current pricing and details, see the Store page. Which keyword will you search on Stellenanzeigen.de? Drop a comment below. About the author: reventadata builds and publishes data extraction Actors on the Apify Store.