# LinkedIn Jobs Scraper — Pay Per Result (`smorgi_apps/linkedin-jobs-scraper`) Actor

Scrape public LinkedIn job listings by keyword and location. Playwright + residential proxies, stable schema, pay per result (~$6 / 1,000 jobs).

- **URL**: https://apify.com/smorgi\_apps/linkedin-jobs-scraper.md
- **Developed by:** [Smorgi Apps](https://apify.com/smorgi_apps) (community)
- **Categories:** Jobs, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.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/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 — Pay Per Result

Scrape **public** LinkedIn job listings by keyword and location. Clean, stable dataset schema. Pay-per-event pricing.

**Store search keywords:** LinkedIn jobs scraper · LinkedIn job scraper · LinkedIn jobs · jobs data · LinkedIn job listings

***

### What you get

| Field | Description |
|-------|-------------|
| `id` | LinkedIn job id |
| `title` | Job title |
| `company` | Company name |
| `companyUrl` | Public company link when available |
| `location` | Location string |
| `salary` | `{ min, max, period, currency, raw }` when shown |
| `jobType` | e.g. Full-time (from detail page when enabled) |
| `postedAt` | ISO / relative date when available |
| `description` | Plain text (search snippet or full detail) |
| `descriptionHtml` | HTML description when fetched |
| `url` | Public `linkedin.com/jobs/view/{id}` URL |
| `isRemote` | Remote heuristic |
| `scrapedAt` | ISO timestamp |
| `searchQuery` | Query that found this job |

### Example input

```json
{
  "queries": ["software engineer"],
  "location": "United States",
  "maxItemsPerQuery": 25,
  "datePosted": "r604800",
  "parseFullDescription": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

### Pricing (PPE)

| Event | Price | When charged |
|-------|-------|--------------|
| `apify-actor-start` | $0.00005 | Once per run |
| `apify-default-dataset-item` (**Job listing**) | **$0.006** (~**$6 / 1,000 jobs**) | Each job delivered |

LinkedIn is stricter than Indeed — browser + residential proxies are required. Price reflects that cost while staying competitive for reliable public-job data.

### Reliability

- Playwright Chromium + session pool + retries
- Block / auth-wall detection → retire session and retry
- Dedupe by LinkedIn job id
- Run **fails** if zero jobs are returned (no silent empty success)
- Default concurrency **1**

### Limitations (honest)

- **Public / guest job pages only.** No login, no InMail, no private applicant data.
- **Residential proxies required.** Datacenter IPs are almost always blocked.
- LinkedIn auth walls and challenges are common; retries help but cannot guarantee 100% success.
- Full descriptions (`parseFullDescription: true`) open one page per job and raise block risk + cost.
- Layout changes can break selectors — report Issues; we prioritize stability.
- Not a ToS-evasion toolkit — we scrape what LinkedIn shows publicly for guest search.

### Related actors

- [Indeed Jobs Scraper](https://apify.com/smorgi_apps/indeed-jobs-scraper) — sibling jobs Actor for catalog cross-discovery

# Actor input Schema

## `queries` (type: `array`):

Job keywords to search on LinkedIn public jobs pages (e.g. "software engineer").

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

City, region, or "Remote". Leave empty for worldwide/broad results.

## `maxItemsPerQuery` (type: `integer`):

Maximum number of job listings to return for each search query.

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

LinkedIn f\_TPR filter on public job search.

## `parseFullDescription` (type: `boolean`):

If true, open each public job view page for the full description (slower, more blocks). If false, use search-card text only.

## `dedupeAcrossQueries` (type: `boolean`):

Skip jobs already returned for a previous query in this run (by LinkedIn job id).

## `maxConcurrency` (type: `integer`):

Parallel browser tabs. Keep at 1 for LinkedIn stability.

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

Residential proxies are required — LinkedIn blocks datacenter IPs aggressively.

## Actor input object example

```json
{
  "queries": [
    "software engineer"
  ],
  "location": "United States",
  "maxItemsPerQuery": 25,
  "datePosted": "",
  "parseFullDescription": false,
  "dedupeAcrossQueries": true,
  "maxConcurrency": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "queries": [
        "software engineer"
    ],
    "location": "United States",
    "maxItemsPerQuery": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("smorgi_apps/linkedin-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 = {
    "queries": ["software engineer"],
    "location": "United States",
    "maxItemsPerQuery": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("smorgi_apps/linkedin-jobs-scraper").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 '{
  "queries": [
    "software engineer"
  ],
  "location": "United States",
  "maxItemsPerQuery": 25
}' |
apify call smorgi_apps/linkedin-jobs-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/HyVKT3bXXrnKMuLBy/builds/0HIF6abmvvIR8NyXG/openapi.json
