# LinkedIn Job Details Scraper (`datahamster/linkedin-job-details-scraper`) Actor

LinkedIn job details scraper with no login or cookies. Paste job URLs or ids and get title, company, location, seniority, employment type, posted date, applicants, salary as numbers and the full description. Closed jobs are flagged, removed ones are free.

- **URL**: https://apify.com/datahamster/linkedin-job-details-scraper.md
- **Developed by:** [Viktor Dubnytskiy](https://apify.com/datahamster) (community)
- **Categories:** Jobs, Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.24 / 1,000 result items

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

Paste LinkedIn job URLs or job ids and get one flat row per job: title, company with logo and page, location, seniority, employment type, job function, industries, posted date, applicants, the salary range split into numbers, the full description, and whether the job is still open. No LinkedIn account, no cookies.

**Try it:** the prefilled example returns 5 rows in about 11 seconds and costs about $0.014. Results cost $2.80 per 1,000. Its 7 inputs mix URL forms and bare ids on purpose: one is a repeat (fetched once), one is a removed job (free, listed in `NOT_FOUND`), and one is a closed job (returned with `jobStatus: "closed"`).

Coverage limits: LinkedIn shows logged-out visitors only a relative posted time ("2 weeks ago"), so `postedAt` is exact to the day only for jobs posted in the last week; for older jobs `postedAtPrecision` tells you how exact it is. The external apply link sits behind LinkedIn's sign-in, so you get the apply route (`offsite` or `easyApply`), not the link itself.

### Why this one

- **Closed jobs are flagged, not dropped.** A job LinkedIn still shows but no longer takes applications for comes back with `jobStatus: "closed"` and its data. Re-run your list daily and you see which postings closed. Other details scrapers skip expired postings without saying which ones.
- **A real posted date.** `postedAt` is a `YYYY-MM-DD` date with `postedAtPrecision` (day, week, month, year), next to LinkedIn's own `postedAgo` text, so you can sort and filter by date instead of parsing "3 weeks ago".
- **Any mix of URLs and bare ids, deduplicated.** Job pages from any country subdomain, links with the title in them, search URLs with `currentJobId`, `urn:li:jobPosting:` ids and plain numbers all work in one list. A job that appears twice is fetched and charged once.
- **Removed jobs cost nothing and are listed.** A job id LinkedIn no longer has is not pushed, and its input goes into the `NOT_FOUND` record of the run, so you know exactly which links died.
- **Currency as an ISO code.** `salaryCurrency` is `USD`, `GBP`, `EUR`, `CAD` and so on, not the `$` or `£` sign from the page, so ranges from different countries do not mix (`salaryMin`, `salaryMax`, `salaryPeriod` and the original `salaryText` sit next to it).
- **$2.80 per 1,000 jobs**, 30% under the most used LinkedIn job details actor ($4.00 per 1,000).

### What you get

Real rows from the example dataset (the prefilled input, run on 2026-11-05):

| title / company | location | status | posted | applicants | salary |
|---|---|---|---|---|---|
| Software Engineer II (Java/AWS) / JPMorganChase | New York, NY | open | 2026-10-29 (1 week ago) | Over 200 applicants | 123,500-150,000 USD/year |
| Marketing Manager / Olympus Recruitment Ltd | Birmingham, England, United Kingdom | open | 2026-11-04 (1 day ago) | 85 applicants | 55,000-60,000 GBP/year |
| Software Engineer Full Stack / Backend I (Full Time) - United States / Cisco | Boise, ID | open | 2026-11-05 (12 hours ago) | 67 applicants |  |
| Marketing Manager - Sheraton Grand London Park Lane / Sheraton Hotels & Resorts | London, England, United Kingdom | open | 2026-10-08 (4 weeks ago) | 149 applicants |  |
| District Medical Director - Senior Health / One Medical | Seattle, WA | closed | 2024-11-05 (2 years ago) | Be among the first 25 applicants |  |

One full row (description shortened, logo URL left out):

```json
{
  "id": "4487289211",
  "jobId": "4487289211",
  "url": "https://www.linkedin.com/jobs/view/4487289211/",
  "input": "https://uk.linkedin.com/jobs/view/marketing-manager-at-olympus-recruitment-ltd-4487289211",
  "title": "Marketing Manager",
  "jobStatus": "open",
  "companyName": "Olympus Recruitment Ltd",
  "companyUrl": "https://www.linkedin.com/company/olympus-recruitment-ltd",
  "companySlug": "olympus-recruitment-ltd",
  "location": "Birmingham, England, United Kingdom",
  "workplaceType": null,
  "seniorityLevel": "Mid-Senior level",
  "employmentType": "Full-time",
  "jobFunction": null,
  "industries": "Hospitality and Retail",
  "postedAt": "2026-11-04",
  "postedAtPrecision": "day",
  "postedAgo": "1 day ago",
  "applicantsText": "85 applicants",
  "applicantCount": 85,
  "applyType": "easyApply",
  "salaryText": "£55,000.00/yr - £60,000.00/yr",
  "salaryMin": 55000,
  "salaryMax": 60000,
  "salaryCurrency": "GBP",
  "salaryPeriod": "year",
  "description": "Marketing Manager\n\nMulti-Site Hospitality Business\n\nOur client is looking for an ambitious and commercially focused Marketing Manager to take ownership of its m...",
  "descriptionLength": 2057,
  "scrapedAt": "2026-11-05T18:38:27.754007Z"
}
```

Full row: `id` / `jobId`, `url`, `input`, `title`, `jobStatus`, `companyName`, `companyUrl`, `companySlug`, `companyLogoUrl`, `location`, `workplaceType`, `seniorityLevel`, `employmentType`, `jobFunction`, `industries`, `postedAt`, `postedAtPrecision`, `postedAgo`, `applicantsText`, `applicantCount`, `applyType`, `salaryText`, `salaryMin`, `salaryMax`, `salaryCurrency`, `salaryPeriod`, `description`, `descriptionLength`, `scrapedAt`.

Rows hold job and employer data only. LinkedIn's "job poster" card (a recruiter's name and profile) and the "see who was hired" faces are removed before the page is read, and e-mail addresses, phone numbers and LinkedIn profile links typed into the description are stripped.

