# 🔥 LinkedIn Jobs Scraper (`powerai/linkedin-jobs-scraper-2`) Actor

Scrape LinkedIn job search results. Get title, company, location, description, salary, and optional company details in clean JSON.

- **URL**: https://apify.com/powerai/linkedin-jobs-scraper-2.md
- **Developed by:** [PowerAI](https://apify.com/powerai) (community)
- **Categories:** Jobs, Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 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.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🔥 LinkedIn Jobs Scraper

Scrape jobs from LinkedIn public job search results. Paste one or more search URLs and extract title, company, location, description, salary snippets, employment type, and optional company details.

### ✨ Key Features

- 🔗 Scrape from **LinkedIn job search URLs** (public / incognito version)
- 💼 Job title, company, location, posted date, and applicants
- 📝 Full **job description** (text + HTML)
- 💰 Salary snippets when LinkedIn shows them
- 🏢 Optional **company details** (website, employee count, about)
- 🌍 Optional **city-split** to go beyond LinkedIn's ~1000 results per search
- 📋 Structured JSON output, streamed while the run is in progress

### 💪 Why Choose This Actor?

- **Focused**: Built for LinkedIn public job search extraction
- **Flexible**: Multiple search URLs and optional company enrichment
- **Efficient**: Results are pushed continuously while the job runs
- **Structured**: Renamed, integration-friendly field names
- **Reliable**: Stable public search-result extraction

### 🎯 Perfect For

- 📊 Talent market and hiring trend research
- 📬 Recruiting / agency lead generation
- 🔔 Daily new-job monitoring with date filters
- 🤖 Job board and CRM enrichment pipelines

### 📝 Input Requirements

- `searchUrls` (required): One or more LinkedIn job search URLs
- `maxJobs` (optional): Max jobs to scrape (minimum 10)
- `includeCompanyDetails` (optional): Also scrape company firmographics. Default: `false`
- `splitByCity` (optional): Split search by cities in a country. Default: `false`
- `splitCountryCode` (optional): ISO country code when `splitByCity` is enabled, e.g. `US`

#### Input Example

```json
{
  "searchUrls": [
    "https://www.linkedin.com/jobs/search/?keywords=software%20engineer&location=United%20States&f_WT=2"
  ],
  "maxJobs": 100,
  "includeCompanyDetails": false
}
```

#### Output Example

```json
{
  "jobId": "3692563200",
  "jobUrl": "https://www.linkedin.com/jobs/view/english-data-labeling-analyst-at-facebook-3692563200",
  "title": "English Data Labeling Analyst",
  "companyName": "Facebook",
  "location": "Los Angeles Metropolitan Area",
  "salaryRange": ["$17.00", "$19.00"],
  "postedAt": "2023-08-16",
  "employmentType": "Contract",
  "seniority": "Associate",
  "description": "APPROVED REMOTE LOCATIONS:...",
  "scrapedAt": "2026-07-21T07:00:00.000Z"
}
```

### 🚀 How to Use

1. Open LinkedIn Jobs in an **incognito** window and apply your filters
2. Copy the full search URL from the address bar into `searchUrls`
3. Optionally set `maxJobs` and `includeCompanyDetails`
4. Click **Start** and download results as JSON, CSV, Excel, or HTML

### 📌 Notes

- This actor uses the **public** LinkedIn jobs search (no login). Advanced login-only filters may not apply
- For more than ~1000 results per search, enable `splitByCity` with a `splitCountryCode`
- To monitor new jobs daily, set LinkedIn's date filter to "Past 24 hours" in the search URL and schedule the run
- Free users of this actor have run and result-size limits; upgrade for unlimited usage

# Actor input Schema

## `searchUrls` (type: `array`):

Open LinkedIn Jobs search in an incognito window (public version), apply filters, then paste the full URL(s) here. Multiple search URLs are supported.

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

Maximum number of jobs to scrape.

## `includeCompanyDetails` (type: `boolean`):

Also scrape company about text, website, and employee count. Slower because each job needs an extra request.

## `splitByCity` (type: `boolean`):

Split the search across cities in a country to bypass LinkedIn's ~1000 results-per-search limit. Overwrites the location filter in the search URLs.

## `splitCountryCode` (type: `string`):

ISO country code used when Split search by cities is enabled, e.g. US, GB, DE. Required when splitByCity is true.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.linkedin.com/jobs/search/?keywords=software%20engineer&location=United%20States&f_WT=2"
  ],
  "maxJobs": 20,
  "includeCompanyDetails": false,
  "splitByCity": false,
  "splitCountryCode": "US"
}
```

# 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 = {
    "searchUrls": [
        "https://www.linkedin.com/jobs/search/?keywords=software%20engineer&location=United%20States&f_WT=2"
    ],
    "maxJobs": 20,
    "includeCompanyDetails": false,
    "splitByCity": false,
    "splitCountryCode": "US"
};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/linkedin-jobs-scraper-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 = {
    "searchUrls": ["https://www.linkedin.com/jobs/search/?keywords=software%20engineer&location=United%20States&f_WT=2"],
    "maxJobs": 20,
    "includeCompanyDetails": False,
    "splitByCity": False,
    "splitCountryCode": "US",
}

# Run the Actor and wait for it to finish
run = client.actor("powerai/linkedin-jobs-scraper-2").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "searchUrls": [
    "https://www.linkedin.com/jobs/search/?keywords=software%20engineer&location=United%20States&f_WT=2"
  ],
  "maxJobs": 20,
  "includeCompanyDetails": false,
  "splitByCity": false,
  "splitCountryCode": "US"
}' |
apify call powerai/linkedin-jobs-scraper-2 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=powerai/linkedin-jobs-scraper-2",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/J8UjxxT7bhU6DJZlJ/builds/mGfEo6hfdg3rHedOA/openapi.json
