# LinkedIn Job Details Scraper API (`api_harbor/linkedin-job-details`) Actor

Full LinkedIn job postings from URLs or IDs: description, seniority, contract, function, industry, applicants. No login. $1 per 1,000 jobs, pay-per-job, failed items never charged. Callable from any MCP client (Claude, Cursor, ChatGPT).

- **URL**: https://apify.com/api_harbor/linkedin-job-details.md
- **Developed by:** [Api Harbor](https://apify.com/api_harbor) (community)
- **Categories:** Jobs, Lead generation
- **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 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 Job Details Scraper API

Get the full content of LinkedIn job postings from their URLs or job IDs: complete description, seniority level, employment type, job function, industry, number of applicants and posting date. No LinkedIn account, no cookies. Export to JSON, CSV or Excel, call it as a LinkedIn job details API, or plug it into AI agents through MCP.

**$1 per 1,000 jobs. Pay-per-job: failed items are never charged, no proxy fees, no login.**

### What does LinkedIn Job Details Scraper do?

You already have a list of LinkedIn jobs, from your ATS, a spreadsheet, another scraper or a job alert. This Actor opens each public job page and returns one clean item per job:

- Title, company, company page, location, job URL
- Full description as plain text and as HTML
- Seniority level, employment type, job function, industries and the raw criteria list
- Number of applicants and how long ago the job was posted

Accepted input: any LinkedIn job URL (`/jobs/view/...`, links with `?currentJobId=...`) or the numeric job ID.

### Why use this LinkedIn job details API?

- **No login, no ban risk.** Only public job pages are read. Your LinkedIn account is never used.
- **Pay only for what you get.** $1 per 1,000 job details, proxies included.
- **Robust.** A removed or invalid job does not stop the run: you get an item with the error and the run continues, free of charge.
- **Agent-ready.** Callable from any MCP client (Claude, Cursor, ChatGPT) with no glue code.

### Use cases for LinkedIn job descriptions

- **ATS and CRM enrichment:** complete job records with the full description and criteria.
- **Job market analysis:** have an LLM compare requirements, seniority and skills across hundreds of postings.
- **AI recruiting agents:** let your agent read a job posting before matching candidates or writing outreach.
- **RAG over job descriptions:** index full descriptions in a vector store for skill extraction, classification or semantic candidate matching.
- **Recruiting market watch:** follow the openings of competitors or target companies over time.
- **Lead generation:** read what a hiring company needs before you reach out.

### How much does it cost to scrape LinkedIn job details?

| What | Price |
|---|---|
| Run start | $0.00005 per run |
| Job detail | $1.00 per 1,000 jobs |

Rows with an `error` field (expired, removed or invalid jobs) are delivered but never charged. No proxy fees on top. The Apify free plan includes $5 of monthly credit, enough for about 5,000 job details. Set a maximum cost per run in Apify Console and the run stops cleanly at that budget.

### How to get LinkedIn job details

1. Click **Try for free**.
2. Paste LinkedIn job URLs, job IDs, or both.
3. Click **Start**, then download your data as JSON, CSV, Excel or HTML.

Need to find jobs by keyword first? Use [LinkedIn Jobs Scraper API](https://apify.com/api_harbor/linkedin-jobs-scraper), which can also include these details directly.

### Input

| Field | Description |
|---|---|
| `urls` | LinkedIn job URLs, e.g. `https://www.linkedin.com/jobs/view/4446387035` or any URL with `?currentJobId=` |
| `ids` | Numeric LinkedIn job IDs, e.g. `4446387035` |

```json
{
  "urls": ["https://www.linkedin.com/jobs/view/4446387035"],
  "ids": ["4012345678"]
}
```

### What you get back

One item per job. Fields LinkedIn does not show for a job are left out.

| Field | Type | Description |
|---|---|---|
| `id` | string | LinkedIn job ID |
| `title` | string | Job title |
| `company` | string | Company name |
| `companyUrl` | string | Company LinkedIn page |
| `location` | string | Job location |
| `url` | string | Job posting URL |
| `postedAgo` | string | Relative posting date, e.g. `2 weeks ago` |
| `applicants` | integer | Number of applicants |
| `applicantsText` | string | Applicants as shown by LinkedIn |
| `description` | string | Full job description, plain text |
| `descriptionHtml` | string | Full job description, HTML |
| `seniorityLevel` | string | Seniority level |
| `employmentType` | string | Employment type |
| `jobFunction` | string | Job function |
| `industries` | string | Industries |
| `criteria` | object | Raw job criteria, label to value |
| `input` | string | Input that failed (error items only) |
| `error` | string | Error message (error items only) |

### Output example

Real item from a test run (description shortened):

```json
{
  "id": "4446387035",
  "title": "Senior Data Engineer - BeReal",
  "company": "BeReal.",
  "companyUrl": "https://fr.linkedin.com/company/bereal-app",
  "location": "Paris, Île-de-France, France",
  "postedAgo": "2 weeks ago",
  "applicants": 200,
  "applicantsText": "Over 200 applicants",
  "seniorityLevel": "Not Applicable",
  "employmentType": "Full-time",
  "industries": "Software Development",
  "criteria": {
    "Employment type": "Full-time",
    "Industries": "Software Development",
    "Seniority level": "Not Applicable"
  },
  "description": "About Voodoo\nFounded in 2013, Voodoo is a tech company that creates mobile games and apps...",
  "url": "https://www.linkedin.com/jobs/view/4446387035"
}
```

Each item also has `descriptionHtml`. A job that cannot be loaded returns `{"input": "...", "error": "..."}`.

### Use it from Python

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("api_harbor/linkedin-job-details").call(run_input={
    "urls": ["https://www.linkedin.com/jobs/view/4446387035"],
})

for job in client.dataset(run["defaultDatasetId"]).iterate_items():
    if "error" in job:
        print("skipped", job["input"], job["error"])  # not charged
        continue
    print(job["title"], job["seniorityLevel"], job["employmentType"])
```

### Use it from AI agents (MCP)

This Actor is a ready-made tool for Claude, Cursor, ChatGPT and any MCP client, through the Apify MCP server:

```
https://mcp.apify.com/?actors=api_harbor/linkedin-job-details
```

Get your API token in [Apify Console](https://console.apify.com/settings/integrations) > **Settings** > **Integrations**.

**Claude Desktop** (`claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?actors=api_harbor/linkedin-job-details",
      "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }
    }
  }
}
```

**Claude Code:**

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?actors=api_harbor/linkedin-job-details" --header "Authorization: Bearer <APIFY_TOKEN>"
```