### Use cases

- **Enrich a job list.** Feed the job URLs from a search scraper or your own tracker and get the full description, salary and criteria for each.
- **Track whether postings are still open.** Schedule the same list daily and filter on `jobStatus` to see which roles closed and when.
- **Salary and market research.** Compare `salaryMin` / `salaryMax`, seniority and employment type across a set of postings.
- **Job description datasets.** Clean plain-text descriptions for skills extraction or LLM pipelines, without recruiter contact data.

### Input

| Field | Meaning | Default |
|---|---|---|
| `jobs` | LinkedIn job URLs or job ids, one per line | example list |
| `maxItems` | Stop after this many rows | `1000` |

Accepted formats: `https://www.linkedin.com/jobs/view/4476983365/`, `https://uk.linkedin.com/jobs/view/marketing-manager-at-acme-4487289211`, `https://www.linkedin.com/jobs/search/?currentJobId=4475966536`, `urn:li:jobPosting:4476983365`, `4476983365`. Anything else is skipped and listed in `NOT_FOUND.invalid`.

### Pricing

| Event | Price |
|---|---|
| result | $0.0028 per job ($2.80 per 1,000) |

Apify SILVER subscribers get 10% off, GOLD and higher 20% off. You pay only for rows pushed. Closed jobs are returned with their data and charged like open ones; removed jobs, invalid inputs and duplicates are free. Apify platform usage is billed by Apify on top (a run reads about one small page per job).

**Found it useful?** A short review on the Store page helps other people find this actor. If a job misbehaves, open an issue on the actor page.

### Related actors

