Aller au contenu
Toutes les missions
Veille marché · Dev-to Nouvelle Publiée il y a 8 heures

How to Scrape StepStone Job Listings in Python with StepStone Scraper

By the end of this tutorial you will have a Python script that pulls job postings from StepStone into structured rows. Each row carries the job title, the employer, the location, the posting...

Mode Sur site

Résumé

By the end of this tutorial you will have a Python script that pulls job postings from StepStone into structured rows. Each row carries the job title, the employer, the location, the posting and expiry dates, StepStone's salary estimate, a teaser and the link to the posting. The site can be stepstone.de, stepstone.at, totaljobs.com, irishjobs.ie or jobs.ie, picked with one input. StepStone Scraper (reventadata/stepstone-scraper) is the Apify Actor built for these sites. You give it a country, optional keywords and optional places, and it returns one row per job posting. It reads the public result pages, so no login is needed. The sample row in this guide is one posting from a Stuttgart search that the Actor's README records on 2026-11-08. The values are copied from that record. Prerequisites You need three things: Python 3.11 or newer with pip. A free Apify account. You can sign up with an email address or a GitHub login. Your API token, which you find in the Apify Console under the integrations settings. Install the Apify client. The code in this guide uses the 3.x line: pip install -U "apify-client~=3.0" Keep the token out of the script. Export it in your terminal so the code can read it from the environment. What you'll achieve At the end of the run you have a list of job postings, one row each, that you can sort by end date, filter by location or export to a spreadsheet. A typical use is a weekly list of postings for one keyword in one city, with the employer column showing who is hiring. Example: search ingenieur postings in Stuttgart, read the first 10 rows, and print the title, the employer, the location and the posting date for each. The same script works for any keyword and place, and for any of the five sites. Step-by-step guide Step 1: Open the Actor Go to the StepStone Scraper page on Apify Store. The input form has these fields: country: de (stepstone.de), at (stepstone.at), uk (totaljobs.com), ie (irishjobs.ie) or ie-jobsie (jobs.ie). The default is de. searchQueries: job keywords, one search each. An empty list searches by location only. locations: cities or regions, one search each. An empty list covers the whole country. includeRelatedResults: also returns related-keyword and nearby-place results. It is off by default. fetchDetails: opens each posting for the full description, the employment type and the workplace address. It is off by default, and it makes the run slower. maxItems and maxPages: the caps on rows and on pages per search. Step 2: Choose the search For a first test, keep the search small. The script below looks for ingenieur postings in Stuttgart, returns ten rows and reads one page of results: 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: engineer postings in Stuttgart, ten rows, one page run_input = { "country": "de", "searchQueries": ["ingenieur"], "locations": ["stuttgart"], "maxItems": 10, "maxPages": 1, } # 3. Start the Actor and wait for it to finish run = client.actor("reventadata/stepstone-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)} postings.\n") # 5. Print one line per posting: title and employer, then location and posting date for item in items: print(f"{item.get('title')} | {item.get('companyName')} | {item.get('location')}") print(f" posted: {item.get('datePosted')}, ends: {item.get('publishToDate')}") Step 3: Run it from Python Export your token in the terminal and run the script: export APIFY_API_TOKEN="your-token-here" python3 stepstone_search.py The script starts the Actor, waits for the run to end, and prints two lines per posting. If the status is not SUCCEEDED, the script stops and prints the status. Step 4: Read one row Each dataset item is a JSON object. The sample is one posting from the 2026-11-08 Stuttgart search. The fetchDetails fields and the companyUrl are left out. { "id": "12625448", "title": "Ingenieur / Techniker (w/m/d) Objektüberwachung HLSK", "url": "https://www.stepstone.de/stellenangebote--Ingenieur-Techniker-w-m-d-Objektueberwachung-HLSK-Frankfurt-Koeln-Dresden-Berlin-Leipzig-Dortmund-Freiburg-Penzberg-Aachen-Muenchen-Mannheim-Stuttgart-Drees-Sommer-SE--12625448-inline.html", "section": "main", "companyName": "Drees & Sommer SE", "companyId": 3440, "isAnonymous": false, "location": "Frankfurt,Köln,Dresden,Berlin,Leipzig,Dortmund,Freiburg,Penzberg,Aachen,München,Mannheim,Stuttgart", "postCode": null, "datePosted": "2026-11-06T17:03:06.01Z", "publishFromDate": "2026-11-06T17:03:06.01Z", "publishToDate": "2026-11-21T17:01:28.353Z", "salaryType": null, "salaryMin": null, "salaryMax": null, "textSnippet": "Drees & Sommer ist ein internationales Beratungs- und Projektmanagementunternehmen für nachhaltige Lösungen in Immobilien, Industrie, Energi...", "workFromHome": "2", "labels": ["QUICK_APPLY"], "isSponsored": false, "isTopJob": false, "country": "de", "searchUrl": "https://www.stepstone.de/jobs/ingenieur/in-stuttgart" } Understanding your results id and url: StepStone's job number and the posting link, without tracking parameters. Use the id as the key in your own store. title, companyName, companyId and companyUrl: the posting title and the employer. When StepStone shows the employer anonymously, the employer fields are null and isAnonymous is true. location and postCode: where the work is, as the posting states it. A posting can list several cities in one field. datePosted, publishFromDate and publishToDate: ISO 8601 timestamps in UTC. publishToDate is the end date StepStone gives for the posting. salaryText: the salary as the advertiser wrote it. It appears for the UK and Irish sites only. salaryMin, salaryMax, salaryPeriod and salaryCurrency: StepStone's salary data. The salaryType field is Predicted in every salary seen, so these figures are StepStone's estimate, not the employer's advertised salary. textSnippet: a short teaser. It is not the full description. section: main for an exact match, semantic for a related keyword, or regional for a nearby place. workFromHome: StepStone's own code, passed through as it is. The site does not document what the codes mean. labels, isSponsored and isTopJob: the site's flags for the posting. searchUrl: the search that returned the row. A field with no value is null, not missing. Pro tips and advanced usage Keep exact matches on. The default returns exact matches only. Turn includeRelatedResults on when you want wider coverage, and filter on section to keep one kind. Use fetchDetails for the full text. The teaser is short. The full description, the employment type and the street address come only with fetchDetails. Combine keywords and places. Each keyword and place pair is one search, and the run allows at most 40 searches. A posting that several searches return is still returned once. Sort by end date. Parse publishToDate and sort by it, so the postings with the nearest end date come first. Treat salary figures as estimates. Use salaryText for what the advertiser wrote, and keep the Predicted figures separate in your analysis. Troubleshooting common issues The run ends as FAILED. The Actor writes a status message when it cannot read the site. The script prints the status. Read the run's log in the Apify Console for the message. The run succeeds with zero rows. A search with no matching postings ends as SUCCEEDED with a message that says nothing matched. A place the site does not know returns no results, so check the spelling. Places are written in lower case with spaces replaced by hyphens, and umlauts are written out. A very broad search takes long. A search with no keyword across a whole country can have many pages. Set maxItems and maxPages before you run it. The UK run stops at page five. Without maxPages, a UK search reads up to five pages, which is up to 125 postings. Combine several keywords and places for more. Next steps Change locations to compare cities, or switch country to read another site. To repeat a search on a schedule, save it as an Apify task and attach a schedule to it. Then read each new dataset from Python in the same way, and check each run's status before you trust its count. For current pricing and details, see the Store page. What would you compare first? Share it in the comments.