# Career Page Jobs Scraper: schema.org JobPosting Extractor (`devdarfy/jobposting-extractor`) Actor

Career page jobs scraper for company sites that publish schema.org JobPosting data (the markup behind Google for Jobs). Returns title, location, salary, dates and apply link as clean JSON. robots.txt-aware. $4 per 1,000 jobs.

- **URL**: https://apify.com/devdarfy/jobposting-extractor.md
- **Developed by:** [Volkan](https://apify.com/devdarfy) (community)
- **Categories:** Jobs, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 job postings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

A **career page jobs scraper** for company sites that publish **schema.org JobPosting** data, the structured markup behind Google for Jobs. Give it a careers page or single job URLs; it finds the job pages, reads their JobPosting data (JSON-LD, with microdata as fallback) and returns one clean record per job.

- **What you get:** title, company, location (text, structured and ISO country codes), remote flag, employment type, salary range when published, posted and valid-through dates, apply link, plain-text description and how the data was found.
- **What it costs:** $0.004 per job returned, so **1,000 jobs = $4**. Skipped, duplicate and already-seen jobs are free. The only other charge is the standard Apify start fee of $0.00005 per run (per GB of memory). Apify platform usage is included in the price.
- **What you need:** career page or job page URLs. No browser, no login, no proxy. robots.txt is respected.

### Example output

A row from a run on 21 November 2026 with the default input (`https://jobs.lever.co/spotify`), description shortened:

```json
{
  "url": "https://jobs.lever.co/spotify/01b41b49-7d43-4933-9ba7-06ebe0a2a749",
  "id": "https://jobs.lever.co/spotify/01b41b49-7d43-4933-9ba7-06ebe0a2a749",
  "title": "Head of Measurement & Advertising Effectiveness",
  "company": "Spotify",
  "companyUrl": null,
  "location": "New York, NY",
  "locations": [
    {
      "city": "New York, NY",
      "region": null,
      "country": null,
      "countryRaw": null
    }
  ],
  "countries": [],
  "remote": false,
  "applicantLocationRequirements": [],
  "employmentType": [
    "PERMANENT"
  ],
  "salary": null,
  "postedAt": "2026-11-10",
  "validThrough": null,
  "expired": null,
  "applyUrl": "https://jobs.lever.co/spotify/01b41b49-7d43-4933-9ba7-06ebe0a2a749",
  "descriptionText": "Spotify is building the next generation of advertising, connecting brands with audiences through audio, video, and experiences that are deeply embedded in…",
  "source": "jobs.lever.co",
  "extractedAt": "2026-11-21T17:32:04.308Z",
  "extractionMethod": "jsonld"
}
```

### Use cases

- **Jobs from companies that do not use a common ATS API.** Many company sites publish JobPosting markup so their jobs show up in Google. This Actor reads that markup from any such site in the same format.
- **Scheduled new-job feeds.** Turn on `onlyNewSinceLastRun`, schedule the Actor daily and send only new postings to Slack, a sheet or your job board.
- **Hiring signals and lead lists.** Watch a list of target companies' careers pages and react when they open roles in a given team or country.
- **Checking your own markup.** If you run a careers site, see exactly what Google for Jobs can read from your pages, field by field.

### Output fields

| Field | Description |
|---|---|
| `url`, `id` | Page URL and the posting's own identifier (falls back to the URL) |
| `title`, `company`, `companyUrl` | Job title, hiring organization |
| `location`, `locations[]`, `countries[]` | Text, structured `{city, region, country, countryRaw}`, ISO 3166-1 alpha-2 codes |
| `remote`, `applicantLocationRequirements[]` | `true` for `jobLocationType: TELECOMMUTE`; countries/regions applicants must live in |
| `employmentType[]` | e.g. `FULL_TIME`, `PART_TIME`, `CONTRACTOR`, `INTERN` |
| `salary` | `{min, max, currency, unit}` with unit `HOUR/DAY/WEEK/MONTH/YEAR` (from `baseSalary`) |
| `postedAt`, `validThrough`, `expired` | ISO dates (`datePosted`, `validThrough`), `expired` is computed |
| `applyUrl` | Apply link if the page gives one, otherwise the job URL |
| `descriptionText` | Description converted from HTML to clean text |
| `source`, `extractedAt`, `extractionMethod` | Host, timestamp, `jsonld` or `microdata` |

### Input

`startUrls`, `mode` (`auto` / `single` / `listing`), `maxDepth`, `maxItems`, `maxPagesPerStartUrl`, `useSitemap`, `requestDelayMs`, `concurrency`, `onlyNewSinceLastRun`, `stateStoreName`, `includeExpired`, `includeDescription`. See the input form for descriptions.

Example:

```json
{ "startUrls": [{ "url": "https://jobs.lever.co/spotify" }], "maxItems": 50, "onlyNewSinceLastRun": true }
```

### Pricing

Pay per event: **`job-result`** is charged once per delivered job ($0.004, so 1,000 jobs = $4). `maxItems` is your cost cap. Skipped, duplicate and already-seen (delta) jobs are free.

### FAQ

**Which sites work?** Sites that put JobPosting structured data into the HTML of their job pages. Lever-hosted job pages do, as the example shows, and so do many company sites that want their jobs in Google for Jobs. To check one page quickly, open it in Google's Rich Results Test and look for "Job posting".

**Why did a careers page return nothing?** Either the jobs are loaded with JavaScript and the HTML has no JobPosting markup, or the site does not publish structured data at all. The run log lists every start URL without data. Try passing individual job URLs.

**Should I use this or the ATS Jobs API?** If the company uses Greenhouse, Lever or Ashby, [ATS Jobs API](https://apify.com/devdarfy/ats-jobs) is faster and cheaper because it reads the ATS feed directly. Use this Actor for everything else.

**Does it follow robots.txt?** Yes. Disallowed URLs are skipped and listed in the `ROBOTS_REPORT` record, and `Crawl-delay` is honoured.

**How do I get only new jobs?** Set `onlyNewSinceLastRun: true`. Seen jobs are kept in a named key-value store (`stateStoreName`) in your account, so each run returns only jobs it has not delivered before.

**Does it return recruiter contact details?** No. Contact fields are not read. Text inside the job description is passed through as published.

### robots.txt and good citizenship

- Every URL (also redirect targets, sitemaps) is checked against the site's robots.txt before it is requested. The bot token is `VomcoreJobPostingBot`; a group for it overrides `*`.
- Skipped URLs are listed per host in the `ROBOTS_REPORT` key-value record. Run totals are in `SUMMARY`.
- If robots.txt cannot be read because of a server error (5xx/network), the host is treated as disallowed for that run.
- Minimum delay per domain is `requestDelayMs` (default 1 s); a larger `Crawl-delay` wins (capped at 60 s).

### Personal data

Only job-posting facts are extracted. Recruiter / organization contact fields (`contactPoint`, e-mail, phone) are deliberately **not read** and never appear in the output. Text inside a job description is passed through as published.

### Limits (please read)

- **No JavaScript rendering.** Pages that load jobs with JavaScript and do not ship `JobPosting` markup in the HTML (many SPA career sites) return nothing. The run log tells you which start URLs had no data.
- Only sites that publish `JobPosting` structured data are supported. This actor does not scrape visible page text.
- Link discovery on list pages is heuristic (job-like URL paths, `rel=next` / `?page=N` pagination, sitemap). Unusual URL layouts may need the individual job URLs as input.
- Only links on the same site (host, `www` ignored) are followed.

### Disclaimer

The actor reads data that website owners publish deliberately for search engines and honors robots.txt, but you are responsible for how you use the data: check the target site's terms, applicable law (copyright and database rights, GDPR where personal data appears in free text) and do not republish descriptions in ways the source forbids. No affiliation with Google or any listed employer.

### More Actors from the same developer

| Actor | What it does | Price |
|---|---|---|
| [ATS Jobs API](https://apify.com/devdarfy/ats-jobs) | Greenhouse, Lever and Ashby job postings, with new-job alerts | $3 / 1,000 jobs |
| [Government Jobs API](https://apify.com/devdarfy/gov-jobs) | USAJOBS and Swedish Arbetsförmedlingen (Platsbanken) job ads | $2 / 1,000 jobs |
| [Website Screenshot API](https://apify.com/devdarfy/render-api) | Full-page screenshots and URL to PDF for lists of URLs | $1 / 1,000 screenshots |
| [RSS Feed Reader & Parser](https://apify.com/devdarfy/rss-feed-reader) | RSS, Atom, RDF and JSON Feed to clean JSON, new items only | $1 / 1,000 items |
| [Bulk DNS Lookup & DMARC Checker](https://apify.com/devdarfy/dns-email-security) | MX, SPF, DMARC, DKIM and DNSSEC audit per domain, with a score | $2 / 1,000 domains |
| [Companies House API](https://apify.com/devdarfy/uk-companies-house) | UK company lookup by number, search and new incorporations | $3 / 1,000 companies |

# Actor input Schema

## `startUrls` (type: `array`):

Single job posting URLs or list/career page URLs (for example https://example.com/careers). On list pages the actor finds job links, follows pagination and reads the sitemap.

## `mode` (type: `string`):

auto: a page with exactly one JobPosting is a job page, anything else is explored as a list page. single: only read the given URLs, never follow links. listing: always treat the URLs as list pages.

## `maxDepth` (type: `integer`):

0 = only the given URLs (no link following, no pagination). 1 = also the job pages linked from a list page (and its pagination and sitemap). Higher values follow category pages further.

## `maxItems` (type: `integer`):

Stop after this many jobs have been delivered in total. You pay per delivered job, so this is also a cost cap.

## `maxPagesPerStartUrl` (type: `integer`):

Upper bound of pages fetched while exploring one start URL (list pages, pagination and job pages together).

## `useSitemap` (type: `boolean`):

On list pages, also read the sitemaps announced in robots.txt (or /sitemap.xml) and pick URLs that look like job pages.

## `requestDelayMs` (type: `integer`):

Minimum pause between two requests to the same domain. A larger Crawl-delay from robots.txt always wins (capped at 60 s).

## `concurrency` (type: `integer`):

How many start URLs are explored in parallel. Requests to the same domain are always serialized with the delay above.

## `onlyNewSinceLastRun` (type: `boolean`):

Deliver only jobs not seen in earlier runs (job ids are remembered in a named key-value store). Use it with a schedule to get a delta feed.

## `stateStoreName` (type: `string`):

Name of the key-value store that remembers seen job ids when 'Only new since last run' is on. Use different names for independent feeds.

## `includeExpired` (type: `boolean`):

Keep jobs whose validThrough date is in the past (they are marked expired = true). Turn off to drop them.

## `includeDescription` (type: `boolean`):

Include the job description converted to clean plain text. Turn off for smaller output.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://jobs.lever.co/spotify"
    }
  ],
  "mode": "auto",
  "maxDepth": 1,
  "maxItems": 100,
  "maxPagesPerStartUrl": 100,
  "useSitemap": true,
  "requestDelayMs": 1000,
  "concurrency": 3,
  "onlyNewSinceLastRun": false,
  "stateStoreName": "jobposting-extractor-state",
  "includeExpired": true,
  "includeDescription": true
}
```

# Actor output Schema

## `results` (type: `string`):

Structured JobPosting records extracted from the pages

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://jobs.lever.co/spotify"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("devdarfy/jobposting-extractor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://jobs.lever.co/spotify" }] }

# Run the Actor and wait for it to finish
run = client.actor("devdarfy/jobposting-extractor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://jobs.lever.co/spotify"
    }
  ]
}' |
apify call devdarfy/jobposting-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,devdarfy/jobposting-extractor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/GNGpU5kr43kCMPL9s/builds/UKfaKz7UcBKow40ly/openapi.json
