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

How to Pull US Job Listings from SimplyHired with SimplyHired Scraper

By the end of this tutorial you will have a short Python script that pulls job listings from SimplyHired, the US job board, into structured rows. Each row holds the job title, the company, t...

Entreprise least
Mode Remote

Résumé

By the end of this tutorial you will have a short Python script that pulls job listings from SimplyHired, the US job board, into structured rows. Each row holds the job title, the company, the location, the salary text when the listing shows one, the posting time and the link to the listing. You do not need to write any scraping code yourself. SimplyHired Scraper (reventadata/simplyhired-scraper) is the Apify Actor built for this site. You give it a search phrase, such as python, and it returns one row per job. This guide calls it from Python with the Apify client. The Actor is not affiliated with SimplyHired. It reads public search pages 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. The Actor reads the public pages for you. What you'll achieve You will search SimplyHired for python, read the rows in Python and print three lines per job. The first line holds the title, the company and the location. The second holds the salary text and the posting date. The third holds the link. Because every row has the same fields, you can sort the output by company or location afterwards, or paste it into a spreadsheet. A missing company, location, salary or date does not stop the script: it prints not stated for that value instead. Each row also carries the link to its job, so every line can be opened in one click and checked against the listing on the site. To search for another phrase, change one value in the script and nothing else. The Actor has only two inputs, so there is little else to tune. Step 1: Open SimplyHired Scraper Open the SimplyHired Scraper page on Apify Store. This tutorial calls the Actor from Python, so the name reventadata/simplyhired-scraper is all you need from that page. Step 2: Choose the search The Actor takes two input fields: query: the search phrase, for example python. Required. Extra spaces are collapsed, and a phrase longer than 120 characters is rejected. maxItems: the most rows to store. Left unset, it defaults to 100. It must be at least 1. The example input of this tutorial is: {"query": "python", "maxItems": 10} Step 3: Run it from Python This script starts the Actor, waits for it to finish, reads the dataset and prints three lines per job: import os from datetime import datetime, timezone 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 phrase "python", at most 10 rows run_input = {"query": "python", "maxItems": 10} # 3. Start the Actor and wait for it to finish run = client.actor("reventadata/simplyhired-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 three lines per job for item in items: posted = item.get("dateOnIndeed") if posted is None: posted_text = "not stated" else: posted_text = datetime.fromtimestamp(posted / 1000, tz=timezone.utc).strftime("%Y-%m-%d") print(f"{item['title']} at {item.get('company') or 'not stated'}, {item.get('location') or 'not stated'}") print(f" salary: {item.get('salary') or 'not stated'}, posted: {posted_text}") print(f" {item['url']}") The dateOnIndeed field holds the posting time as epoch milliseconds, so the script divides it by 1000 and prints a UTC date. To search for something else, change the phrase in query. Step 4: Read the output Each row is a JSON object. The two rows below are the second and third rows of the example run of 27 November 2026, which used the input from Step 2 and returned 10 rows. The first row of that run carries a salary text and is left out, so this sample holds no price figures. Both rows are whole and copied as the Actor returned them: [ { "id": "e3-Dumfrb_feLYoqo470lX0OAAUAKbp3bAwPrrrk8KDXuW20KeZ8JA", "title": "Sr. Kubernetes Engineer", "url": "https://www.simplyhired.com/job/e3-Dumfrb_feLYoqo470lX0OAAUAKbp3bAwPrrrk8KDXuW20KeZ8JA", "company": "Delan Associates, Inc", "location": "Remote", "salary": null, "dateOnIndeed": 1787016393744, "snippet": "✅ Calico CNI configuration & troubleshooting. We are looking for an experienced Senior Kubernetes Engineer to support the build-out of an on-premises failover…", "matchedQuery": "python", "scrapedAt": "2026-11-27T14:27:28.106258+00:00" }, { "id": "vBjcJdlkaFbLkQcCb7Sq0HyGj2-yQcgReXN3usbAPr_2RxFG6Ooimw", "title": "Ingeniero Cloud Jr - Integratel", "url": "https://www.simplyhired.com/job/vBjcJdlkaFbLkQcCb7Sq0HyGj2-yQcgReXN3usbAPr_2RxFG6Ooimw", "company": "Stefanini Latam", "location": "Peru, IN", "salary": null, "dateOnIndeed": 1794616947844, "snippet": "Administrar y configurar recursos en Microsoft Azure (redes, máquinas virtuales y almacenamiento). Fundamentos Azure: Conocimientos teóricos y prácticos en…", "matchedQuery": "python", "scrapedAt": "2026-11-27T14:27:28.106258+00:00" } ] For these two rows, the script prints the following. The text is computed from the rows above, not copied from a console: Sr. Kubernetes Engineer at Delan Associates, Inc, Remote salary: not stated, posted: 2026-08-18 https://www.simplyhired.com/job/e3-Dumfrb_feLYoqo470lX0OAAUAKbp3bAwPrrrk8KDXuW20KeZ8JA Ingeniero Cloud Jr - Integratel at Stefanini Latam, Peru, IN salary: not stated, posted: 2026-11-14 https://www.simplyhired.com/job/vBjcJdlkaFbLkQcCb7Sq0HyGj2-yQcgReXN3usbAPr_2RxFG6Ooimw Understanding your results These are the fields you will use most: title, company, location: the job title, the hiring company and the place, as the listing shows them. company and location can be null. url: the link to the listing on SimplyHired. Use it to open the job or to store a reference. salary: the salary text as the listing publishes it, or null when the listing shows none, as in both rows above. dateOnIndeed: the posting time as epoch milliseconds, or null. snippet: a short excerpt of the description, or null. matchedQuery: the search phrase that produced the row, here python. id and scrapedAt: the job identifier on the site, and the ISO 8601 time the row was scraped. A common question is why the salary is null for some rows. The listing decides this, and the Actor only copies what the listing states. Pro tips and advanced usage Start small. Keep maxItems at 10 while you check the output shape, then raise it. A search page holds 20 jobs, so a larger cap means the Actor reads more than one page. Treat missing values as normal. company, location, salary, dateOnIndeed and snippet can be null, so the script reads them with .get() and a fallback. One phrase per run. The input takes a single query. To compare two phrases, start two runs and use matchedQuery to tell the rows apart. Keep the job link. The url and id fields identify each job, so a later run can show which jobs are new compared with an earlier one. Within one run, repeated jobs are stored once. Schedule runs for a watch list. Apify schedules let you start the same input every day. Compare the new rows with the old ones by id. Sort on the number. The field is named dateOnIndeed, and the dataset schema defines it as epoch milliseconds. Sort on the number and convert it only for display. Troubleshooting common issues The run did not succeed. Open the run in the Apify Console and read its status message. An empty query, a query over 120 characters or a maxItems below 1 ends the run as failed, with a message that names the input to fix. The run succeeded but the dataset is empty. A phrase with no matching results stores no rows, and the run ends with a status message that says nothing matched. Try a broader phrase. Fewer rows than maxItems. The search may hold fewer jobs than the cap. If the Actor cannot read a later page, the rows already stored stay in the dataset. Your question is not answered here. Ask in the comments below, and include the input you used and the url of one row. Next steps Once the script prints the right rows, save them. Write the rows to a CSV file, load them into a spreadsheet, or send them to a database with a second Python script. For the full input list, open the Actor's page on Apify Store and read the Input section. Then try a second phrase with the same script and compare the two results. For current pricing and details, see the Store page. Which phrase will you search on SimplyHired? Drop a comment below. About the author: reventadata builds and publishes data extraction Actors on the Apify Store.