# LinkedIn Jobs API - Job Listings with Full Descriptions (`stas_k/linkedin-jobs-api`) Actor

A LinkedIn job list without descriptions is not a job board, it is a list of titles: the full page answers with a sign-in wall. This actor opens a real browser window and delivers the description, company, location, seniority, employment type and apply link.

- **URL**: https://apify.com/stas_k/linkedin-jobs-api.md
- **Developed by:** [Stas K](https://apify.com/stas_k) (community)
- **Categories:** Jobs, Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.80 / 1,000 jobs

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 API

Public LinkedIn job search as rows you can work with. Give it a search phrase, get one
row per job with the full description, not just the title.

### Why it exists

Job boards answer a plain HTTP request with a wall. Measured on 2026-11-12 from a
Frankfurt datacenter address: a plain request to the guest search was refused, while a
real Chromium window on a virtual display read 60 job cards on the search page and an
8181 character description on a job page, with no sign-in. Many actors on the market
stop at the card, so you get a title, a company and a link.

### What it does

1. Opens the guest job search for your keywords, location and filters.
2. Walks the date windows (lenses) you allow, dedupes by job id.
3. Opens each job page and reads the description, seniority level, employment type,
   job function, industries, applicants count and the apply link.
4. Writes one row per job and charges only for a row that landed in the dataset.

### Depth, measured rather than promised

A guest session does not paginate. Measured on 2026-11-12 with one browser session:

- `start=` offsets do not work: start=0, 25, 50, 200 and 250 returned the same first
  cards.
- `sortBy=DD` returned exactly the same 60 ids as relevance.
- Each search page carries 60 unique job cards.
- The date filter is a lever: the past week window returned 60 ids with only 14 shared
  with the unfiltered set (union 106).

So the actor walks up to three date windows (unfiltered, past week, past 24 hours) and
dedupes. The honest ceiling is 180 jobs per search phrase, and more phrases mean more
jobs.

### Input

| Field | Default | Meaning |
|---|---|---|
| `keywords` | `python developer` | What you would type into the search. Required. |
| `location` | `United States` | A place name; empty searches globally. |
| `maxJobs` | 50 | Ceiling that protects your budget, 1 to 180. |
| `maxSearches` | 3 | Date windows to walk (lenses), 1 to 3. |
| `datePosted` | any | any, past24h, pastWeek, pastMonth. A chosen window is walked alone. |
| `experience` | any | internship, entry, associate, mid-senior, director, executive. |
| `remote` | any | onsite, hybrid, remote. |
| `includeDescription` | true | Open each job page. Turn it off for a fast list of cards. |

### Output

One row per job: `jobId`, `url`, `title`, `company`, `location`, `postedAt`,
`postedText`, `employmentType`, `seniorityLevel`, `jobFunction`, `industries`,
`applyUrl`, `applicants`, `description`, `descriptionCharacters`, `companyUrl`,
`fetchedAt`, `input`, `inputIndex`, `status`.

A row whose `status` is not `OK` carries none of those fields, only the reason, so a
free row is never the product.

### Price

Pay per delivered job: one event per row that reached the dataset. `chargedEvents` in
the run summary is the money actually taken, and `billable` on a row is only a claim
about the price list.

Before a batch is written the run asks the platform how many rows your remaining budget
still covers. A batch that does not fit is cut first, never in silence: every row past
the budget comes back free as `NOT_CHECKED_CAP` with a reason, and `chargedEvents` never
counts a row that was not charged. The same happens if the platform charges less than
it allowed - the counters follow the charge, not the batch.

Free, with a status and a reason in the row:

- `NOT_CHECKED_LIMIT` - beyond `maxJobs`;
- `NOT_CHECKED_TIME` - the run ran out of time;
- `NOT_CHECKED_BLOCKED` - a wall answered instead of the job;
- `NOT_CHECKED_ERROR` - the job page could not be read;
- `NOT_CHECKED_CAP` - your spending cap was reached;
- `NOT_CHECKED_BILLING` - the price could not be read, so nothing was sold;
- `NO_JOBS_FOUND` - the search itself carried no cards.

### What this actor does not do

- It does not sign in. A guest session carries 60 cards per window, so 180 jobs per
  phrase is the ceiling; going deeper needs an account, and using yours is not
  something this actor will do.
- It does not read recruiter profiles, contact details, or anything behind a login.
- It does not invent a salary: LinkedIn often does not print one on the guest page, so
  the row simply has no salary field.
- It does not promise every job on LinkedIn, only what the guest search returns for your
  phrase, location and filters.

### Notes

The browser runs headful under Xvfb because a headless window is refused where a real
one is served. That costs memory: 1024 MB is the default and the measured floor. The
run stops with `stopReason: wall` and stops charging if LinkedIn answers a challenge.

# Actor input Schema

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

The phrase you would type into the LinkedIn job search, for example python developer. Required: an empty search is refused before anything is opened or charged.

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

A place name, for example United States or Berlin. Empty searches LinkedIn globally.

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

Jobs are sold per delivered row, so this is the ceiling that protects your budget. Jobs past it come back free with status NOT_CHECKED_LIMIT.

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

The filter is sent to LinkedIn and, when the page carries a date, applied again in code so a silent ignore cannot slip through.

## `experience` (type: `string`):

Filtered by LinkedIn itself.

## `remote` (type: `string`):

Filtered by LinkedIn itself.

## `includeDescription` (type: `boolean`):

Opening each job page costs time but is the difference between a list of titles and a product. Turn it off for a fast list of cards without descriptions.

## `maxSearches` (type: `integer`):

A guest search carries 60 job cards and page offsets do not work, so depth comes from date windows: unfiltered, past week, past 24 hours. Each carries its own 60 cards and they overlap only partly (measured: 14 shared ids). 3 is the maximum.

## Actor input object example

```json
{
  "keywords": "python developer",
  "location": "United States",
  "maxJobs": 50,
  "datePosted": "any",
  "experience": "any",
  "remote": "any",
  "includeDescription": true,
  "maxSearches": 3
}
```

# Actor output Schema

## `dataset` (type: `string`):

One row per job. status is OK when the row carries a job, or NOT_CHECKED\_\* with the reason in plain words: LIMIT (beyond maxJobs), TIME (the run ran out of time), BLOCKED (a wall answered instead of the job), ERROR (the page could not be read), CAP (the spending cap was reached), BILLING (the price could not be read), and NO_JOBS_FOUND when the search itself carried nothing. A job row carries: jobId, url, title, company, location, postedAt, postedText, employmentType, seniorityLevel, jobFunction, industries, applyUrl, applicants, description, descriptionCharacters, companyUrl, fetchedAt, input and inputIndex. A status row carries none of those fields: only the reason, so a free row is never the product. billable is a claim about the price list; the money actually taken is chargedEvents in the summary.

## `summary` (type: `string`):

Run summary. jobsSeen counts every card the pages carried, jobsUnique drops repeats, jobsDelivered counts the rows sold, chargedEvents is the money really taken, deliveredUncharged is a batch that landed in the dataset without a confirmed charge, chargeUncertain is a batch whose fate is unknown. byStatus splits the rows by status, rowsWritten counts every row in the dataset. billingActive and priceNote say how the run stood with the price; null means the price could not be read, not that billing is off. counterMismatch is true when jobsDelivered is not chargedEvents plus deliveredUncharged. stopReason names why the walk ended early: deadline, wall, spending-cap, charge-error, billing-price-unknown or dataset-write-error.

# 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": "python developer",
    "location": "United States"
};

// Run the Actor and wait for it to finish
const run = await client.actor("stas_k/linkedin-jobs-api").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": "python developer",
    "location": "United States",
}

# Run the Actor and wait for it to finish
run = client.actor("stas_k/linkedin-jobs-api").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": "python developer",
  "location": "United States"
}' |
apify call stas_k/linkedin-jobs-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stas_k/linkedin-jobs-api"
        }
    }
}
```

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/zlirITcZb5dqOdl8c/builds/ReQxfHoBIzoDWSp3r/openapi.json
