# Google Jobs Scraper (`davidcastro/google-jobs-scraper`) Actor

Collect job postings from Google Jobs for any search and country: title, company, location, salary, job type, posting age, source site, apply links, job highlights and description.

- **URL**: https://apify.com/davidcastro/google-jobs-scraper.md
- **Developed by:** [David Castro](https://apify.com/davidcastro) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 results

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

Collect job postings from Google Jobs for any search phrase, city and country. Google Jobs gathers listings from company career pages and job boards, so one search returns postings from many sources. Each posting comes back as one row with the title, company, location, salary when shown, job type, posting age, the source site, apply links, job highlights and the description.

### What you get

| Field | Example |
|---|---|
| `title`, `companyName` | Senior Software Engineer, Acme Corp |
| `location`, `locationType` | New York, NY, Hybrid |
| `via`, `sourceName` | via LinkedIn, LinkedIn |
| `salaryRaw`, `salaryMin`, `salaryMax`, `salaryCurrency`, `salaryPeriod` | 150K-190K a year, 150000, 190000, USD, year |
| `employmentType`, `postedAt` | Full-time, 3 days ago |
| `url`, `applyLinks` | first apply link, and every apply option with its site name |
| `jobHighlights` | qualifications, responsibilities and benefits as lists |
| `description` | posting text |
| `googleJobUrl` | link to the posting on Google Jobs |
| `logo` | company logo URL, when Google provides one |
| `extensions`, `searchQuery` | other card tags, the search that produced the row |

Apply links, highlights and description need the "Full job details" option, which is on by default.

### Inputs

- Search query, for example "data analyst" or "nurse jobs Chicago".
- Location, added to the search.
- Country and language codes, to search Google Jobs in another market.
- Or paste a Google search URL for a jobs search.

### Example input

```json
{
    "query": "registered nurse",
    "location": "Chicago, IL",
    "countryCode": "us",
    "maxItems": 30
}
```

### Example output

```json
{
    "title": "Registered Nurse, Med Surg",
    "companyName": "Advocate Health",
    "location": "Chicago, IL",
    "via": "via Indeed",
    "salaryRaw": "$38-$55 an hour",
    "salaryMin": 38,
    "salaryMax": 55,
    "salaryPeriod": "hour",
    "employmentType": "Full-time",
    "postedAt": "2 days ago",
    "url": "https://www.indeed.com/viewjob?jk=...",
    "applyLinks": [{ "title": "Apply on Indeed", "link": "https://www.indeed.com/viewjob?jk=..." }],
    "jobHighlights": [{ "title": "Qualifications", "items": ["Active Illinois RN license"] }],
    "searchQuery": "registered nurse"
}
```

### Use cases

- Recruiting: see who is hiring for a role in a city across every job board at once.
- Salary research: collect pay ranges shown on Google Jobs by title and location.
- Job market tracking: monitor openings for a title over time, in any country Google Jobs covers.
- Lead generation: find companies hiring for roles your product or service supports.

### Pricing

You pay per job posting delivered. Runs that return no postings, and error rows, are never charged. The run stops at your maximum results or your spend limit. Free Apify plans get up to 10 postings per run.

### Tips

- Phrases like "<job title> jobs <city>" match what people type into Google and give the fullest results.
- One search returns up to the number of postings Google lists for it, usually up to about 100.

### FAQ

**Do I need an account?** No.

**How fresh is the data?** Every run reads Google Jobs live at the time you run it.

# Actor input Schema

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

Job title or search phrase, for example "software engineer" or "nurse jobs Chicago". Takes priority over the Google search URL.

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

Optional city or region added to the search, for example "New York, NY" or "Remote".

## `startUrl` (type: `string`):

Optional. A Google search URL for a jobs search. Used when Search query is empty.

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

How many job postings to collect. Free Apify plans are limited to 10 per run.

## `countryCode` (type: `string`):

Two-letter country code for the search, for example us, gb, ca, de.

## `languageCode` (type: `string`):

Language code for the results, for example en, es, de.

## `includeDetails` (type: `boolean`):

Adds the description, job highlights (qualifications, responsibilities, benefits), apply links and logo for each posting. Slower.

## `includeRaw` (type: `boolean`):

Adds the raw text of each job card.

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

Optional. Residential proxies are used automatically on retries.

## Actor input object example

```json
{
  "startUrl": "https://www.google.com/search?q=software+engineer+jobs+new+york+ny&hl=en&gl=us",
  "maxItems": 10,
  "includeDetails": true,
  "includeRaw": false
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view with key job fields.

# 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 = {
    "startUrl": "https://www.google.com/search?q=software+engineer+jobs+new+york+ny&hl=en&gl=us",
    "maxItems": 10,
    "includeDetails": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("davidcastro/google-jobs-scraper").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 = {
    "startUrl": "https://www.google.com/search?q=software+engineer+jobs+new+york+ny&hl=en&gl=us",
    "maxItems": 10,
    "includeDetails": True,
}

# Run the Actor and wait for it to finish
run = client.actor("davidcastro/google-jobs-scraper").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 '{
  "startUrl": "https://www.google.com/search?q=software+engineer+jobs+new+york+ny&hl=en&gl=us",
  "maxItems": 10,
  "includeDetails": true
}' |
apify call davidcastro/google-jobs-scraper --silent --output-dataset

```

## MCP server setup

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

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/QjOV07hFDB5XBgoBI/builds/bybJvb24Frb130dxP/openapi.json
