# 🚀 Linkedin Job Scraper - Ultra Fast and Cheap (`patrickvicente/linkedin-job-scraper---ultra-fast-and-cheap`) Actor

🚀 Fast & Affordable LinkedIn Job Scraper with complete filters & enriched job data - qualifications, application deadline and more. Perfect for job hunters, recruiters and market analysis. Works well with n8n and MCPs

- **URL**: https://apify.com/patrickvicente/linkedin-job-scraper---ultra-fast-and-cheap.md
- **Developed by:** [John Patrick Vicente](https://apify.com/patrickvicente) (community)
- **Categories:** Automation, Jobs, Lead generation
- **Security:** Full permissions
- **Stats:** 142 total users, 1 monthly users, 100.0% runs succeeded, 13 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$0.80 / 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 Job Scraper - Ultra Fast

> **Lightning-fast LinkedIn job scraping with industry-leading performance and comprehensive data extraction**

![Apify Actor Performance](https://i.imgur.com/example1.png)

### ⚡ Performance Highlights

- **⚡ Ultra-Fast**: 398 results in just **2m 14s**
- **💰 Cost-Effective**: Only **$0.081** per 1,000 results
- **🎯 High Accuracy**: Advanced anti-detection mechanisms
- **🤖 AI-Ready**: Perfect for n8n workflows and MCP integrations

### 📊 Performance Comparison

| Metric | Our Scraper | Industry Average |
|--------|-------------|------------------|
| **Speed** | 398 jobs in 2m 14s | 100 jobs in 5-10m |
| **Cost** | $0.80 per 1K results | $1+ per 1K results |
| **Success Rate** | 99%+ | 85-90% |
| **Data Quality** | Rich structured data | Basic text extraction |

### 🎯 Summary Mode

Perfect for **lead generation** and **job hunting** at scale:

- Job titles and companies
- Locations and posting dates
- Direct application links
- Fast bulk extraction
- Ideal for **n8n automation** workflows

![Summary Data Output](https://i.imgur.com/example2.png)

### 🚀 Use Cases

#### 🤖 AI Automation & MCP

- **n8n workflows** for automated job monitoring
- **MCP (Model Context Protocol)** integrations
- **AI-powered** job matching systems
- **Automated lead generation** pipelines

#### 💼 Job Hunting & Recruitment

- **Bulk job discovery** for recruiters
- **Market research** and salary analysis
- **Competitive intelligence** gathering
- **Automated job alerts** and notifications

#### 📈 Business Intelligence

- **Talent market analysis**
- **Salary benchmarking**
- **Industry trend monitoring**
- **Competitor hiring insights**

### ⚙️ Easy Configuration

```javascript
{
  "keywords": "Data Engineer",
  "location": "San Francisco, CA",
  "max_jobs": 100,
  "date_posted": "past week",
  "job_type": ["full-time"],
  "experience_level": ["mid level"],
  "remote_option": ["remote", "hybrid"]
}
```

### 🔧 Advanced Features

- **🛡️ Anti-Detection**: Advanced browser fingerprinting
- **⚡ Concurrency**: Parallel processing for maximum speed
- **🔄 Smart Deduplication**: Persistent job tracking across runs
- **📊 Rich Metadata**: JSON-LD extraction for structured data
- **🌐 Global Support**: Multi-location and multi-language
- **🔒 Reliable**: Built-in retry mechanisms and error handling

### 🚫 Persistent Deduplication

**Never scrape the same job twice!** Our advanced deduplication system uses persistent key-value stores to remember job IDs across multiple runs.

#### ✨ How It Works

1. **Persistent Storage**: Job IDs are stored in a named key-value store (`linkedin-job-scraper---ultra-fast-and-cheap`)
2. **Cross-Run Memory**: Previous job IDs are automatically loaded at the start of each run
3. **Smart Filtering**: New jobs are filtered against existing IDs before scraping
4. **Clean Data**: Ensures you only get fresh, unique job listings

#### 🎯 Perfect For

- **Recurring Automation**: Set up daily/weekly job monitoring without duplicates
- **n8n Workflows**: Maintain clean datasets across automated runs
- **Lead Generation**: Build comprehensive job databases without repetition
- **Market Research**: Track job trends over time with unique entries

#### ⚙️ Configuration

```javascript
{
  "keywords": "Software Engineer",
  "location": "Remote",
  "avoid_duplicates": true,  // Enable persistent deduplication
  "max_jobs": 500
}
```

#### 📊 Benefits

- **🔄 Zero Duplicates**: 100% unique job listings
- **⚡ Faster Processing**: Skip already-seen jobs immediately
- **💰 Cost Efficient**: No wasted resources on duplicate scraping
- **📈 Clean Data**: Perfect for analytics and reporting
- **🤖 Automation Ready**: Ideal for recurring workflows

#### 🔍 Access Your Data

- **Apify Console**: View stored job IDs in Key-value stores
- **Local Development**: Data stored in `data/linkedin-job-scraper---ultra-fast-and-cheap.json`
- **API Access**: Retrieve deduplication data via Apify API

### 💡 Integration Examples

#### n8n Workflow

```javascript
// Automate job alerts with n8n
{
  "trigger": "LinkedIn Job Scraper",
  "filter": "salary > 100000",
  "action": "Send Slack notification"
}
```

# Actor input Schema

## `start_urls` (type: `array`):

Optional: You need to open an incognito window and search for the job you want to scrape. Then copy the URL and paste it here. Note that we will use the keywords after scraping the start URLs

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

Enter job keywords, titles, or skills to search for (e.g., 'software engineer', 'data scientist', 'marketing manager')

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

Enter the location where you want to find jobs (e.g., 'San Francisco, CA', 'New York, NY', 'Remote')

## `job_type` (type: `array`):

Select the job types you're interested in

## `experience_level` (type: `array`):

Select the experience levels you're interested in

## `date_posted` (type: `string`):

Filter jobs by when they were posted

## `max_jobs` (type: `integer`):

Limit the number of jobs to scrape

## `avoid_duplicates` (type: `boolean`):

Enable persistent job tracking to skip already scraped jobs across multiple runs. Uses a named key-value store to remember job IDs, ensuring you never scrape the same job twice. Perfect for recurring automation workflows and maintaining clean datasets. Data persists in Apify Console > Key-value stores.

## Actor input object example

```json
{
  "start_urls": [
    {
      "url": "https://www.linkedin.com/jobs/search?keywords=Sales&location=Melbourne&geoId=100992797&distance=25&f_TPR=&f_JT=P%2CC%2CT&position=1&pageNum=0"
    }
  ],
  "max_jobs": 100,
  "avoid_duplicates": false
}
```

# 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 = {
    "start_urls": [
        {
            "url": "https://www.linkedin.com/jobs/search?keywords=Sales&location=Melbourne&geoId=100992797&distance=25&f_TPR=&f_JT=P%2CC%2CT&position=1&pageNum=0"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("patrickvicente/linkedin-job-scraper---ultra-fast-and-cheap").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 = { "start_urls": [{ "url": "https://www.linkedin.com/jobs/search?keywords=Sales&location=Melbourne&geoId=100992797&distance=25&f_TPR=&f_JT=P%2CC%2CT&position=1&pageNum=0" }] }

# Run the Actor and wait for it to finish
run = client.actor("patrickvicente/linkedin-job-scraper---ultra-fast-and-cheap").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 '{
  "start_urls": [
    {
      "url": "https://www.linkedin.com/jobs/search?keywords=Sales&location=Melbourne&geoId=100992797&distance=25&f_TPR=&f_JT=P%2CC%2CT&position=1&pageNum=0"
    }
  ]
}' |
apify call patrickvicente/linkedin-job-scraper---ultra-fast-and-cheap --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,patrickvicente/linkedin-job-scraper---ultra-fast-and-cheap"
        }
    }
}
```

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/4NagaIHzI0lwMxdrI/builds/VbZTtSSqMH4Btu7IS/openapi.json
