# Global Job Listings Scraper (LinkedIn, Indeed, Glassdoor) (`autoclawai/my-actor-2`) Actor

Aggregate LinkedIn, Indeed, Glassdoor, ZipRecruiter & remote job listings in one run. Export structured title, company, salary, location & full descriptions as JSON/CSV. No login, MCP-ready.

- **URL**: https://apify.com/autoclawai/my-actor-2.md
- **Developed by:** [Sonic Dash](https://apify.com/autoclawai) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $5.00 / 1,000 job listings

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

## AutoClaw AI Multi-Job Board Scraper

**Search multiple job boards in one run. Stream normalized listings as each board responds. Keep output bounded with a hard dataset-item cap.**

AutoClaw AI Job Board Scraper is an Apify Actor for recruiting teams, market researchers, sourcing workflows, and automation builders. Search public job-board pages across LinkedIn, Indeed, Glassdoor, ZipRecruiter, Bayt, Naukri, and optionally Google Jobs. Results are normalized into flat JSON records for n8n, Make, APIs, and AI pipelines.

> **Availability varies.** Job boards change markup, regional routes, and access policies. This Actor reads ordinary publicly accessible result pages and structured `JobPosting` data. It does not sign in, solve CAPTCHAs, evade access controls, or rotate proxies to bypass 401/403/429 responses. Some boards may return no listings or restrict automated access.

### Highlights

- Multi-board, multi-term search with `matched_search_term` attribution.
- Incremental dataset writes; results are saved after each board/search query.
- Per-run deduplication across boards by canonical ID or normalized company/title/location/URL.
- Salary parsing with optional hourly, weekly, and monthly annualization.
- Clean HTML/Markdown descriptions, emails, common skills, normalized employment types, and remote flags when available.
- Graceful empty-input handling: emits a usage-hint record and exits successfully.
- Spending protection checks `ACTOR_MAX_PAID_DATASET_ITEMS` before every `Actor.pushData()` and before starting another board query.
- Optional Apify Proxy integration for network routing; access denials are respected.
- Optional standard Playwright fallback for successful HTTP pages with no parseable listings; disabled by default to keep runs light. It does not use stealth plugins or bypass access denials.

### Supported boards

| Board | Search support | Notes |
| --- | --- | --- |
| LinkedIn | Yes | Public search HTML only; descriptions/company fields may be sparse. |
| Indeed | Yes | Country-specific domain and common search filters. |
| Glassdoor | Yes | Country domain; availability and filter behavior vary. |
| ZipRecruiter | Yes | Public search URL; filters may vary by region. |
| Bayt | Yes | Public international search page. |
| Naukri | Yes | Public search page; primarily India-focused. |
| Google Jobs | Optional | Uses Google Jobs search result pages; Google may change page structure or restrict availability. |

These are public-page adapters, not guaranteed integrations. A board response may omit data, change HTML, or disallow automated requests. Unsupported board filters are best effort and are never represented as applied when the Actor cannot infer the result.

### Input

| Input | Type | Default | Description |
| --- | --- | --- | --- |
| `searchTerm` | string | `software engineer` | Main query. |
| `searchTerms` | string array (up to 5) | none | Additional searches. `searchTerm` and `searchTerms` are combined and de-duplicated. |
| `location` | string | `New York, NY` | Location or `Remote`; encoded per board. |
| `sites` | string array | Indeed, LinkedIn, Glassdoor, ZipRecruiter, Bayt, Naukri | Select supported boards; add `google_jobs` explicitly. |
| `distance` | integer | `50` | Miles, where supported. |
| `countryIndeed` | string | `usa` | Country slug: `usa`, `uk`, `canada`, `australia`, `germany`, `france`, `india`, `singapore`, `uae`, `morocco`, and supported aliases. |
| `googleSearchTerm` | string | none | Google Jobs query override. |
| `useBrowserFallback` | boolean | `false` | Render a successfully fetched search page with standard Playwright if HTTP parsing finds no listings. Access denials never trigger this fallback. |
| `maxResults` | integer, 1–100 | `10` | Maximum per board and search term. |
| `isRemote` | boolean | `false` | Remote-only filter when exposed by a board. |
| `jobType` | enum | none | `fulltime`, `parttime`, `contract`, `internship`, `temporary`. |
| `hoursOld` | integer | none | Recency filter, where supported. |
| `easyApply` | boolean | `false` | Best-effort application filter for compatible board results. |
| `offset` | integer | `0` | Starting offset where supported. |
| `linkedinFetchDescription` | boolean | `false` | Uses public listing descriptions when present. It does not log in or fetch gated details. |
| `linkedinCompanyIds` | string array | none | Optional LinkedIn company IDs for search URL filtering. |
| `descriptionFormat` | enum | `markdown` | `markdown` or `html`. |
| `enforceAnnualSalary` | boolean | `false` | Annualize hourly (×2080), weekly (×52), and monthly (×12) amounts. |
| `userAgent` | string | standard browser UA | Optional request User-Agent override. |
| `caCert` | string | none | PEM CA certificate contents for enterprise proxy TLS configuration. |
| `proxyConfiguration` | object | none | Optional Apify Proxy config. The Actor does not rotate identities after access denial. |

If both query inputs are empty, the Actor writes one `usage_hint` dataset item and exits with code 0. Input validation errors are logged and exit non-zero.

### Cost control

Set `ACTOR_MAX_PAID_DATASET_ITEMS` in the Actor environment to impose a hard output ceiling. The effective cap is checked before each dataset write. A value of `0` makes no board requests. Once the cap is reached, the Actor stops starting new board/search queries. The input `maxResults` bounds source results per query.

Example: with `ACTOR_MAX_PAID_DATASET_ITEMS=25`, the Actor never pushes item 26, even if the input requests more. Duplicate listings do not consume dataset items.

### Output

Each job record contains stable keys for job identity, company, location, URLs, board, post date, type, remote status, company metadata, compensation, description, extracted contact emails/skills, matched search, and scrape time. Missing source values are `null`; `emails` and `skills` are arrays.

```json
{
  "id": "indeed:job-123",
  "title": "Software Engineer",
  "company": "Example Systems",
  "location": "New York, NY",
  "job_url": "https://www.indeed.com/viewjob?jk=job-123",
  "job_url_direct": null,
  "site": "indeed",
  "date_posted": "2026-11-20T12:00:00.000Z",
  "job_type": "fulltime",
  "is_remote": false,
  "job_level": null,
  "job_function": null,
  "listing_type": null,
  "company_industry": null,
  "company_url": null,
  "company_url_direct": null,
  "company_num_employees": null,
  "company_employees_label": null,
  "company_revenue": null,
  "company_revenue_label": null,
  "company_country": null,
  "company_rating": null,
  "company_reviews_count": null,
  "company_logo": null,
  "company_description": null,
  "salary_source": "description",
  "salary_min": 120000,
  "salary_max": 160000,
  "salary_currency": "USD",
  "salary_interval": "year",
  "description": "Build software services with TypeScript and AWS.",
  "emails": [],
  "skills": ["TypeScript", "AWS"],
  "experience_range": null,
  "vacancy_count": null,
  "work_from_home_type": null,
  "search_term": "software engineer",
  "matched_search_term": "software engineer",
  "scraped_at": "2026-11-24T19:00:00.000Z",
  "record_type": null,
  "message": null
}
```

`job_url_direct` is populated only when a public result exposes an application URL. Salary currency/period are inferred from visible text and may be absent. Annualization is an estimate based on conventional 52-week/40-hour assumptions.

### Integrations

#### n8n / Make / Zapier

1. Start the Actor or an Actor task with the input JSON.
2. Read the default dataset items from the run output.
3. Use `matched_search_term`, `site`, and `job_url` to route listings into CRM, alerts, or spreadsheets.

#### API

Start a run with the Apify API and read its default dataset:

```bash
curl -X POST "https://api.apify.com/v2/acts/autoclawai~job-board-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchTerm":"data analyst","location":"London","sites":["indeed","google_jobs"],"maxResults":10}'
```

#### AI agents / MCP

Use the flat dataset records as structured sourcing context. The Output schema exposes a JSON dataset-items URL suitable for an agent to fetch and filter by board, location, salary, or matched query.

### Board and filter notes

- Search filters are best-effort. The Actor does not claim unsupported filters were enforced.
- `hoursOld` is converted to the closest supported board date filter; a board may round to days.
- `easyApply` excludes results without visible Easy Apply wording only for supported listing text.
- `linkedinFetchDescription` does not fetch private, login-gated, or detail pages.
- Google Jobs can change availability and result markup without notice.
- 401, 403, and 429 responses are skipped without proxy rotation or browser retry.

### Legal and ethical use

Use this Actor only for lawful purposes and in accordance with each site's terms, privacy rules, and applicable employment/data-protection laws. Collect only information you are authorized to process. Respect request limits and board access decisions; do not use the output for discriminatory hiring decisions.

### FAQ

**Why did a board return no jobs?** Its page may be unavailable to anonymous requests, have changed its markup, or return no matching listings. Check the per-board logs.

**Does this Actor require a login?** No credentials or session cookies are requested. Some boards may still show login walls and then be skipped.

**Does a proxy guarantee access?** No. Proxy support is optional network routing, not a bypass for restrictions.

**Why are salary or company details null?** The Actor only emits values present on the public result page or its structured data.

### Local development

Requires Node.js 20 or newer.

```bash
npm ci
npm test
npm run build
npm start
```

Apify executes this Actor from the `job-board-scraper/` directory.

### Changelog

#### v1.0.0

- Initial multi-board public-page Actor with normalized output, deduplication, streaming dataset writes, and paid-item caps.

# Actor input Schema

## `searchTerm` (type: `string`):

Job title or keyword (e.g. "software engineer", "data analyst").

## `searchTerms` (type: `array`):

Up to 5 search terms run in sequence and merged. Each row gets a matched_search_term.

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

City, state, or country (e.g. "New York, NY", "London", "Remote").

## `sites` (type: `array`):

Job boards to scrape: linkedin, indeed, glassdoor, zip_recruiter, bayt, naukri (plus google_jobs if supported).

## `maxResults` (type: `integer`):

Maximum results per board per search term (1 to 100).

## `isRemote` (type: `boolean`):

Filter for remote jobs only.

## `jobType` (type: `string`):

Employment type: fulltime, parttime, contract, internship, temporary (leave empty for any).

## `hoursOld` (type: `integer`):

Jobs posted within N hours (e.g. 24 = last day, 168 = last week).

## `countryIndeed` (type: `string`):

Country code for Indeed/Glassdoor (e.g. usa, uk, canada, australia, germany, india, uae).

## `googleSearchTerm` (type: `string`):

Optional custom search term specifically for Google Jobs.

## `distance` (type: `integer`):

Search radius in miles from the specified location.

## `offset` (type: `integer`):

Skip the first N results for pagination.

## `easyApply` (type: `boolean`):

Filter for quick-apply listings hosted on the job board.

## `linkedinFetchDescription` (type: `boolean`):

Fetch full job descriptions and direct apply URLs from LinkedIn (slower, extra requests).

## `linkedinCompanyIds` (type: `array`):

Optional list of LinkedIn company IDs (e.g. \["1441", "2382910"]).

## `descriptionFormat` (type: `string`):

Output format for job descriptions: "markdown" or "html".

## `enforceAnnualSalary` (type: `boolean`):

Convert hourly, weekly, or monthly wages into yearly salary equivalents when available.

## `userAgent` (type: `string`):

Optional custom User-Agent string override.

## `caCert` (type: `string`):

Optional CA certificate path for custom or enterprise proxy setups.

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

Apify proxy settings (Residential recommended for LinkedIn, Glassdoor, and ZipRecruiter).

## Actor input object example

```json
{
  "searchTerm": "software engineer",
  "searchTerms": [],
  "location": "New York, NY",
  "sites": [
    "linkedin",
    "indeed",
    "glassdoor"
  ],
  "maxResults": 10,
  "isRemote": false,
  "jobType": "",
  "hoursOld": 24,
  "countryIndeed": "usa",
  "googleSearchTerm": "",
  "distance": 50,
  "offset": 0,
  "easyApply": false,
  "linkedinFetchDescription": false,
  "linkedinCompanyIds": [],
  "descriptionFormat": "markdown",
  "enforceAnnualSalary": false,
  "userAgent": "",
  "caCert": "",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `datasetItems` (type: `string`):

Job listings in normalized JSON format.

# 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 = {
    "searchTerm": "software engineer",
    "searchTerms": [],
    "location": "New York, NY",
    "sites": [
        "linkedin",
        "indeed",
        "glassdoor"
    ],
    "maxResults": 10,
    "jobType": "",
    "hoursOld": 24,
    "countryIndeed": "usa",
    "googleSearchTerm": "",
    "distance": 50,
    "offset": 0,
    "linkedinCompanyIds": [],
    "descriptionFormat": "markdown",
    "userAgent": "",
    "caCert": "",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("autoclawai/my-actor-2").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 = {
    "searchTerm": "software engineer",
    "searchTerms": [],
    "location": "New York, NY",
    "sites": [
        "linkedin",
        "indeed",
        "glassdoor",
    ],
    "maxResults": 10,
    "jobType": "",
    "hoursOld": 24,
    "countryIndeed": "usa",
    "googleSearchTerm": "",
    "distance": 50,
    "offset": 0,
    "linkedinCompanyIds": [],
    "descriptionFormat": "markdown",
    "userAgent": "",
    "caCert": "",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("autoclawai/my-actor-2").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 '{
  "searchTerm": "software engineer",
  "searchTerms": [],
  "location": "New York, NY",
  "sites": [
    "linkedin",
    "indeed",
    "glassdoor"
  ],
  "maxResults": 10,
  "jobType": "",
  "hoursOld": 24,
  "countryIndeed": "usa",
  "googleSearchTerm": "",
  "distance": 50,
  "offset": 0,
  "linkedinCompanyIds": [],
  "descriptionFormat": "markdown",
  "userAgent": "",
  "caCert": "",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call autoclawai/my-actor-2 --silent --output-dataset

```

## MCP server setup

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

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/9jPwA7TvAekBv9txr/builds/ib5lPqIUGLQXLkC5h/openapi.json
