How to search jobs across thousands of company career sites with Python (Greenhouse, Lever, Ashby)
Disclosure: I built the Apify actor used in the second half of this post. It is a paid tool (pay per job). The first half is free and uses only public APIs and Common Crawl. Most startups an...
Résumé
Disclosure: I built the Apify actor used in the second half of this post. It is a paid tool (pay per job). The first half is free and uses only public APIs and Common Crawl. Most startups and tech companies don't post jobs on their own servers. Their careers page is hosted by an applicant tracking system (ATS): Greenhouse, Lever, Ashby, Workable, SmartRecruiters, Recruitee. Every one of these publishes each company's open jobs through a free public JSON API, so the company can show them on its own website. No login, no key, no HTML parsing, and the data is the employer's own: real posting dates, departments, direct apply links, and often a salary range. There is one catch. These APIs work one company at a time: you need to know that a company exists and what its board is called. To answer "which companies are hiring a data engineer in Canada right now?", you first need a list of thousands of companies. This post shows how to build that list for free, search it, and what I ran into when I scaled it up to 20,000 boards. Step 1: find company boards in Common Crawl Common Crawl crawls billions of pages a month and publishes a free index of every URL it saw. Career boards live on predictable hosts, so you can ask the index for every URL on, say, jobs.ashbyhq.com and read the company name out of the path: Platform Board URL Public API (all jobs of one company) Ashby jobs.ashbyhq.com/{company} api.ashbyhq.com/posting-api/job-board/{company} Greenhouse job-boards.greenhouse.io/{company} boards-api.greenhouse.io/v1/boards/{company}/jobs Lever jobs.lever.co/{company} api.lever.co/v0/postings/{company}?mode=json Workable apply.workable.com/{company} apply.workable.com/api/v1/widget/accounts/{company} SmartRecruiters jobs.smartrecruiters.com/{company} api.smartrecruiters.com/v1/companies/{company}/postings Recruitee {company}.recruitee.com {company}.recruitee.com/api/offers/ import json import re import time from concurrent.futures import ThreadPoolExecutor import requests HEADERS = {"User-Agent": "my-job-search/1.0"} def crawl_urls(pattern, crawl="CC-MAIN-2026-47", page=0, tries=6): """URLs Common Crawl saw for a pattern, from its public URL index (one page of results).""" for attempt in range(tries): r = requests.get(f"https://index.commoncrawl.org/{crawl}-index", params={"url": pattern, "output": "json", "fl": "url", "page": page}, headers=HEADERS, timeout=180) if r.status_code == 200: return [json.loads(line)["url"] for line in r.text.splitlines() if line.startswith("{")] time.sleep(10 * (attempt + 1)) # the index server is often busy: back off and retry r.raise_for_status() urls = crawl_urls("jobs.ashbyhq.com/*") slugs = sorted({u.split("/")[3].split("?")[0].lower() for u in urls if len(u.split("/")) > 3 and u.split("/")[3]}) slugs = [s for s in slugs if not re.fullmatch(r"[0-9a-f-]{36}", s)] # skip internal board IDs print(len(urls), "URLs ->", len(slugs), "Ashby job boards") When I ran it, the first page of results held 1,313 URLs from 308 Ashby boards. Pass page=1, page=2 and older crawl names (CC-MAIN-2026-43 and so on) to collect more. The index server is shared and slow: it regularly answers 504 Gateway Time-out, and it stops answering if you send it parallel requests (it did to me). Send one request at a time and retry with pauses, as above. Step 2: read every board and search the titles Ashby is a good platform to start with: one request returns all of a company's jobs, with the workplace type and, when the company publishes it, a salary range. def ashby_jobs(slug): r = requests.get(f"https://api.ashbyhq.com/posting-api/job-board/{slug}", params={"includeCompensation": "true"}, headers=HEADERS, timeout=60) if r.status_code == 404: return None # the board no longer exists r.raise_for_status() jobs = [] for j in r.json()["jobs"]: comp = next((c for c in (j.get("compensation") or {}).get("summaryComponents") or [] if c.get("compensationType") == "Salary"), {}) jobs.append({ "company": slug, "title": j["title"].strip(), "location": j.get("location") or "", "workplace": j.get("workplaceType"), # Remote / Hybrid / OnSite "posted": (j.get("publishedAt") or "")[:10], "salary_min": comp.get("minValue"), "salary_max": comp.get("maxValue"), "currency": comp.get("currencyCode"), "url": j["jobUrl"], }) return jobs with ThreadPoolExecutor(max_workers=4) as pool: # keep it gentle boards = dict(zip(slugs[:300], pool.map(ashby_jobs, slugs[:300]))) live = {s: jobs for s, jobs in boards.items() if jobs} all_jobs = [j for jobs in live.values() for j in jobs] gone = sum(1 for jobs in boards.values() if jobs is None) print(f"{len(live)} boards with open jobs, {gone} gone, {len(all_jobs)} jobs") 272 boards with open jobs, 16 gone, 9843 jobs. Now search the titles. The obvious check, "the title contains data and engineer", is noisy: "data" is inside "database", and "engineer" is inside "engineering", so it also matches titles like "Data Center Engineering Manager". A stricter rule is whole words, in order, plurals allowed: def matcher(keyword): """Whole words, in order, plural allowed: 'data engineer' matches 'Senior Data Engineers' but not 'Data Center Engineering'.""" words = [re.escape(w) + r"(?:s|es)?" for w in keyword.lower().split()] return re.compile(r"(?<!\w)" + r"[\s,/&-]+".join(words) + r"(?!\w)") data_engineer = matcher("data engineer") hits = [j for j in all_jobs if data_engineer.search(j["title"].lower())] hits.sort(key=lambda j: j["posted"], reverse=True) for j in hits[:5]: pay = f"{j['salary_min']:,.0f}-{j['salary_max']:,.0f} {j['currency']}" if j["salary_min"] else "no salary" print(j["posted"], j["company"], "|", j["title"], "|", j["location"], "|", j["workplace"], "|", pay) naive = [j for j in all_jobs if "data" in j["title"].lower() and "engineer" in j["title"].lower()] print(len(hits), "real matches;", len(naive), "with a naive 'data' + 'engineer' check") 2026-11-27 clera | Senior Data Engineer | remote | None | 80,000-120,000 USD 2026-11-25 clera | Senior Data Engineer | remote | None | 100,000-140,000 USD 2026-11-24 amenitiz | Senior Data Engineer | Barcelona | OnSite | no salary 2026-11-23 datatonic | Senior Data Engineer | Canada | Remote | 120,000-150,000 CAD 2026-11-18 aerovect | Senior Data Engineer | Toronto - Remote | OnSite | no salary 50 real matches; 157 with a naive 'data' + 'engineer' check The naive check found 157 titles, the phrase match 50. The 107 extra ones are a mix. Some are real data-engineering jobs worded differently ("Data Platform Engineer", "Software Engineer, Data Platform"); some are noise ("Senior Software Engineer - Database", data-center roles). A substring check can't tell them apart, so use the strict match and add the wordings you want as extra keywords (data platform engineer, software engineer data). Either way, that is a search over 272 companies in about 40 seconds, for free. What goes wrong at 20,000 boards I scaled the same idea up to six platforms and four monthly crawls: 21,191 candidate boards. The first full refresh found about 500,000 open jobs on 10,288 of them. Things I did not expect: Many boards in crawl data are dead. 1,627 of 7,247 Greenhouse boards returned 404: companies that switched ATS, shut down or renamed their board. Recheck them weekly rather than dropping them forever. Rate limits differ wildly by platform and by where you run. From my laptop, Workable handled about 18 requests a second; at 16 parallel requests, 145 of 160 got 429 Too Many Requests. From cloud servers it was far stricter: even at 5 boards a second, 415 of the 542 Workable boards I reached in 20 minutes answered 429. Greenhouse refused 306 boards with 429s when I read 48 boards at once from the cloud. Pace each platform separately and slow down when you see a 429. Workday is off limits. Its career sites answer automated clients with a "Security Check: enable JavaScript and cookies" page. That is bot protection, so I left Workday out. Payload sizes differ by 20x. Ashby and Lever always send full descriptions (about 18 KB per job: Notion's board is 3.2 MB, Palantir's 5.8 MB). Greenhouse sends a light list (Airbnb's 200 jobs in 150 KB) unless you ask for content=true. Store the light fields and fetch descriptions only for jobs you return. Remote flags disagree with the text. Ashby's isRemote was also true on hybrid roles; trust workplaceType when it is there. Locations are free text written by recruiters: one "Toronto - Remote" job above is flagged OnSite. Country detection needs care too: "Madrid, MD, Spain" is not Maryland, and "Atlanta, Georgia" is not the country. "Posted" dates are not reliable. Greenhouse's updated_at changes every time a recruiter edits a job, so use first_published. Keep your own first-seen date per job if you want "new since yesterday". Searching live is slow and wasteful. Reading every board for every search means tens of thousands of requests. Build an index once or twice a day and search that instead. The hosted way: one search across 10,000+ career sites ATS Jobs Search is the Apify actor I built from the above. It keeps an index of about 500,000 open jobs from 10,000+ companies on Greenhouse, Lever, Ashby, Workable, SmartRecruiters and Recruitee, refreshed twice a day (Workable once a day), and searches it in a few seconds with the whole-word matching shown above, plus location, remote, salary and date filters. You need a free Apify account and your API token (Console, then Settings, then API & Integrations). Then pip install "apify-client>=3" and run this. It finds data and analytics engineering jobs in the US and Canada from the last two weeks that publish a salary: import csv from apify_client import ApifyClient client = ApifyClient("YOUR_APIFY_TOKEN") run = client.actor("sonic_scraper/ats-jobs-search").call(run_input={ "keywords": ["data engineer", "analytics engineer"], "locations": ["United States", "Canada"], "postedWithinDays": 14, "onlyWithSalary": True, "maxResults": 500, }) with open("data_jobs.csv", "w", newline="", encoding="utf-8") as f: writer = csv.writer(f) writer.writerow(["posted", "company", "title", "location", "remote", "salary_min", "salary_max", "currency", "per", "platform", "url"]) count = 0 for job in client.dataset(run.default_dataset_id).iterate_items(): writer.writerow([job["postedDate"], job["company"], job["title"], job["location"], job["remote"], job["salaryMin"], job["salaryMax"], job["salaryCurrency"], job["salaryPeriod"], job["atsPlatform"], job["url"]]) count += 1 print(count, "jobs saved to data_jobs.csv") When I ran it: 28 jobs from 27 companies, 11 of them remote, which costs about $0.06 at $2 per 1,000 jobs. A few rows: 2026-11-25 | Discord | Data Engineer | San Francisco Bay Area | 160000-200000 USD/year | Greenhouse 2026-11-25 | Upside | Analytics Engineer, Data Platform | DC; New York; Austin; Chicago | 149000-180000 USD/year | Ashby 2026-11-24 | Metriport | Staff Data Engineer | San Francisco | 200000-260000 USD/year | Ashby 2026-11-23 | CodePath | Senior Data Engineer | Remote, United States | 110000-150000 USD/year | Greenhouse Other inputs: excludeKeywords: skip titles such as senior, staff, intern. companies / excludeCompanies: names or career page URLs. Use companies alone to get every open job at a list of employers. remoteOnly, departments and atsPlatforms. includeDescription: reads each job's full description live from the company's site and drops jobs closed since the last refresh. Keywords can end with * (engineer* also finds "Engineering Manager"), and quoted phrases match exactly. A daily feed of new jobs run = client.actor("sonic_scraper/ats-jobs-search").call(run_input={ "keywords": ["product designer", "UX designer"], "remoteOnly": True, "monitorKey": "remote-design-jobs", "maxResults": 1000, }) With monitorKey set, each run returns only jobs that earlier runs with the same key did not return, so a quiet day can legitimately return nothing. Save the input as a task in Apify Console, add a daily schedule, and send new rows to Slack, Google Sheets, email or your own job board with an Apify integration, Make, Zapier or n8n. For LinkedIn and Indeed listings instead of company career sites, see my earlier post: How to scrape LinkedIn and Indeed jobs into a spreadsheet with Python.