# ZipRecruiter Jobs Scraper - Salary, Descriptions, Monitor (`aigrator/ziprecruiter-jobs-api`) Actor

Scrape ZipRecruiter jobs by keyword and location: company, salary, workplace type, full description and apply URL. Pay per returned job; full descriptions are billed as a separate event. Monitor mode returns only new, updated and closed jobs.

- **URL**: https://apify.com/aigrator/ziprecruiter-jobs-api.md
- **Developed by:** [Ярослав Литовченко](https://apify.com/aigrator) (community)
- **Categories:** Jobs, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 jobs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## ZipRecruiter Jobs Scraper

Scrape ZipRecruiter job listings by keyword and location. One JSON row per job with company, salary, workplace type, employment type, full description and apply URL.

ZipRecruiter answers automated clients with a Cloudflare challenge, and a datacenter address never passes it. This Actor therefore drives a real browser — Camoufox, a Firefox build whose fingerprint is coherent at the C++ level — through an Apify Residential exit, and rotates the exit until one is accepted. Node does all parsing, monitoring and billing; Python only navigates, because the browser bindings are Python-only.

The browser profile is restricted, not hand-built. Camoufox draws an operating system per launch — Windows, macOS or Linux — and a Windows draw failed every time it was measured, while macOS passes. The Actor therefore pins the pool to macOS and nothing can override it, so every launch produces a macOS identity; if a Camoufox release ever ignored that, the run stops on the first session with `Camoufox produced a windows profile although the OS pool is macos only` instead of burning the attempt budget. The log prints the profile each session actually got.

### What you get

One dataset row per job:

| Field | Example |
|---|---|
| `jobId` | `b9a5cf95d84e97f5` (the `jid` of the posting) |
| `title` | `Data Software Engineer - AI Trainer` |
| `company` | `DataAnnotation` |
| `locations` | `["Jersey City, NJ"]` |
| `country` | `US` |
| `workplaceType` | `onsite`, `remote`, `hybrid` |
| `employmentType` | `contract`, `full-time`, `part-time` |
| `seniority` | `mid`, `senior`, `lead` |
| `salary` | `{"min":40,"max":125,"currency":"USD","period":"hour","annualMin":83200,"annualMax":260000}` |
| `salaryText` | `$40 - $125/hr` |
| `tags` | `["Medical","Dental","Vision"]` |
| `descriptionText` / `descriptionHtml` | 1 700–9 400 characters |
| `postedText` | `Re-posted 7 days ago` |
| `applyUrl` | `https://www.ziprecruiter.com/c/Skadden-Arps/Job/.../-in-Manhattan,NY?jid=04c911e34a12d8e8` |
| `searchQuery`, `searchLocation`, `scrapedAt` | run context |

Estimated-pay badges are deliberately not promoted to `salary`: ZipRecruiter prints its own estimate on many cards and mixing it with employer-published pay would make the field unreliable.

### Input

| Field | Default | Notes |
|---|---|---|
| `query` | `software engineer` | keyword or job title |
| `location` | `New York` | city, state or postal code; empty searches the US |
| `maxJobs` | `200` | 0 means no limit |
| `maxPages` | `8` | 20 cards per page |
| `includeDescription` | `true` | open each job page for the full description |
| `monitorMode` | `false` | return only new, updated and closed jobs |
| `stateKey` | Task ID | one state per saved search |
| `browserAttempts` | `5` | residential exits tried before the run fails |
| `browserMode` | `virtual` | headed browser on a private virtual display |
| `proxyConfiguration` | Apify Residential, US | required in practice |

### Monitor mode

The first run of a saved search is a baseline and is billed like a snapshot. Later runs return only jobs that are `new`, `updated` or `closed`. Closures and status rows are free. If a run returns nothing while the previous one had open jobs, closures are held back until the next run confirms it, so a temporary block cannot mark the board as closed.

### Billing

One chargeable event per returned job. Detail pages, browser sessions and retries are included in platform usage.

| Event | Price |
|---|---|
| `job` | $0.0015 per job |
| `apify-actor-start` | $0.00005 |

### Limits worth knowing

- Cloudflare scores the exit as well as the browser, so an exit can still be challenged and the Actor moves to a new one. `browserAttempts` is that safety net, not a routine step: with the macOS pool pinned, 5 measured runs needed 1, 1, 3, 1 and 1 sessions and all 5 completed.
- The locale is pinned to `en-US` rather than taken from the exit: geoip produced `ru-US` on a US address once, which is not a tag a real browser sends.
- Traffic is the real cost driver. Measured on the platform: one search page plus 20 job pages used 15.1 MB of residential traffic, about 700 KB per job page, roughly $0.12 at $8/GB. The same 20 jobs without descriptions took 1.5 MB and the whole run cost $0.0435.
- `employmentType` is null on job pages that never state a type (2 of 20 in the measured run), and `directApply` is null when the page does not say. Both are absent data, not parse failures.
- `maxJobs=0` does not mean "everything": `maxPages` still bounds the search, and descriptions stop at 300 pages per run.
- Job IDs are stable, so monitor mode works across runs. Rows without a `jid` cannot be tracked and are skipped.

### Local checks

```bash
node scripts/test-parser.mjs    # parser against two real saved pages
node scripts/salary-cases.mjs   # 28 salary cases shared with the sibling Actors
```

# Actor input Schema

## `query` (type: `string`):

What to search for: software engineer, data analyst, registered nurse, warehouse. Leave both fields empty to run the demo search: software engineer in New York.

## `location` (type: `string`):

City, state or postal code as ZipRecruiter expects it: New York, Austin, TX, 90210. Leave empty to search the whole United States.

## `maxJobs` (type: `integer`):

Upper bound on rows this run returns. Set to 0 for no limit. Each returned job is a billable row.

## `maxPages` (type: `integer`):

ZipRecruiter returns 20 cards per page. Raise this to reach deeper results; each page costs one residential request.

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

Open each job page for the complete description, employment type and apply link. Turn off for a faster, cheaper run that keeps card data only.

## `monitorMode` (type: `boolean`):

Return only jobs that are new, changed or closed since the previous run of the same saved search. The first run is a paid baseline.

## `stateKey` (type: `string`):

Optional key for the monitoring state. Use one per saved search when several Tasks share an account. Defaults to the Task ID.

## `browserAttempts` (type: `integer`):

Cloudflare can still challenge an individual residential exit, so the Actor starts a fresh exit and retries. One session is usually enough; keep a few attempts for bad windows.

## `proxySessionPrefix` (type: `string`):

Optional. Reuses the same residential exits across runs by naming sessions prefix1, prefix2 and so on. Leave empty to take a new exit on every attempt.

## `browserMode` (type: `string`):

virtual runs a headed browser on a private virtual display, which is what passes Cloudflare in a container. headless is faster but easier to fingerprint. headed needs an existing display.

## `proxyConfiguration` (type: `object`):

Residential proxy, US by default. ZipRecruiter never answers a datacenter address with content, so leaving the default is the working setup.

## Actor input object example

```json
{
  "query": "software engineer",
  "location": "New York",
  "maxJobs": 200,
  "maxPages": 8,
  "includeDescription": true,
  "monitorMode": false,
  "stateKey": "default",
  "browserAttempts": 5,
  "proxySessionPrefix": "",
  "browserMode": "virtual",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `jobs` (type: `string`):

One row per job, plus an optional status row when nothing changed or nothing matched. Fields are described in the dataset schema.

# 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 = {
    "query": "software engineer",
    "location": "New York",
    "maxJobs": 200,
    "maxPages": 8,
    "includeDescription": true,
    "monitorMode": false,
    "stateKey": "default",
    "browserAttempts": 5,
    "proxySessionPrefix": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("aigrator/ziprecruiter-jobs-api").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 = {
    "query": "software engineer",
    "location": "New York",
    "maxJobs": 200,
    "maxPages": 8,
    "includeDescription": True,
    "monitorMode": False,
    "stateKey": "default",
    "browserAttempts": 5,
    "proxySessionPrefix": "",
}

# Run the Actor and wait for it to finish
run = client.actor("aigrator/ziprecruiter-jobs-api").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 '{
  "query": "software engineer",
  "location": "New York",
  "maxJobs": 200,
  "maxPages": 8,
  "includeDescription": true,
  "monitorMode": false,
  "stateKey": "default",
  "browserAttempts": 5,
  "proxySessionPrefix": ""
}' |
apify call aigrator/ziprecruiter-jobs-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aigrator/ziprecruiter-jobs-api"
        }
    }
}
```

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/0kXWgbvuucEBEHodt/builds/fstFDi0JK1S9LjbiS/openapi.json
