# LinkedIn Jobs Scraper - Search Public Job Postings (`protective_flatland/linkedin-jobs-scraper`) Actor

Scrape public LinkedIn job postings by keyword and location. No login, no cookies, no API key.

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

## Pricing

from $1.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.

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

## LinkedIn Jobs Scraper - Search Public Job Postings

### Try it first

In **Input → JSON**, run this small example, then open **Dataset → Export** for CSV or JSON. Before running, check the Store Pricing tab: the maximum event charge is `maxItems × current per-job price + any start event`. Current Store pricing is authoritative.

```json
{
  "keywords": "python",
  "maxItems": 3,
  "fetchDetails": true
}
```

Scrape public LinkedIn job postings by keyword and location. No login, no cookies, no API key. Clean structured JSON straight into a dataset.

### First run

Enter a job title in **keywords**, optionally add a city/country in **location**, and leave **Fetch full job descriptions** off for the first sample. Start with `maxItems=20`; inspect rows in **Dataset** and export CSV if useful. Detail pages are best-effort: each row reports `detailStatus`/`detailReason` when requested. At the current $0.001/result plus $0.00005 start event, 3 results are about $0.00305 in event charges. Current Store pricing is authoritative.

### What you can do with it

- Search LinkedIn jobs by keyword ("python developer", "data scientist", ...)
- Narrow by location (country, region or city)
- Optionally request description and criteria details when LinkedIn exposes them
- Export the default dataset as JSON or CSV from Apify

### Typical uses

- Job market research and salary benchmarking
- Recruitment and talent sourcing
- Lead generation for B2B sales
- Building job boards and aggregators
- Tracking hiring trends by company or location

### Input

| Field | Type | Description |
|---|---|---|
| `keywords` | string | Job search keywords, e.g. `python developer`. |
| `location` | string | Optional location, e.g. `United States` or `London`. |
| `maxItems` | integer | Maximum number of jobs to return. |
| `fetchDetails` | boolean | Request public detail pages. Availability varies; each eligible result reports `detailStatus` and a failure `detailReason`. Billing remains per returned job. |

#### Example input

```json
{
  "keywords": "data scientist",
  "location": "United States",
  "maxItems": 200,
  "fetchDetails": true
}
```

Requests use Apify Proxy when available. If proxy configuration is unavailable, the actor continues with the current network and logs a warning. Search cards can still be returned when detail-page requests fail; inspect `detailStatus` (`success` or `failed`) and `detailReason` (`http_<status>`, `description_missing`, `request_error`, or `job_id_missing`) rather than assuming every requested description was retrieved.

### Output

One record per job posting.

```json
{
  "title": "Senior Software Engineer - Python",
  "company": "Venmo",
  "location": "Austin, TX",
  "url": "https://www.linkedin.com/jobs/view/senior-software-engineer-python-at-venmo-4231234567",
  "jobId": "4231234567",
  "postedAt": "2026-11-14",
  "detailStatus": "success",
  "description": "We are looking for a backend engineer to join...",
  "seniority": "Mid-Senior level",
  "employmentType": "Full-time",
  "jobFunction": "Engineering",
  "industries": "Software Development"
}
```

### Pricing

Pay per result: **$1 per 1,000 jobs**. Full-description requests do not add a result event; the same job row is billed once whether details are requested or not. The detail endpoint can still increase platform resource usage and can fail per job; inspect `detailStatus`. Current Store Pricing and the run's usage panel are authoritative.

# Actor input Schema

## `keywords` (type: `string`):

What job to search for, e.g. "python developer" or "data scientist".

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

Optional. A city, region or country, e.g. "United States" or "London".

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

Maximum number of job postings to return.

## `fetchDetails` (type: `boolean`):

Also request public posting details. Some requests may fail or return no description; each row reports detailStatus and detailReason when requested. Slower; billing remains per returned job.

## Actor input object example

```json
{
  "keywords": "software engineer",
  "location": "",
  "maxItems": 20,
  "fetchDetails": false
}
```

# Actor output Schema

## `results` (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 = {
    "keywords": "software engineer",
    "location": ""
};

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,protective_flatland/linkedin-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/UcrLgCBxroaA6Wgii/builds/EZ5zZy26u6I7Hd0yy/openapi.json
