# Google Jobs Scraper - keyword, city, salary (`aigrator/google-jobs-api`) Actor

Scrape the Google Jobs listing by keyword and location into one normalized JSON record per posting: title, company, salary, employment type, highlights, description and the employer apply link. $2.50 per 1,000 jobs, $2.10 on Gold. Monitor mode bills a full first run, then only changes.

- **URL**: https://apify.com/aigrator/google-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, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 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

## Google Jobs Scraper - keyword, city, salary

Runs a Google Jobs search and returns one normalized record per posting: title, company, location, salary, employment type, seniority, Google's own highlights, the posting text, and — optionally — the employer's real apply URL.

The Actor drives a full Chrome build on a virtual display, because Google serves its Jobs vertical only to a browser that looks like one. One page load is enough: Google server-renders every detail panel into the listing document, so the run reads the page it already has instead of clicking through the cards.

### What you get

One row per job:

| Field | Meaning |
| --- | --- |
| `jobId` | Stable id derived from company, title and location, so the same posting found by two different keywords is one row |
| `googleJobId` | Google's own preview id, session-bound and not stable across runs |
| `title`, `company`, `companyDomain` | Job title, employer as Google prints it, employer domain when the panel path is used |
| `locations`, `city` | The posting location Google prints; `near` sets the market, so neighbouring cities appear |
| `workplaceType` | `remote`, `hybrid`, `onsite` or `unspecified` |
| `seniority` | Derived from the title, because Google has no such field |
| `employmentType` | Google's own label: full-time, contract, internship, and so on |
| `salary` | Normalized range with `annualMin`/`annualMax`, parsed from Google's salary line, otherwise from the description |
| `salaryText` | The salary line exactly as Google printed it |
| `benefits` | Benefit labels Google prints as chips, for example "Health insurance", "Paid time off" |
| `postedAt`, `postedAtText`, `postedAtEstimated` | Google prints a relative age ("3 days ago"), never a date, so `postedAt` is derived from it; `postedAtEstimated` says so explicitly |
| `source` | The job board Google credits for the posting |
| `highlights` | Google's extracted qualifications, responsibilities and benefits |
| `descriptionText` | The posting text, read from the panel Google renders into the listing |
| `applyOptions`, `applyLinkCount` | Which sites offer an apply button — `label`, `provider`, `direct` — and how many distinct providers |
| `applyUrl`, `applyStatus` | The employer URL behind the apply button and whether the resolution worked; only filled when apply resolution is enabled |
| `detailStatus` | Where the description came from: `document`, `panel`, `missing` or `skipped` |

In monitor mode each row also carries `changeType` (`new`, `updated`, `baseline`) and the hashes used to detect changes. The baseline is the first monitor run: it returns the full list and is billed like a snapshot. A run with nothing to deliver returns a single free `status` row instead of an empty dataset.

### Input

- `search` — keyword, applied by Google.
- `searchUrl` — a ready Google Jobs URL instead of keyword and location. Its `q`, `near`, `gl`, `hl` and Google host are used; Google's session-bound tokens are dropped.
- `location` — the market anchor, passed as Google's `near` parameter. Google geolocates the Jobs vertical from the IP, so a run without a location from a mismatched IP usually gets the empty state.
- `country`, `language`, `googleDomain` — the market, the interface language (`hl`) and the Google host (`google.com`, `google.co.uk`, `google.de`).
- `maxJobs` — rows per run.
- `includeDescription` — add the posting text and highlights. This costs no extra request: they are already in the listing document. Turning it off only shrinks the dataset; the page is read either way.
- `resolveApplyUrls` — follow each apply button into the employer page and record where it lands. This needs the open panel, so the run switches to the panel path: one click and one employer page per job.
- `monitorMode` + `stateKey` — deliver only new and updated jobs. The first baseline run returns the full list and is billed like a snapshot.

#### Filters: Google-side and local

Google's chips are real filters, but they are not URL parameters: each chip is an anchor whose href carries a session-bound `uds` token that cannot be rebuilt and does not work in another session. The Actor clicks the anchors Google rendered — Remote, Last week, Full time — so Google filters the listing before its ten-per-page cut. The wording ("software engineer remote in the last week") stays in `q` only as the fallback for a chip Google did not render.

| Input | Google-side | Local re-check |
| --- | --- | --- |
| `datePosted` (`past-day`, `3-days`, `week`, `month`) | yes | yes, on `postedAt` |
| `remoteOnly` | yes | yes, on `workplaceType` |
| `employmentType` | yes, except `temporary` | yes |
| `noDegreeOnly` | yes | no |
| `seniority` | no | yes, derived from the title |
| `postedWithinDays` | no | yes, kept for older saved inputs |

The measured difference is the reason for the extra navigations: with the wording alone a `remote` query returned 25 city cards out of 30, and the same query after the real Remote chip returned 30 of 30 "Anywhere" — 90 of 90 through eight scroll batches. `workplaceType` is then read from Google's own "Work from home" label plus the location and the description, because a remote posting often names an office city in its subtitle. Each chip click is a navigation, about 0.6–0.7 MB on a warm cache. When a chip is missing or the interface is not English the run falls back to the wording, keeps the local re-check, and `googleFilterMode` / `googleFilterChips` in `SUMMARY` say which path was taken.