**Cursor** (`.cursor/mcp.json`) or **VS Code** (`.vscode/mcp.json`, use `"servers"` instead of `"mcpServers"`):

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?actors=api_harbor/linkedin-job-details",
      "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }
    }
  }
}
```

Example prompts:

- *"Read https://www.linkedin.com/jobs/view/4446387035 and list the must-have skills."*
- *"Here are 20 LinkedIn job URLs: compare their seniority, contract type and applicant count in a table."*
- *"Fetch these job postings and score how well my resume matches each one."*

### Caching and errors

- **Caching:** identical requests made shortly after each other are served from cache, so repeated agent calls return fast and consistent results.
- **Structured errors:** an expired or invalid job never crashes the run. You get a row with `input` and `error` fields, and that row is never charged.

### FAQ

**Do I need a LinkedIn account or cookies?**
No. Only public job pages are read.

**What happens with an expired or removed job?**
You get an item with an `error` field, it is not charged, and the run continues with the next job.

**Is it legal to scrape LinkedIn job postings?**
This Actor collects public job ads only, with no personal profile data. Scraping public data is generally allowed, but you are responsible for complying with your local laws and LinkedIn's terms for your use case.

**Is there a LinkedIn job details API?**
LinkedIn's official job APIs are restricted to partners. This Actor works as a LinkedIn job details API: call it over the Apify REST API and get JSON back.

**Can I use it with Python?**
Yes. Install `apify-client` (`pip install apify-client`) and see the Python example above.

**Can I schedule it?**
Yes. Create a schedule in Apify Console to refresh a fixed list of jobs, for example to track applicant counts over time.

**Does it work with Make, Zapier or n8n?**
Yes. Use the Apify integration in Make, Zapier or n8n to send job URLs from a sheet or CRM and get the details back.

**Can AI agents use it through MCP?**
Yes. Add `https://mcp.apify.com/?actors=api_harbor/linkedin-job-details` to Claude, Cursor, VS Code or any MCP client with your Apify token. See the MCP section above.

**Something is missing or broken?**
Open an issue in the **Issues** tab. Fixes usually ship within a day.

### Related Actors

- [LinkedIn Jobs Scraper API](https://apify.com/api_harbor/linkedin-jobs-scraper): search LinkedIn jobs by keyword and location, with optional full details
- [Website Contact Scraper](https://apify.com/api_harbor/website-contact-scraper): emails, phones and social links of the hiring companies' websites
- [Website Intelligence](https://apify.com/api_harbor/website-intelligence): full company website profile: tech stack, contacts, hosting, performance

# Actor input Schema

## `urls` (type: `array`):

LinkedIn job URLs, e.g. https://www.linkedin.com/jobs/view/4446387035 or any URL with ?currentJobId=.

## `ids` (type: `array`):

Numeric LinkedIn job IDs, e.g. 4446387035.

## Actor input object example

```json
{
  "urls": [
    "https://www.linkedin.com/jobs/view/4446387035"
  ]
}
```

# 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 = {
    "urls": [
        "https://www.linkedin.com/jobs/view/4446387035"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("api_harbor/linkedin-job-details").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 = { "urls": ["https://www.linkedin.com/jobs/view/4446387035"] }

# Run the Actor and wait for it to finish
run = client.actor("api_harbor/linkedin-job-details").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 '{
  "urls": [
    "https://www.linkedin.com/jobs/view/4446387035"
  ]
}' |
apify call api_harbor/linkedin-job-details --silent --output-dataset

```

## MCP server setup

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

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/VbipVXnnOSgdQD0G3/builds/MeE39fPiU493glV5S/openapi.json
