Find Company Jobs via Greenhouse, Lever & Ashby

Summary

Pixel shares a practical guide to retrieving company job listings directly from Greenhouse, Lever, and Ashby public JSON endpoints. It compares API URLs, fields, pagination, and compensation options, then introduces Python code for normalizing results into one feed.

DEV Community

How to get a company's open jobs straight from Greenhouse, Lever or Ashby

You have a list of companies and want their open roles in one table, with no browser and no HTML parsing. Most careers pages built on Greenhouse, Lever or Ashby are rendered from a public JSON endpoint that anyone can call, and the three are similar enough to merge into one shape. The three endpoints The board token is the last part of the careers URL: job-boards.greenhouse.io/, jobs.lever.co/, jobs.ashbyhq.com/. An unknown token returns 404 on all three. Greenhouse: GET https://boards-api.greenhouse.io/v1/boards//jobs. One request returns the whole board (674 jobs for the board I tried, in about a second). You get id, title, location.name, first_published, updated_at and absolute_url. Descriptions need ?content=true, which made that same response about 10 MB. Pay is not in the list; /jobs/?pay_transparency=true adds pay_input_ranges when the company publishes one, one request per job. Lever: GET https://api.lever.co/v0/postings/?mode=json. Descriptions are included, createdAt is epoch milliseconds, and the location sits in categories.location. Large boards are slow: an 85-posting board took about 10 seconds today. Lever also pages with skip and limit, and has an EU host, api.eu.lever.co. Ashby: GET https://api.ashbyhq.com/posting-api/job-board/. One request for the board. Add ?includeCompensation=true for pay ranges where published, which made one board's response about 3 MB. Normalise them import json, urllib.request
from datetime import datetime, timezone

def get(url):
req = urllib.request.Request(url, headers={"User-Agent": "careers-feed-example/1.0 (personal script)"})
with urllib.request.urlopen(req, timeout=60) as r:
return json.load(r)

def greenhouse(board):
for j in get(f"https://boards-api.greenhouse.io/v1/boards/{board}/jobs")["jobs"]:
yield dict(ats="greenhouse", id=str(j["id"]), title=j["title"].strip(),
location=j["location"]["name"], posted=j["first_published"],
url=j["absolute_url"])

def lever(site):
for j in get(f"https://api.lever.co/v0/postings/{site}?mode=json"):
yield dict(ats="lever", id=j["id"], title=j["text"].strip(),
location=j["categories"].get("location"), posted=datetime.fromtimestamp(j["createdAt"] / 1000, timezone.utc).isoformat(),
url=j["hostedUrl"])

def ashby(board):
for j in get(f"https://api.ashbyhq.com/posting-api/job-board/{board}")["jobs"]:
yield dict(ats="ashby", id=j["id"], title=j["title"].strip(),
location=j["location"], posted=j["publishedAt"], url=j["jobUrl"])
Output (one run): greenhouse 674 jobs; first: 3P Revenue Accounting & Reporting | San Francisco, CA | Seattle, WA | 2026-10-19T11:17:24-04:00
lever 10 jobs; first: Customer Success Manager | Atlanta, Georgia | 2026-08-31T18:12:19.703000+00:00
ashby 176 jobs; first: Security Engineer, Cloud | New York, NY (HQ) | 2026-04-07T17:12:35.753+00:00
The .strip() on titles is there because one Ashby title came back with a leading space. The Lever board here is Lever's own demo board, leverdemo, which is why it has only 10 jobs. Spot new and removed postings Postings have stable ids, so a daily diff is a set comparison. Save the previous ids, print what is new, and print what disappeared. Save the first script as ats.py; this one imports from it. import json
from ats import greenhouse, lever

jobs = {f'{j["ats"]}:{j["id"]}': j for j in [greenhouse("anthropic"), lever("leverdemo")]}

try:
old = json.load(open("jobs_last.json"))
except FileNotFoundError:
old = None

if old is not None:
for key in jobs.keys() - old.keys():
print("NEW ", jobs[key]["title"], "|", jobs[key]["url"])
for key in old.keys() - jobs.keys():
print("REMOVED", old[key]["title"], "|", old[key]["url"])
json.dump(jobs, open("jobs_last.json", "w"))
print(len(jobs), "open jobs saved")
To test it I ran it once, deleted one entry from jobs_la...
Find Company Jobs via Greenhouse, Lever & Ashby
Powered by Readybot.io

The latest from Pixel

Incident Response: Look Beyond the Red Alert

Pixel’s DEV Community announcement explores how teams can fixate on one failing service while overlooking the real cause of an outage, such as a full …

Sach: AI Fact-Checks WhatsApp Forwards in India

Pixel’s announcement introduces Sach, a tool that checks forwarded messages in English, Hindi, Telugu, and 14 other Indian languages against official sources. It gives cited …

Java 25 Removes SecurityManager: What to Fix

Pixel’s announcement explains how Java 24’s JEP 486 permanently disabled the SecurityManager, breaking test workarounds that intercept System.exit. It recommends returning exit codes or throwing …