- [LinkedIn Jobs Scraper](https://apify.com/datahamster/linkedin-jobs-scraper) to find job URLs by keyword and location, with a monitor mode for new jobs.
- [LinkedIn Company Scraper](https://apify.com/datahamster/linkedin-company-scraper) for the employer's company page.
- [Career Site Jobs Monitor: Greenhouse, Lever, Ashby, Workday](https://apify.com/datahamster/ats-jobs) to watch an employer's own career site.
- [Glassdoor Jobs Scraper: Salary Estimates, Ratings, Monitor](https://apify.com/datahamster/glassdoor-jobs) for employer ratings next to the postings.

### Limits

- `postedAt` comes from LinkedIn's relative text. "10 hours ago" gives the exact day. With `postedAtPrecision: "week"` ("2 weeks ago") the real posting date is on `postedAt` or up to 6 days before it; "month" and "year" are as coarse as they sound.
- `applicantCount` is the number in LinkedIn's caption: "Over 200 applicants" becomes `200` (a lower bound) and "Be among the first 25 applicants" stays empty.
- `salary*` is filled only when the employer publishes a pay range; US and UK postings often do, most others do not. `salaryPeriod` is set only when the text names it.
- `workplaceType` is filled only when the title or location says remote, hybrid or on-site; LinkedIn does not print it on public pages.
- `jobFunction` appears only when LinkedIn prints that line, which most public pages do not.
- LinkedIn rate-limits logged-out traffic. The actor waits 1.2 seconds between job pages, retries a rate limit with backoff and moves to a datacenter, then a residential proxy only when the free tier keeps refusing. A run refused on every tier stops with `blocked` or `rate_limited` in `RUN_SUMMARY` instead of an empty dataset, and five refused jobs in a row stop the run with the rows read so far kept.

### FAQ

**Do I need a LinkedIn account or cookies?** No. Every request is made as a logged-out visitor.

**Why is a job missing from my results?** LinkedIn answered that it does not exist (removed posting or wrong id). Its input is in the `NOT_FOUND` record of the run's key-value store, and you were not charged for it.

**Is there a monitor mode?** No. Schedule the same input instead: every run is a fresh snapshot, and `jobStatus` shows which jobs closed.

### Changelog

- 0.1: initial release.

# Actor input Schema

## `jobs` (type: `array`):

One job per line: a job page URL (any country subdomain, with or without the title in the link), a search URL with currentJobId, urn:li:jobPosting:<id>, or the bare numeric id, e.g. 4476983365. Repeats are fetched once.

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

Stop after this many jobs (you are charged only for pushed jobs). Example: 20.

## Actor input object example

```json
{
  "jobs": [
    "https://www.linkedin.com/jobs/view/4476983365/",
    "https://uk.linkedin.com/jobs/view/marketing-manager-at-olympus-recruitment-ltd-4487289211",
    "4487715416",
    "https://www.linkedin.com/jobs/search/?currentJobId=4475966536&keywords=marketing%20manager",
    "3900000000",
    "4476983365",
    "4300012345"
  ],
  "maxItems": 20
}
```

# Actor output Schema

## `results` (type: `string`):

All pushed rows (dataset, JSON)

## `resultsTable` (type: `string`):

Dataset in the Console viewer

## `runSummary` (type: `string`):

RUN_SUMMARY record

# 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 = {
    "jobs": [
        "https://www.linkedin.com/jobs/view/4476983365/",
        "https://uk.linkedin.com/jobs/view/marketing-manager-at-olympus-recruitment-ltd-4487289211",
        "4487715416",
        "https://www.linkedin.com/jobs/search/?currentJobId=4475966536&keywords=marketing%20manager",
        "3900000000",
        "4476983365",
        "4300012345"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datahamster/linkedin-job-details-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 = {
    "jobs": [
        "https://www.linkedin.com/jobs/view/4476983365/",
        "https://uk.linkedin.com/jobs/view/marketing-manager-at-olympus-recruitment-ltd-4487289211",
        "4487715416",
        "https://www.linkedin.com/jobs/search/?currentJobId=4475966536&keywords=marketing%20manager",
        "3900000000",
        "4476983365",
        "4300012345",
    ],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("datahamster/linkedin-job-details-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 '{
  "jobs": [
    "https://www.linkedin.com/jobs/view/4476983365/",
    "https://uk.linkedin.com/jobs/view/marketing-manager-at-olympus-recruitment-ltd-4487289211",
    "4487715416",
    "https://www.linkedin.com/jobs/search/?currentJobId=4475966536&keywords=marketing%20manager",
    "3900000000",
    "4476983365",
    "4300012345"
  ],
  "maxItems": 20
}' |
apify call datahamster/linkedin-job-details-scraper --silent --output-dataset

```

## MCP server setup

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