### How it works

1. One browser page load of the Jobs search. The first request through an authenticated proxy often aborts with `ERR_NETWORK_CHANGED`, so navigation is retried.
2. Each requested filter is applied by clicking Google's own chip, one navigation per chip, in the order that lets Google accumulate them: Remote, then the date. Google then serves a filtered listing.
3. The listing is scrolled until it stops growing. Google loads ten more cards per batch and has no pager.
4. Every detail panel is read from the same document. Google serializes them into `<template>` elements, invisible to `querySelectorAll` but present in the page: one DOM pass replaces a click, a wait and a close per job.
5. Rows are normalized, filtered locally, sorted newest first, and capped at `maxJobs`.

### Limits you should know

- **One query exposes roughly 20–55 postings.** More rows come from more keywords or locations, not from a deeper crawl.
- **The listing is capped by Google, not by the Actor.** `maxJobs` above what the query exposes does not invent rows.
- **`companyDomain` is null on the default path.** The listing document carries no employer domain; only the panel path (apply resolution) can fill it.
- **Google counts page loads per IP.** In testing, one IP served about twenty Jobs page loads and then answered with the `/sorry/` verification page; switching to another IP cleared it immediately. Datacenter IPs hit that wall sooner and often return the wrong market, so a residential proxy in the target country is the reliable setup. A blocked run fails fast, charges nothing, and returns a `blocked` status row. A challenge that appears in the middle of a filter-chip click is waited out once and retried; if it repeats, the run continues on the query wording instead of failing, and `googleFilterMode` in the run summary says which path it took.
- **No closed-job feed.** Google shows a snapshot. A posting that disappears is not reported as closed, in monitor mode or otherwise.
- **No salary in every posting.** Google prints a salary line for a large share of US postings, far fewer elsewhere. `salary` is `null` when neither the line nor the description contains one.
- **Traffic.** Images, fonts, video, analytics beacons and Chrome's own background requests are dropped at the network layer, and the plain web-search warm-up is skipped when the restored cookie jar already contains the `SNID` cookie it would set. If the shortcut gets challenged, the warm-up runs before the next attempt, which costs 25–45 s. A 25-row run with the `week` + `remote` chips moved 2.9–3.9 MB through a US residential proxy (6.46 MB before these cuts) and 0.22 MB on a direct connection.
- **Memory.** A 25-job run with descriptions peaked at 671–977 MiB on the platform; when the listing ran to 100 rows (151 cards), the peak was 1,308 MiB, so the Actor defaults to 2 GB. Apply resolution is the heavier mode: it keeps a second page open per job.
- **Speed.** 25 jobs in 29 s on a direct connection, 31–41 s through a residential proxy; the one run that hit a verification page during a chip click took 69 s because of the pause and retry. A 100-row task run with the same chips took 86–101 s.

### Charges

Charged per returned job. The first monitor run (baseline) is billed like a snapshot; later monitor runs charge only new and updated jobs. These are free: status rows (blocked, no results, no changes) and jobs that are filtered out or not delivered.

`resolveApplyUrls` is the expensive mode — a click plus an employer page per job, several times the base cost. It has its own event, `apply-url-resolved`, charged only when a URL is actually recorded, so a run that does not use it does not pay for it.

### Pricing

$2.50 per 1,000 returned jobs on the Free plan, $2.30 on Bronze, $2.10 on Silver, Gold and above. The Actor start event adds $0.00005 per GB of memory, once per run. Platform usage — compute, Apify Proxy, dataset writes — is included in those two events, so nothing is billed on top per proxy gigabyte or per compute unit.

For scale, measured on the platform with the same 25-row input: a run through a US residential proxy used $0.026–$0.039 of platform usage (2.9–3.9 MB of proxy traffic, 31–69 s), which is $1.06–$1.54 per 1,000 rows; the same run on a direct connection used $0.0035 (0.22 MB, 29 s), $0.14 per 1,000. Residential traffic is what the per-job price is built around, and it costs an order of magnitude more than a direct connection, so the Actor uses a direct connection unless the residential proxy is switched on.

### Legal

The Actor reads Google's search results for the Jobs vertical in a browser, the way a visitor would, and respects the page's own rate-limit signals by stopping when Google asks for verification. Google's Terms of Service restrict automated access; you are responsible for how you use the data and for the rights of the original job postings, which belong to the employers and the boards Google credits in `source`. The Actor stores no Google account data and never signs in.

# Actor input Schema

## `search` (type: `string`):

Job search keyword, applied by Google itself. Examples: software engineer, product manager, data analyst. Leave empty to run the demo query "software engineer". Ignored when searchUrl is set.

## `searchUrl` (type: `string`):

Optional. A ready Google Jobs search URL (https, with q and udm=8 or ibp=htl;jobs). Its query, near, gl, hl and Google host replace keyword, location, country, language and domain. Google's session-bound tokens in the URL are dropped because they do not survive another browser session.

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

