# LinkedIn Jobs Scraper (`philosophical_quoin/linkedin-jobs-scraper`) Actor

Scrape LinkedIn job postings with full enrichment. Works without cookies using the public guest API. Provide an optional li\_at cookie to unlock applicant counts, recruiter details, and benefits.

- **URL**: https://apify.com/philosophical\_quoin/linkedin-jobs-scraper.md
- **Developed by:** [Ani](https://apify.com/philosophical_quoin) (community)
- **Categories:** AI, Jobs, Open source
- **Stats:** 6 total users, 1 monthly users, 100.0% runs succeeded, 1 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 – No Cookie Required

Scrape LinkedIn job postings with full data enrichment. Works out of the box without any LinkedIn account or cookies. Optionally provide a `li_at` session cookie to unlock bonus fields and improve search breadth.

> **Cheaper and more flexible than alternatives.** Most LinkedIn job scrapers on Apify require cookies just to run. This actor works without them — and does more when you provide one.

---

### Features

- **No cookie required** — uses LinkedIn's public guest API by default
- **Cookie optional** — providing `li_at` unlocks work type, applicant count, recruiter details, and benefits, and improves search pagination for narrow queries
- **Multi-search in one run** — pass an array of keyword + location pairs; results are deduplicated and merged into a single dataset
- **Boolean search support** — LinkedIn's keyword field accepts `AND`, `OR`, `NOT` operators
- **Streaming output** — results appear in your dataset as they are scraped, not just at the end
- **Success rate > 95%** — residential proxy support via Apify's built-in proxy configuration

---

### What data do you get?

| Field | Without cookie | With cookie |
|---|---|---|
| `title` | ✅ | ✅ |
| `companyName` | ✅ | ✅ |
| `location` | ✅ | ✅ |
| `description` | ✅ | ✅ |
| `publishedAt` | ✅ | ✅ |
| `contractType` | ✅ | ✅ |
| `experienceLevel` | ✅ | ✅ |
| `sector` | ✅ | ✅ |
| `salary` | ✅ (if listed) | ✅ (if listed) |
| `jobUrl` | ✅ | ✅ |
| `companyUrl` | ✅ | ✅ |
| `applyUrl` | ✅ | ✅ |
| `applyType` | ✅ | ✅ |
| `workType` (Remote/Hybrid/On-site) | ⚠️ partial | ✅ |
| `applicationsCount` | ⚠️ partial | ✅ |
| `posterFullName` | ❌ | ✅ |
| `posterProfileUrl` | ❌ | ✅ |
| `benefits` | ❌ | ✅ |

---

### Input

#### Minimal (no cookie needed)

```json
{
  "searches": [
    {
      "keywords": "product manager",
      "location": "London, United Kingdom",
      "publishedWithin": "week",
      "maxResults": 50
    }
  ]
}
````

#### Full example with cookie and multiple searches

```json
{
  "searches": [
    {
      "keywords": "MBA intern",
      "location": "London, United Kingdom",
      "publishedWithin": "month",
      "maxResults": 100
    },
    {
      "keywords": "strategy consultant",
      "location": "New York, United States",
      "publishedWithin": "week",
      "maxResults": 50
    }
  ],
  "liAtCookie": "your_li_at_value_here",
  "requestDelay": 2.0,
  "deduplicateAcrossSearches": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

#### Input fields

| Field | Type | Required | Description |
|---|---|---|---|
| `searches` | array | **Yes** | One or more search queries to run |
| `searches[].keywords` | string | **Yes** | Job title or keywords. Supports `AND`, `OR`, `NOT` |
| `searches[].location` | string | No | City, region, or country |
| `searches[].publishedWithin` | string | No | `day`, `week`, `month`, or `any` (default: `any`) |
| `searches[].maxResults` | integer | No | Max jobs to return per search (default: `25`) |
| `liAtCookie` | string | No | LinkedIn `li_at` session cookie for bonus fields |
| `proxyConfiguration` | object | No | Proxy settings (Apify residential proxies recommended) |
| `requestDelay` | number | No | Seconds between requests, default `2.0` (increase if you see 429 errors) |
| `deduplicateAcrossSearches` | boolean | No | Skip duplicate jobs when running multiple searches, default `true` |

***

### Output

Each item in the dataset represents one job posting.

```json
{
  "title": "Strategy & Operations MBA Intern",
  "companyName": "Acme Corp",
  "companyUrl": "https://www.linkedin.com/company/acme-corp",
  "companyId": "acme-corp",
  "location": "London, England, United Kingdom",
  "workType": "Hybrid",
  "contractType": "Internship",
  "experienceLevel": "Entry level",
  "sector": "Management Consulting",
  "salary": "GBP 35000–45000 / YEAR",
  "description": "We are looking for an MBA intern to join our Strategy & Operations team...",
  "applicationsCount": "42 applicants",
  "publishedAt": "2026-05-01",
  "postedTime": "1 week ago",
  "jobUrl": "https://www.linkedin.com/jobs/view/1234567890",
  "applyUrl": "https://careers.acmecorp.com/apply/1234",
  "applyType": "OFFSITE",
  "linkedinId": "1234567890",
  "posterFullName": "Jane Smith",
  "posterProfileUrl": "https://www.linkedin.com/in/janesmith",
  "benefits": "Health insurance; Flexible working; Learning budget",
  "scrapedAt": "2026-05-09T12:00:00+00:00",
  "_search": {
    "keywords": "MBA intern",
    "location": "London, United Kingdom",
    "publishedWithin": "month"
  }
}
```

***

### How to get your `li_at` cookie

The actor works without a cookie. If you want the bonus fields:

1. Log in to **[linkedin.com](https://www.linkedin.com)** in your browser
2. Open DevTools — press **F12** (Windows/Linux) or **Cmd+Option+I** (Mac)
3. Go to **Application** → **Storage** → **Cookies** → `https://www.linkedin.com`
4. Find the cookie named **`li_at`** and copy its full value
5. Paste it into the `liAtCookie` input field

> **Privacy note:** your cookie is used only to authenticate requests to LinkedIn on your behalf. It is never stored or shared beyond your actor run.

***

### Common issues

#### Fewer results than expected

LinkedIn's guest API (no cookie) sometimes recycles the same top results for very narrow searches. Providing a `li_at` cookie gives LinkedIn's algorithm a personalised view and returns a broader, more varied result set.

#### 429 Too Many Requests

Increase `requestDelay` to `3.0` or higher, and enable Apify residential proxies in the `proxyConfiguration` input.

#### Cookie-related errors (even with a valid cookie)

LinkedIn session cookies expire every few months. If you see authentication errors, follow the steps above to get a fresh `li_at` value.

#### Scraped jobs differ from what I see on LinkedIn

LinkedIn's algorithm shows different results depending on whether you're logged in, your account history, and your location. Jobs scraped via the API may differ from your browser view — this is expected behaviour.

***

### Legal & usage

This actor uses LinkedIn's publicly accessible guest API endpoints and standard web requests. Use it responsibly:

- Do not run at extremely high volumes in short time windows
- This tool is intended for personal job search, research, and recruitment analytics
- Review LinkedIn's [User Agreement](https://www.linkedin.com/legal/user-agreement) before use

# Actor input Schema

## `searches` (type: `array`):

One or more searches to run. Each entry specifies keywords, location, and filters. Results from all searches are deduplicated and merged into a single dataset.

## `liAtCookie` (type: `string`):

Your LinkedIn session cookie. NOT required — the scraper works without it using LinkedIn's public guest API. Providing it does two things: (1) improves search pagination so you get a broader, more varied set of results (without it, LinkedIn tends to recycle the same top results across pages for narrow searches); (2) unlocks bonus fields: applicant count, recruiter name & profile URL, and benefits. Get it from: DevTools → Application → Cookies → linkedin.com → li\_at.

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

Recommended: use Apify residential proxies to avoid rate limiting. The scraper will work without proxies for small runs.

## `requestDelay` (type: `number`):

Wait time between requests. Increase if you see 429 rate-limit errors.

## `deduplicateAcrossSearches` (type: `boolean`):

When running multiple searches, skip jobs already seen in earlier searches (matched by LinkedIn job ID).

## Actor input object example

```json
{
  "searches": [
    {
      "keywords": "MBA intern",
      "location": "London, United Kingdom",
      "publishedWithin": "week",
      "maxResults": 50
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "requestDelay": 2,
  "deduplicateAcrossSearches": true
}
```

# 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 = {
    "searches": [
        {
            "keywords": "MBA intern",
            "location": "London, United Kingdom",
            "publishedWithin": "week",
            "maxResults": 50
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("philosophical_quoin/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 = {
    "searches": [{
            "keywords": "MBA intern",
            "location": "London, United Kingdom",
            "publishedWithin": "week",
            "maxResults": 50,
        }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("philosophical_quoin/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 '{
  "searches": [
    {
      "keywords": "MBA intern",
      "location": "London, United Kingdom",
      "publishedWithin": "week",
      "maxResults": 50
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call philosophical_quoin/linkedin-jobs-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "LinkedIn Jobs Scraper",
        "description": "Scrape LinkedIn job postings with full enrichment. Works without cookies using the public guest API. Provide an optional li_at cookie to unlock applicant counts, recruiter details, and benefits.",
        "version": "0.1",
        "x-build-id": "hIDCXfwQ1axclNOlt"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/philosophical_quoin~linkedin-jobs-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-philosophical_quoin-linkedin-jobs-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/philosophical_quoin~linkedin-jobs-scraper/runs": {
            "post": {
                "operationId": "runs-sync-philosophical_quoin-linkedin-jobs-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/philosophical_quoin~linkedin-jobs-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-philosophical_quoin-linkedin-jobs-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "searches"
                ],
                "properties": {
                    "searches": {
                        "title": "Search queries",
                        "type": "array",
                        "description": "One or more searches to run. Each entry specifies keywords, location, and filters. Results from all searches are deduplicated and merged into a single dataset."
                    },
                    "liAtCookie": {
                        "title": "LinkedIn li_at cookie (optional)",
                        "type": "string",
                        "description": "Your LinkedIn session cookie. NOT required — the scraper works without it using LinkedIn's public guest API. Providing it does two things: (1) improves search pagination so you get a broader, more varied set of results (without it, LinkedIn tends to recycle the same top results across pages for narrow searches); (2) unlocks bonus fields: applicant count, recruiter name & profile URL, and benefits. Get it from: DevTools → Application → Cookies → linkedin.com → li_at."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Recommended: use Apify residential proxies to avoid rate limiting. The scraper will work without proxies for small runs."
                    },
                    "requestDelay": {
                        "title": "Delay between requests (seconds)",
                        "minimum": 1,
                        "maximum": 15,
                        "type": "number",
                        "description": "Wait time between requests. Increase if you see 429 rate-limit errors.",
                        "default": 2
                    },
                    "deduplicateAcrossSearches": {
                        "title": "Deduplicate across searches",
                        "type": "boolean",
                        "description": "When running multiple searches, skip jobs already seen in earlier searches (matched by LinkedIn job ID).",
                        "default": true
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
