How to get open jobs from company career pages (Greenhouse and Lever) as clean data

2026-12-05来源 dev.toEnglish

Disclosure: I'm GiggaDev, and I built the Apify Actor this post uses. The Actor is paid. The do-it-yourself route below is free, and I say where it is enough.

The problem

I wanted job data from the source rather than from an aggregator: title, location, department, date, link and the full description. Scraping each company's own career page tends to break whenever the site is redesigned.

Many career pages are only a front end for an applicant tracking system. Two common ones, Greenhouse and Lever, publish read-only JSON for exactly this. Greenhouse documents its Job Board API and says only the application endpoint needs authentication. Lever's postings API says published postings "may be scraped by third parties".

Free route: two curl calls

The board name is the last part of the career page address (boards.greenhouse.io/airbnb, jobs.lever.co/spotify):

curl -s 'https://boards-api.greenhouse.io/v1/boards/airbnb/jobs?content=true' | jq '.jobs | length' curl -s 'https://api.lever.co/v0/postings/spotify?mode=json' | jq 'length' 

Today (2026-12-04) these printed 190 and 110. A wrong board name gives HTTP 404. If you need one company once, stop here.

What you handle yourself once you have more than one board:

  • Different shapes. Greenhouse has first_published as ISO text with a local offset, a departments list and location.name. Lever has createdAt as epoch milliseconds, and categories holding team, department, location and commitment.
  • Size. Airbnb's Greenhouse board was 2.7 MB with content=true and 146 KB without it, for the same 190 jobs. Only ask for descriptions when you need them.
  • Everything around it. Filters, sorting, pacing, retries, telling "no jobs" from "wrong board", scheduling, storage.

That last part is what I packaged.

The Actor

Company Career Pages Scraper: Greenhouse & Lever reads the open jobs from the career pages you name and returns one row per job. It does not search across companies and it is not a database of all jobs. You need a free Apify account to run it; the career sites need no login.

Main input fields (the full list is on the input page):

Field Meaning
careerPages Required. greenhouse:airbnb, lever:spotify or a full career page address. A bare name is refused as ambiguous.
keywords, excludeKeywords, searchIn Words matched against the title, or title plus description.
locations, departments, remoteOnly, postedWithinDays More filters.
sortBy, maxJobsPerBoard Order, and a cap per board (default 100).
descriptionFormat text, html, both or none.

From the Store page

Open the Actor page, type or paste your career pages into the input form, set the filters, start the run, then export the dataset as JSON, CSV or Excel.

From the API with curl

Keep the token in an environment variable and send it as a header:

curl -s -X POST \ 'https://api.apify.com/v2/acts/giggadev~career-jobs-scraper/run-sync-get-dataset-items?maxTotalChargeUsd=0.05' \ -H "Authorization: Bearer $APIFY_TOKEN" \ -H 'Content-Type: application/json' \ -d '{"careerPages": ["greenhouse:airbnb", "lever:spotify"], "keywords": ["engineer"], "postedWithinDays": 30, "sortBy": "newest", "maxJobsPerBoard": 3}' 

maxTotalChargeUsd caps what the run can cost. This endpoint answers within one HTTP call and Apify returns 408 if the run takes longer than 300 seconds, so start long runs asynchronously and read the dataset afterwards.

From Python with apify-client

Install the client first with pip install "apify-client>=3.6" (I tested 3.6.0; older versions return a plain dictionary from call(), so run.default_dataset_id would fail).

import os from decimal import Decimal from apify_client import ApifyClient client = ApifyClient(os.environ["APIFY_TOKEN"]) run = client.actor("giggadev/career-jobs-scraper").call( run_input={ "careerPages": ["greenhouse:airbnb", "lever:spotify"], "keywords": ["engineer"], "postedWithinDays": 30, "sortBy": "newest", "maxJobsPerBoard": 3, }, max_total_charge_usd=Decimal("0.05"), ) for job in client.dataset(run.default_dataset_id).iterate_items(): print(job["source"], job["title"], job["location"], job["url"], sep=" | ") 

Every run also writes a RUN_SUMMARY record that says what happened to each board: jobs found, jobs returned, jobs your filters removed, and why a board returned nothing.

Sample output

I ran this input myself on 2026-12-04 (my own run, not a customer's). It returned six rows, three per board. One Lever row, trimmed to the main fields, with the description cut short:

{ "source": "lever", "board": "spotify", "title": "Staff Machine Learning Engineer - Content Intelligence", "location": "London", "locations": ["London", "Stockholm"], "department": "Engineering", "team": "Experience", "employmentType": "Permanent", "workplace": "hybrid", "remote": false, "postedAt": "2026-12-03T15:45:52+00:00", "url": "https://jobs.lever.co/spotify/ae1009f2-ac77-47ea-90c0-e2f88b2019b2", "compensation": null, "descriptionText": "We design Spotify’s consumer experience…" } 

A Greenhouse row has the same columns, but team and employmentType are null because Greenhouse does not publish them. compensation is filled only when the posting states pay, for example {"min": 75645, "max": 94556, "currency": "USD", "interval": "per-year-salary"} on a Spotify finance role from an earlier test run.

Three ways to use it

Each has a saved example on the Actor page with its input ready to copy.

  1. Hiring signals for outreach. sales-hiring-signals keeps titles such as account executive or solutions engineer at Datadog, MongoDB, Twilio and Stripe. A burst of sales openings is one thing people watch before contacting a company.
  2. A weekly "what's new" list. new-job-postings-last-7-days uses postedWithinDays: 7 and newest-first order. Put it on an Apify schedule and diff the output.
  3. Descriptions for an LLM or RAG index. job-descriptions-for-llm-and-rag returns plain-text descriptions for software engineering roles at Cloudflare and Figma, ready to chunk and embed.

The page has more: AI and ML roles, remote roles, data science roles, Stripe and Spotify.

Limits, honestly

  • Only the boards you name. "Every data science job in Europe" is the wrong question for this tool. "Everything these twelve companies are hiring for, every Monday" is the right one.
  • Only currently published jobs. It reads live, with no history. To see changes, schedule runs and compare them.
  • Greenhouse and Lever. Ashby is supported but off by default, because its documentation gives third parties no express permission. You switch it on knowingly.
  • Pay is rare. In my own test runs, 5 of 625 rows carried a compensation value, and the same boards were run several times. Don't build on it.
  • Employer text. Descriptions can contain contact details. The Actor adds no personal data, but what you store and how you use it is your responsibility, including under GDPR.
  • It depends on the providers. If one changes its endpoint, the run says unrecognised response instead of returning an empty list, and I would have to publish a fix.
  • It is new. It has no reviews yet.

What it costs

The price is $2.00 per 1,000 jobs ($0.002 per job), pay per event, plus a start event of $0.00005 per GB of run memory (one event for the 512 MB run above). You pay for a job only when its row is written, and filters apply before charging. The six-row run above was 6 jobs plus one start event, $0.01205; the run's own charge counts showed exactly that. An unknown board, a blocked request or an empty board produces no rows and no job charge. A free Apify account comes with $5 of usage a month that can be spent in the Store, so a test like the one above (about a cent) comes out of that.

Ten boards at 50 jobs each is up to 500 jobs, about $1.00.

If a board that should work doesn't, open an issue on the Actor page with the run link.

— GiggaDev

原文:https://www.a8q9.cn/en/article/how-to-get-open-jobs-from-company-career-pages-greenhouse-and-lever-as-clean-dat-1f7f1f.html

相关文章