If your product collects public job postings from employers every day, a job scraping API is only half the answer. Call the employer's applicant tracking system (ATS) directly when it publishes a public feed: Greenhouse, Lever, and Ashby all do, for free, with stable job IDs. Send the rest, the custom career pages and JavaScript-heavy portals, to a managed extraction API that returns each page's jobs as JSON.
This guide is for teams that run that collection as product infrastructure: job aggregators, labor-market analytics, and sales tools that use hiring as a signal. It covers the ATS endpoints, compares five extraction providers on what they return and how they bill, shows a daily workflow with code we ran, and gives a worksheet for cost per accepted job record.
TL;DR
- Start with the ATS. Greenhouse, Lever, and Ashby publish public JSON job feeds with stable IDs and no authentication. Use them for every employer they host.
- Use managed extraction for custom career pages. Context.dev scrapes a careers page and returns its jobs as JSON against your schema for 5 credits per page, with JavaScript rendering and proxies included.
- Buy records when jobs are not your core product. Zyte runs a managed job-data service, and Apify Store has pay-per-result job Actors.
- You still own the pipeline. Scheduling, stable IDs, deduplication, normalization, and deciding when a job is closed stay in your code with every provider.
- Compare cost per accepted job record. Credits, requests, pages, and jobs are different units. One careers page can list 40 jobs, or none that changed since yesterday.
Start with the employer's ATS, not a scraper
Many employers publish openings through their ATS, and three widely used platforms expose public, read-only job APIs. When an employer's careers page links to boards.greenhouse.io, jobs.lever.co, or jobs.ashbyhq.com, call the API instead of scraping the page. You get structured fields, a stable job ID, and no rendering cost.
| ATS | Public endpoint | Stable ID | Change signal |
|---|---|---|---|
| Greenhouse | GET https://boards-api.greenhouse.io/v1/boards/{board_token}/jobs | id | updated_at |
| Lever | GET https://api.lever.co/v0/postings/{site}?mode=json | id | None; hash the fields you store |
| Ashby | GET https://api.ashbyhq.com/posting-api/job-board/{board_name} | id | None; hash the fields you store |
None of the three needs an API key to read. A few details matter once you run them daily:
- Greenhouse returns every published job in one response, with no pagination parameters. Add
content=truefor descriptions, departments, and offices. The docs say only that requests "may be rate limited for security and traffic reasons". - Lever returns a bare JSON array and pages with
skipandlimit. EU accounts live onapi.eu.lever.co, and a site answers on only one of the two hosts, so a 404 on one host is not proof the board is gone. Postings carrycreatedAtbut no updated timestamp. - Ashby returns
jobswith anid,publishedAt,jobUrl, andapplyUrl. AddincludeCompensation=truefor pay ranges where the employer publishes them.
The ATS route stops where the employer's own website starts. Large employers often host jobs on a custom careers site or an ATS without a public feed, and that is where a job scraping API earns its cost.
| Approach | Best fit | What you get | Main tradeoff |
|---|---|---|---|
| Public ATS APIs | Employers on Greenhouse, Lever, or Ashby | Structured JSON with stable IDs, free | Covers only employers on those platforms |
| Managed extraction API | Custom career pages and JavaScript-rendered portals | Jobs as JSON against your schema, per page | You map fields and run the pipeline |
| Job-data feeds and Actors | Products that want finished job records | Pre-parsed records on the vendor's schema | Less control over coverage, refresh timing, and closures |
Most production pipelines use the first two together: ATS APIs for the employers they cover, and extraction for everyone else.
Job scraping APIs compared
Each provider bills a different unit, so the table lists the unit rather than a single price. Prices were checked on each provider's pricing page and documentation on November 27, 2026.
| Provider | Job extraction | Pricing unit | Best fit |
|---|---|---|---|
| Zyte | Built-in jobPosting and jobPostingNavigation extraction | Per 1,000 successful requests, by site difficulty tier, plus extraction | A fixed job schema across many site layouts |
| Apify | Third-party job Actors for boards and ATS platforms | Per job result, or compute units for custom Actors | Buying job records from specific boards |
| ScrapingBee | Rendered HTML, CSS rules, or AI extraction | Credits per request: 5 with JavaScript, plus 5 for AI extraction | Teams that already own a parsing layer |
| Firecrawl | Scrape, crawl, and batch scrape with a JSON format | 1 credit per page, plus 4 for JSON | Crawling career portals into Markdown or JSON |
| Context.dev | Scrape and Batches with JSON against your schema | 1 credit per page, plus 4 for JSON | Daily extraction from a list of custom career pages |
Zyte
Zyte API has job extraction built in. Request jobPosting on a job page and it returns fields such as jobTitle, hiringOrganization, jobLocation, baseSalary, datePublished, and validThrough. Request jobPostingNavigation on a listing page and it returns the job links and the next page, which is the crawling half of the job.
Automatic extraction costs $0.27 to $1.07 per 1,000 successful responses per data type, on top of the base request price. The base depends on a difficulty tier Zyte assigns to each site: $0.13 to $1.27 per 1,000 HTTP requests and $1.01 to $16.08 per 1,000 browser requests, pay as you go, with up to 52% off on monthly commitments (Zyte API pricing). Zyte also runs a managed job data service with daily or faster re-crawls, about 2 to 4 weeks to first delivery, and Zyte Data plans from $500 a month.
jobPosting has no stable job ID field, so you build your own from the posting URL or employer metadata, and you still own scheduling, dedupe, and closure rules.
Apify
Apify Store sells job collection as Actors, small hosted scrapers that third-party authors maintain. Most job Actors bill per result: an Indeed scraper from $3.00 per 1,000 listings on paid plans, and a career-site Actor that says it covers more than 275,000 company career sites across about 60 ATS platforms, at $0.004 to $0.012 per job depending on plan. Platform plans start free with $5 of monthly usage, then $19 a month for Starter (Apify pricing).
Actors are the fastest way to get records from a board Apify already covers. Each Actor has its own output schema and its own maintainer, so a pipeline built on several Actors has several schemas to normalize and several points of failure to watch.
ScrapingBee
ScrapingBee renders pages and returns HTML, and its extract_rules apply your CSS selectors at no extra cost. JavaScript rendering is on by default at 5 credits per request (1 without), AI extraction adds 5, and premium proxies raise a rendered request to 25 credits. Plans run from $19 a month for 75,000 credits to $99 for 1,000,000 (ScrapingBee documentation).
Its April 2026 roundup of job scraping tools focuses on job boards such as Indeed and Google Jobs rather than employer ATS platforms. It fits teams that already maintain selectors per site and want rendering and proxies handled. Batch orchestration and output validation stay with you.
Firecrawl
Firecrawl scrapes and crawls pages into Markdown, HTML, or JSON. A page costs 1 credit and JSON extraction adds 4, so 5 per page, the same unit as Context.dev. POST /v2/batch/scrape runs a URL list asynchronously with polling or webhooks. Plans run from Hobby at $19 a month for 5,000 credits to Scale at $749 for 1,000,000, with lower annual prices (Firecrawl billing).
The crawl endpoint helps when you have not mapped a portal's department pages yet. Unfiltered crawls of a corporate site spend credits on pages that are not jobs, so for a known list of career URLs, batch scrape is the predictable option.
Context.dev
Context.dev is a web data API: the scrape endpoint renders a page and returns Markdown, HTML, or JSON that matches a JSON Schema you send, and Batches runs up to 100,000 URLs as one asynchronous job with the same options. JavaScript rendering, proxies, and anti-bot handling are included in the base price. A careers page with JSON extraction costs 5 credits, and a response where every output fails is free unless the page is missing.
Plans start with 1,000 free credits a month. Pro is $90 a month for 100,000 credits, Growth $300 for 500,000, and Scale $500 for 1,000,000 (pricing). On the November 24, 2026 sample of TRACE, an open scraping benchmark Context.dev runs on about 2,700 fresh pages a week, Context.dev returned real page data for 96.0% of pages, first of the four APIs tested.
Context.dev does not have native ATS connectors, a job database, or automatic normalization, deduplication, or closure detection. It returns what each page says. The pipeline around it is yours, which the next sections cover.
Where the API ends and your pipeline begins
Every provider above stops at the page. Budget for the layers on either side of it.
| Layer | Who owns it | What it covers |
|---|---|---|
| Source list | You | Which employers, which careers URLs, and which of them have a public ATS feed |
| Scheduling | You | When each source runs, how often, and how many at once |
| Retrieval and rendering | Provider | Fetching the page, running JavaScript, proxies, and anti-bot handling |
| Extraction | Provider | Turning the page into job fields that match your schema |
| Validation | You | Rejecting records with a missing title, a bad URL, or an unusable location |
| IDs and dedupe | You | A stable ID per posting, and merging one job seen on two sources |
| Normalization | You | Mapping titles, locations, and departments to your own taxonomy |
| Closure policy | You | Deciding when a job that stopped appearing is closed |
Keep two kinds of "missing" apart: a job that was absent from a page you fetched, and a page you failed to fetch. A failed fetch says nothing about which jobs are open. A page that suddenly returns zero jobs after returning twenty is far more likely to be a layout change or a bad extraction than a hiring freeze. Neither should close anything.
A daily collection workflow with Context.dev
This workflow scrapes a list of career pages you are permitted to collect, extracts each listed job against a schema, stamps it with the source URL and fetch time, gives it a stable ID, and validates it. We ran it on November 27, 2026 against our own careers page with the TypeScript SDK (npm install context.dev, version 3.30.0), which reads CONTEXT_DEV_API_KEY from the environment.
import { createHash } from 'node:crypto';
import ContextDev from 'context.dev';
const client = new ContextDev();
const careerPages = [{ employer: 'Context.dev', url: 'https://www.context.dev/careers' }];
const jobListSchema = {
type: 'object',
properties: {
jobs: {
type: 'array',
items: {
type: 'object',
properties: {
title: { type: 'string' },
location: { type: ['string', 'null'] },
team: { type: ['string', 'null'] },
employmentType: { type: ['string', 'null'] },
postingUrl: { type: 'string', description: 'Absolute URL of the individual job posting' },
},
required: ['title', 'postingUrl'],
},
},
},
required: ['jobs'],
};
type ExtractedJob = {
title: string;
location: string | null;
team: string | null;
employmentType: string | null;
postingUrl: string;
};
function stableJobId(employer: string, postingUrl: string): string {
const canonical = new URL(postingUrl);
canonical.hash = '';
canonical.search = '';
return createHash('sha256').update(`${employer}|${canonical.toString()}`).digest('hex').slice(0, 16);
}
function isAcceptedJob(job: ExtractedJob): boolean {
return job.title.trim().length > 0 && URL.canParse(job.postingUrl) && job.postingUrl.startsWith('https://');
}
for (const { employer, url } of careerPages) {
const page = await client.web.scrape({
url,
formats: { json: true },
jsonParams: {
schema: jobListSchema,
instructions: 'List every open job posting on this careers page. Use the link to each posting for postingUrl.',
},
maxAgeMs: 0,
});
if (!page.json.success) {
console.log({ employer, url, status: 'retrieval_failed', error: page.json.error_code });
continue;
}
const fetchedAt = new Date(Date.now() - page.cache_metadata.age_ms).toISOString();
const jobs = (page.json.data?.jobs ?? []) as ExtractedJob[];
for (const job of jobs) {
console.log({
jobId: isAcceptedJob(job) ? stableJobId(employer, job.postingUrl) : null,
employer,
sourceUrl: url,
fetchedAt,
accepted: isAcceptedJob(job),
...job,
});
}
}It printed both open roles. The first record:
{
jobId: '55a0c8b343886a4b',
employer: 'Context.dev',
sourceUrl: 'https://www.context.dev/careers',
fetchedAt: '2026-11-27T20:40:16.499Z',
accepted: true,
title: 'Backend Engineer, Web Crawling',
location: 'San Francisco',
team: 'Engineering',
employmentType: 'In office',
postingUrl: 'https://jobs.gem.com/contextdev/am9icG9zdDqhx5NDhg1zCDk9NcjtcHIr'
}A few choices in that code matter in production:
maxAgeMs: 0forces a live fetch. Without it, a cached copy up to three days old can come back, which defeats a daily freshness check. The fetch time comes fromcache_metadata.age_ms, not your local clock, so it stays correct if you relax the cache later.- Failures are data. A blocked or missing page returns HTTP 200 with
json.successset tofalseand anerror_code. The loop records it as a retrieval failure and moves on, without touching the jobs it knew about. - The ID is yours. The posting URL, stripped of query strings and fragments, plus the employer name, gives an ID that survives title edits. If an employer's posting URLs change on every page load, key on a hash of the title, location, and team instead.
For hundreds or thousands of employers, send the same request as one batch. Each URL carries your own itemId, which comes back with its result:
const batch = await client.batch.submit({
input: {
mode: 'scrape',
data: {
urls: [{ url: 'https://www.context.dev/careers', itemId: 'context-dev' }],
formats: { json: true },
jsonParams: { schema: jobListSchema, instructions: 'List every open job posting on this careers page.' },
maxAgeMs: 0,
},
},
});
let status = batch.status;
while (!['completed', 'cancelled', 'failed'].includes(status)) {
await new Promise((resolve) => setTimeout(resolve, 10_000));
status = (await client.batch.retrieve(batch.id)).status;
}
let cursor: string | undefined;
do {
const page = await client.batch.getResults(batch.id, { limit: 100, cursor });
for (const record of page.data ?? []) {
if (record.status !== 'ok' || !record.result.json.success) {
console.log({ employer: record.itemId, url: record.url, status: 'retrieval_failed' });
continue;
}
console.log({ employer: record.itemId, credits: record.credits_used, jobs: record.result.json.data?.jobs });
}
cursor = page.has_more ? (page.next_cursor ?? undefined) : undefined;
} while (cursor);Our run reported credits_used: 5 for the page. For production, a webhook on the batch replaces the polling loop; our Batches tutorial covers webhooks, result files, and resubmitting failures.
Closing jobs without false closures
The last piece is the closure policy. This function updates one employer's known jobs after a run. It ignores failed runs and suspicious empty pages, and closes a job only after it has been missing from three successful runs in a row:
type KnownJob = { jobId: string; firstSeenAt: string; lastSeenAt: string; missedRuns: number; status: 'open' | 'closed' };
type CareerPageRun = { succeeded: boolean; jobIds: Set<string>; fetchedAt: string };
const CLOSE_AFTER_MISSED_RUNS = 3;
function reconcileEmployer(known: Map<string, KnownJob>, run: CareerPageRun): void {
const openCount = [...known.values()].filter((job) => job.status === 'open').length;
const pageLooksBroken = run.jobIds.size === 0 && openCount > 0;
if (!run.succeeded || pageLooksBroken) {
return;
}
for (const jobId of run.jobIds) {
const job = known.get(jobId);
if (job) {
job.lastSeenAt = run.fetchedAt;
job.missedRuns = 0;
job.status = 'open';
} else {
known.set(jobId, { jobId, firstSeenAt: run.fetchedAt, lastSeenAt: run.fetchedAt, missedRuns: 0, status: 'open' });
}
}
for (const job of known.values()) {
if (job.status === 'open' && !run.jobIds.has(job.jobId)) {
job.missedRuns += 1;
if (job.missedRuns >= CLOSE_AFTER_MISSED_RUNS) {
job.status = 'closed';
}
}
}
}We tested it with a six-day sequence: one failed run, one successful run with zero jobs, then a job missing from three good runs. The job stayed open through the failure and the empty page and closed on the third real miss. Pick the threshold from how often your sources run and how costly a false closure is for your users. The same function works for ATS sources, where a non-200 response or an empty jobs array should count as a failed run.
Cost per accepted fresh job record
Price per request, per credit, or per page does not tell you what a usable job record costs. Add up everything a day of collection spends, then divide by the records that passed validation. Track two denominators:
- Accepted observations: every open job you confirmed today with all required fields. This is the cost of keeping the index fresh.
- New or changed records: jobs that appeared or changed since the last run. This is the cost of the records your users notice.
The worksheet below uses Context.dev prices with example inputs, not measurements. Replace them with your pilot's numbers, and run the same worksheet with each provider's units.
| Line | Example input | Credits per day |
|---|---|---|
| Career pages scraped with JSON | 1,000 employers, 1.2 listing pages each, 5 credits a page | 6,000 |
| Retries that succeed | 2% of pages | 120 |
| Retries that fail | Free unless the page is missing | 0 |
| Total | 6,120 |
Over 30 days that is 183,600 credits: $257 a month on Pro, which includes 100,000 credits and bills the rest at $2 per 1,000. If those pages list an average of 12 jobs and 97% pass validation, you accept 11,640 observations a day, about 349,000 a month, or $0.74 per 1,000 accepted observations. If 5% of them are new or changed each day, that is about 17,500 a month, or $14.73 per 1,000 new or changed records.
Two inputs move the result most. The ATS share comes first: if 400 of those 1,000 employers turn out to be on Greenhouse, Lever, or Ashby, their records cost nothing to fetch and the scraped side shrinks by 40%. Pagination comes second: a portal that spreads 300 jobs across 15 listing pages costs 15 scrapes a day, not one. Keep ATS and scraped sources in separate columns so the free ATS volume does not hide what extraction costs on custom pages. Your own compute and engineering time for validation, dedupe, and normalization belong in the total too.
Run a pilot before you commit
Here is a pilot plan we suggest. It is a plan, not a result we have run for your employer list.
- Sample 30 to 50 employers from your real list and sort them into ATS-hosted and custom career pages. The ratio tells you how much volume needs extraction at all.
- Write acceptance rules first: required fields, a valid posting URL, a parseable location. Use the same rules and the same closure policy for every provider.
- Run for seven consecutive days with the ATS sources on their APIs and the custom pages split across the providers you are testing.
- Compare on three numbers: required-field completeness, ID stability across days, and cost per accepted record from the worksheet above.
On Context.dev, the free plan's 1,000 monthly credits cover 200 career pages with JSON extraction, enough for a week of 25 custom pages. A 50-page pilot fits in the Developer plan, $20 a month for 10,000 credits.
FAQs
When should I use an ATS API instead of a job scraping API?
Use the ATS API whenever the employer's jobs live on Greenhouse, Lever, or Ashby. Their public endpoints return structured JSON with stable job IDs, need no API key, and cost nothing. Use a job scraping API for custom career sites and ATS platforms without a public feed.
How do I handle jobs that temporarily disappear?
Track a last-seen time per stable job ID and close a job only after it has been missing from several successful runs in a row. Treat a failed fetch, a timeout, or a page that suddenly returns zero jobs as a failed run that changes nothing. Three consecutive misses is a reasonable starting threshold for a daily schedule.
Why can't I compare credit prices across providers directly?
Each provider meters a different unit. Some charge per request with multipliers for rendering, proxies, or AI extraction. Some charge per page plus an extraction fee, and Apify Actors charge per job result. One careers page can hold dozens of jobs or none that changed. Compare total cost per accepted job record on the same set of employers.
Does Context.dev have a jobs database or ATS connectors?
No. Context.dev scrapes the pages you send and returns the jobs as JSON against your schema. It does not ship ATS connectors, a prebuilt job database, or automatic normalization, deduplication, or closure detection. Call Greenhouse, Lever, and Ashby directly, and run those steps in your own pipeline.
Which parts of the pipeline stay with me when I use a managed extraction API?
The provider fetches, renders, and extracts. You own the source list, scheduling, validation, stable IDs, deduplication, normalization, and the closure policy. That split is the same for Zyte, ScrapingBee, Firecrawl, and Context.dev.
How fresh is the data from a scraping API?
It depends on the cache setting. Context.dev serves a cached copy when one is newer than maxAgeMs, which defaults to three days. Set maxAgeMs: 0 for daily job collection so every run fetches the live page.