City or region that anchors the listing, for example New York, London, Berlin, Warsaw. Google decides the job market from the IP address, so without a location a run from a mismatched IP usually returns the empty state.

## `country` (type: `string`):

Country of the Google domain and of the salary currency guess. The interface stays in English by default, because every filter and every parsed label is English.

## `language` (type: `string`):

Google interface language (`hl`), for example en or de. Google's filter chips are labelled in English, so with any language other than English the chips are skipped, the query wording is used instead, and only the local filters decide.

## `googleDomain` (type: `string`):

Google host without the scheme, for example google.com, google.co.uk, google.de. The country code still sets the market; the host changes the interface and the local results mix.

## `datePosted` (type: `string`):

Applied by Google as its own date chip, so the listing itself is recent instead of being filtered after download. The same window is re-checked locally, but a posting whose age Google did not print is kept rather than dropped.

## `remoteOnly` (type: `boolean`):

Turned on, Google's own remote chip is used, so the listing returns remote inventory instead of the head of a general search. A local check on the normalized workplace type stays on top of it.

## `noDegreeOnly` (type: `boolean`):

Google's "no degree" chip. There is no local check for it: Google decides, and the flag is kept in the summary.

## `seniority` (type: `array`):

Leave empty for all levels. Seniority is derived from the job title, because Google publishes no separate field.

## `employmentType` (type: `string`):

Leave empty for all types. Turned on, Google's own employment chip is used and the normalized type is checked again locally. temporary has no Google chip and is filtered locally only.

## `postedWithinDays` (type: `integer`):

Local filter, kept for older saved inputs. Use datePosted for the Google-side filter. 0 = no limit. Google shows a relative age ("3 days ago"), never an exact date, so postedAt is an estimate and this filter is approximate with it.

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

Adds the posting text and Google's highlights (qualifications, responsibilities, benefits). Google server-renders these into the listing, so this costs no extra request: it is one DOM pass over the page the run already loaded.

## `resolveApplyUrls` (type: `boolean`):

Google wraps every apply button in a session-bound redirect that returns 400 outside the browser. Turning this on opens each apply button in a background tab and records the employer URL it lands on. This needs the detail panel, so the run switches to the panel path: one click and one employer page per job, the most expensive mode of this Actor.

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

How many rows one run may return. 0 = unlimited, but Google's listing itself is the real limit: one query exposes roughly 20-55 postings, so a higher number mostly costs time. A job that does not fit stays unseen and is delivered by the next run.

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

The first run per state key stores a baseline and returns the full list, billed per row like a snapshot. Later runs return only new and updated jobs, only those are charged, and the detail read is skipped for jobs that are already known. Disappeared jobs are not reported as closed: Google shows a snapshot, not a feed with removals.

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

Leave empty: the state is scoped to the current Apify Task automatically, so different Tasks never share a baseline. Fill it only if you run the Actor directly or need several independent profiles inside one Task.

## `readDocument` (type: `boolean`):

Default path: Google server-renders every detail panel into the listing document, so one DOM pass replaces a click, a wait and a close per job. Turning it off opens the panels one by one, the older and several times more expensive path. Kept as a rollback switch; resolveApplyUrls needs the panel path and switches to it on its own.

## `panelDelayMs` (type: `integer`):

Panel path only (readDocument off or resolveApplyUrls on): pause before opening the next job panel. Google counts page loads per IP and answers with a verification page when the run is too dense. Ignored on the default document path, where nothing is clicked.

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

Google gates the Jobs vertical by IP and geolocates it. Datacenter IPs are blocked quickly and often return the wrong market, so a residential proxy from the target country is the reliable setup. The Actor works without a proxy, but expect the verification page sooner.

## Actor input object example

```json
{
  "search": "software engineer",
  "searchUrl": "https://www.google.com/search?q=software+engineer&near=New+York&udm=8",
  "location": "New York",
  "country": "us",
  "language": "en",
  "googleDomain": "google.com",
  "datePosted": "week",
  "remoteOnly": false,
  "noDegreeOnly": false,
  "seniority": [
    "senior"
  ],
  "employmentType": "full-time",
  "postedWithinDays": 0,
  "includeDescription": true,
  "resolveApplyUrls": false,
  "maxJobs": 100,
  "monitorMode": false,
  "stateKey": "google-us-software-jobs",
  "readDocument": true,
  "panelDelayMs": 1200,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per job, plus an optional status row when nothing matched, nothing changed, or Google asked for verification. 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 = {
    "search": "software engineer",
    "location": "New York"
};

// Run the Actor and wait for it to finish
const run = await client.actor("aigrator/google-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 = {
    "search": "software engineer",
    "location": "New York",
}

# Run the Actor and wait for it to finish
run = client.actor("aigrator/google-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 '{
  "search": "software engineer",
  "location": "New York"
}' |
apify call aigrator/google-jobs-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aigrator/google-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/MRa4vPrRK9dYph5OO/builds/9bp4pRWPIOodIHHtk/openapi.json
