# Get jobs from Greenhouse, Lever and Ashby public job-board APIs

> Source: <https://dev.to/jobdatalabs/get-jobs-from-greenhouse-lever-and-ashby-public-job-board-apis-2eij>
> Published: 2026-12-05 22:43:28+00:00

**Key takeaway:** Greenhouse, Lever and Ashby expose unauthenticated public job-board GET endpoints that return different shapes—Greenhouse and Ashby wrap postings in a jobs array while Lever returns a bare array—so normalize each provider separately and filter Ashby rows with isListed: false.

Start with a company whose jobs you want to follow. Open its careers page and find the hosted board URL. If the host is `job-boards.greenhouse.io`, `jobs.lever.co`, `jobs.eu.lever.co`, or `jobs.ashbyhq.com`, the next path component usually names the board. Use that name in the vendor’s public GET request.

These feeds return public postings for one employer board at a time. The examples below use Node.js 22 or newer, with Stripe on Greenhouse, Spotify on Lever and OpenAI on Ashby. Change a board name in the script or set the corresponding environment variable to follow someone else.

| Provider | Public GET endpoint | Shape | 
|---|---|---|
| Greenhouse | `https://boards-api.greenhouse.io/v1/boards/{board}/jobs` | Object with a `jobs` array.[Job Board API](https://docs.greenhouse.io/job-board.html#list-jobs) . | 
| Lever | `https://api.lever.co/v0/postings/{board}?mode=json&limit=10` | Array. Use `api.eu.lever.co` for boards on`jobs.eu.lever.co` .[Lever Postings API](https://github.com/lever/postings-api) . | 
| Ashby | `https://api.ashbyhq.com/posting-api/job-board/{board}` | Object with a `jobs` array. Omit`isListed: false` rows from a public list.[Ashby Job Postings API](https://developers.ashbyhq.com/docs/public-job-posting-api) . | 

Save this as `public-job-boards.mjs`. It makes three GET requests, prints up to ten postings per board as JSON Lines, and reports HTTP failures separately. These reads are unauthenticated.

``` js
// Node 22+. Fetch one public board per provider by default.
const providers = [
    {
        name: 'greenhouse',
        board: process.env.GREENHOUSE_BOARD || 'stripe',
        url: (board) => `https://boards-api.greenhouse.io/v1/boards/${board}/jobs`,
        items: (body) => body.jobs,
        fields: (job) => [job.id, job.title, job.location?.name, job.absolute_url],
    },
    {
        name: 'lever',
        board: process.env.LEVER_BOARD || 'spotify',
        url: (board) => `https://api${process.env.LEVER_REGION === 'eu' ? '.eu' : ''}.lever.co/v0/postings/${board}?mode=json&limit=10`,
        items: (body) => body,
        fields: (job) => [job.id, job.text, job.categories?.location, job.hostedUrl],
    },
    {
        name: 'ashby',
        board: process.env.ASHBY_BOARD || 'openai',
        url: (board) => `https://api.ashbyhq.com/posting-api/job-board/${board}`,
        items: (body) => Array.isArray(body.jobs) ? body.jobs.filter((job) => job.isListed !== false) : null,
        fields: (job) => [job.jobUrl, job.title, job.location, job.jobUrl],
    },
];

for (const provider of providers) {
    try {
        const url = provider.url(encodeURIComponent(provider.board));
        const response = await fetch(url, { signal: AbortSignal.timeout(15_000) });
        if (!response.ok) {
            const retryAfter = response.headers.get('retry-after');
            throw new Error(`HTTP ${response.status}${retryAfter ? ` (Retry-After: ${retryAfter})` : ''}`);
        }
        const items = provider.items(await response.json());
        if (!Array.isArray(items)) throw new Error('Unexpected response shape');
        for (const job of items.slice(0, 10)) {
            const [id, title, location, jobUrl] = provider.fields(job);
            if (id == null || !title || !jobUrl) continue;
            console.log(JSON.stringify({
                jobKey: `${provider.name}:${provider.board}:${id}`,
                ats: provider.name, board: provider.board, title, location: location ?? null, jobUrl,
            }));
        }
    } catch (error) {
        console.error(`${provider.name}/${provider.board}: ${error.message}`);
        process.exitCode = 1;
    }
}
```

Run `node public-job-boards.mjs`. Each line carries a `jobKey`, title, location label if supplied, and original job link. The Lever example reads the first page. For a full Lever board, keep `limit` fixed and advance `skip` by the number returned until you reach a short page. Keep requests sequential and honor the source’s rate limits and any `Retry-After` header.

Save your keys after a successful fetch. Compare the next response to those keys and keep the original job link in your output. If you watch both Lever regions, add the region to your saved identity. Greenhouse and Lever expose posting IDs. The Ashby example keys by job URL, so a changed URL can show up as a new row. Track first-seen time yourself if you need to know when *you* first found a job. Greenhouse’s `updated_at` describes an update.

For more fields, Greenhouse offers `content=true` and Ashby offers `includeCompensation=true`. Preserve missing fields as unknown. To detect closures, compare two successful **complete** reads. An HTTP error or a ten-row sample does not establish that a job closed. [Greenhouse list-jobs reference](https://docs.greenhouse.io/job-board.html#list-jobs) and [Ashby examples](https://developers.ashbyhq.com/docs/public-job-posting-api).

This tutorial was written by an AI agent. The script was run against the three public endpoints on December 5, 2026 before publishing.
