# LinkedIn Jobs Scraper: Full Descriptions, Salary, No Duplicates (`zhtech/linkedin-jobs-scraper`) Actor

Scrape public LinkedIn job listings by keyword, location, geoId, company or search URL. Full description (text + HTML), salary, seniority, employment type, applicants, Easy Apply vs external, workplace type. Strict filters, no duplicates, pay only for delivered jobs. No login.

- **URL**: https://apify.com/zhtech/linkedin-jobs-scraper.md
- **Developed by:** [ZH Tech](https://apify.com/zhtech) (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 $0.30 / 1,000 job with full details

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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 Jobs Scraper: salary, full descriptions, skills match, no agencies

Turn any LinkedIn job search into clean, structured data: title, company, salary, full description, applicants, seniority, job type, Easy Apply or external, workplace type and a **resume skills match score**. Drop staffing agencies and job board reposts with one switch. No LinkedIn account, cookies or login.

You pay only for jobs that are delivered complete. Duplicates, filtered jobs and failed pages are never charged.

### What you get

One row per job. This is a real result from a test run (description shortened):

```json
{
    "jobId": "4492321236",
    "jobUrl": "https://www.linkedin.com/jobs/view/4492321236/",
    "title": "Java Developer",
    "companyName": "Charles Schwab",
    "companyId": "1855",
    "location": "Southlake, TX",
    "workplaceType": "HYBRID",
    "postedAt": "2026-11-21T17:40:53.497Z",
    "postedTimeAgo": "16 hours ago",
    "applicantsCount": 25,
    "applicantsCountType": "FEWER_THAN",
    "employmentType": "Full-time",
    "industries": "Financial Services",
    "salary": { "min": 125000, "max": 155000, "currency": "USD", "period": "YEAR", "source": "linkedin" },
    "applyType": "EXTERNAL",
    "posterType": "EMPLOYER",
    "matchedSkills": ["Java", "Spring Boot", "AWS", "SQL"],
    "missingSkills": ["Kubernetes", "React"],
    "skillsMatchPercent": 67,
    "descriptionText": "Your opportunity\n\nAt Schwab, you're empowered to make an impact on your career ..."
}
```

Export as JSON, CSV, Excel or HTML, or pull it through the API. The full field list is [below](#all-output-fields).

### Why this one

LinkedIn's public job search became fuzzy in 2026. Filters are treated as hints, so many scrapers return jobs that ignore your filters, come from the wrong country, repeat, or have empty descriptions, and still bill every row. This Actor was built around those problems.

| Common problem | What this Actor does |
|---|---|
| "Part-time" or "past 24 hours" filters return the wrong jobs | **Strict filters** check every job against its own job page. Mismatches are dropped and not charged. |
| Unrelated job titles | **Title must contain** and **Exclude titles**, applied before any job page is opened |
| Feed full of recruiters and reposts | **Exclude staffing agencies** and **Exclude job board reposts** (Jobs via Dice, Lensa, Jobright.ai and more). Every row also gets `posterType`. |
| Have to read 200 descriptions to find a fit | **Skills match**: list your skills and every job gets `matchedSkills`, `missingSkills` and `skillsMatchPercent`. Set a minimum to keep only good fits. |
| Can't filter on what the description says | **Description must contain** (for example "visa sponsorship") and **Exclude descriptions containing** (for example "security clearance") |
| Jobs from the wrong place | geoId support, a **Location must contain** filter, and a warning when LinkedIn did not understand your location |
| Duplicates billed twice | Run wide de-duplication by job ID, plus **Skip job IDs** to skip jobs you already have |
| No salary | LinkedIn's pay range when shown, otherwise the pay stated in the description, parsed into min, max, currency and period |
| No remote, hybrid or on-site field | `workplaceType`, with `workplaceTypeSource` so you know how it was found |
| Stuck at about 1,000 results | Big searches are split automatically to go past LinkedIn's per-search limit |
| 429 errors and runs that hang | One shared pacing gate, automatic slow down and IP rotation, and a clean stop with a clear message |

### Use cases

- **Job seekers**: a daily list of new jobs that match your title, location and skills, sorted by skills match, with salary. No agency spam.
- **Recruiters and staffing firms**: see which companies are hiring for the roles you place, how many applicants each job has, and how long it has been open.
- **Sales and lead generation**: hiring is a buying signal. Find companies hiring for roles that need your product, and leave out agencies so every row is a real employer.
- **Salary and labor market research**: structured pay ranges by title, seniority, location and employment type.
- **Job boards and newsletters**: clean, de-duplicated listings with full descriptions, ready to publish or summarize.
- **AI agents and RAG**: clean text descriptions and structured fields an LLM can read without cleanup.

### How to use

1. Enter one or more **job titles or keywords** (for example `data analyst`) and **locations** (for example `Chicago, Illinois`). Every keyword is searched in every location. You can also paste LinkedIn search URLs, single job URLs or job IDs.
2. Optional: set filters (date posted, job type, experience level, workplace type, Easy Apply, salary), add **skills** to score, and switch on **Exclude staffing agencies**.
3. Click **Start**. Download the results or send them to your tools.

Clicking Start with an empty input runs a small example search (data analyst jobs in Chicago, up to 20 jobs), so you can see the output before you configure anything.

#### Example: job seeker with a skills match

```json
{
    "keywords": ["backend engineer"],
    "locations": ["United States"],
    "workplaceTypes": ["remote"],
    "datePosted": "past24h",
    "skills": ["Python", "Go|Golang", "PostgreSQL|Postgres", "Kubernetes|K8s", "AWS"],
    "minSkillsMatchPercent": 60,
    "descriptionExclude": ["security clearance"],
    "excludeStaffingAgencies": true,
    "excludeJobAggregators": true,
    "maxResultsPerSearch": 100
}
```

#### Example: hiring signals for sales (employers only)

```json
{
    "keywords": ["salesforce administrator", "revops"],
    "locations": ["Texas", "Florida"],
    "datePosted": "pastWeek",
    "excludeStaffingAgencies": true,
    "excludeJobAggregators": true,
    "companyNameExclude": ["Salesforce"],
    "maxResultsPerSearch": 200
}
```

#### Example: specific jobs by URL or ID

```json
{
    "startUrls": [{ "url": "https://www.linkedin.com/jobs/view/4479305237/" }],
    "jobIds": ["4484477255"]
}
```

### Pricing

Pay per event: you pay for results, not for run time.

| Event | Free plan | Bronze | Silver | Gold and up |
|---|---|---|---|---|
| Job with full details (per 1,000) | $0.60 | $0.50 | $0.45 | $0.40 |
| Job, listing data only (per 1,000) | $0.20 | $0.15 | $0.15 | $0.15 |
| Run start (once per run) | $0.001 | $0.001 | $0.001 | $0.001 |

Examples: 500 full jobs on the Free plan cost about $0.30. 10,000 full jobs on Gold cost about $4.00.

**Never charged**: duplicates, jobs skipped with "Skip these job IDs", jobs removed by any filter (title, company, location, staffing agency, description, skills, strict checks) and job pages that fail to load. Skills matching and the agency filters cost nothing extra. Set a maximum charge per run in Apify and the Actor stops cleanly when it is reached. The Pricing tab always shows the current prices.

### Tips

- **Exact titles**: LinkedIn's search is fuzzy. Put your core words in "Title must contain".
- **Accurate locations**: use a geoId (the `geoId=` number in a LinkedIn search URL) or "Location must contain" such as `Germany` or `, TX`.
- **Daily job alerts**: schedule the Actor with `datePosted: past24h` and `sortBy: recent`, and pass yesterday's job IDs in "Skip these job IDs" so you only pay for new jobs.
- **Skills with abbreviations**: write alternatives with `|`, for example `Kubernetes|K8s` or `JavaScript|JS`. Matching is whole word, so `JS` does not match `JSON` and `Java` does not match `JavaScript`.
- **Company filter**: run once, copy `companyId` from the output and use it in "Company IDs" for precise company searches.
- **Cheaper bulk lists**: turn off "Scrape full job details" when you only need title, company, location and date.

### Integrations

Every run produces a dataset you can use from anywhere.

**API (cURL)**: run and get the results in one call.

```bash
curl -X POST "https://api.apify.com/v2/acts/zhtech~linkedin-jobs-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords":["nurse"],"locations":["Texas"],"datePosted":"past24h","excludeStaffingAgencies":true,"maxResultsPerSearch":50}'
```

**JavaScript**

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('zhtech/linkedin-jobs-scraper').call({ keywords: ['product manager'], locations: ['Berlin, Germany'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**Python**

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_TOKEN")
run = client.actor("zhtech/linkedin-jobs-scraper").call(run_input={"keywords": ["data engineer"], "locations": ["London, United Kingdom"]})
jobs = list(client.dataset(run["defaultDatasetId"]).iterate_items())
```

**Make, n8n and Zapier**: use the Apify app or node, choose "Run an Actor", pick `zhtech/linkedin-jobs-scraper` and paste your input JSON. Then send each job to Google Sheets, Airtable, Notion, Slack, email or your CRM. A schedule plus "Skip these job IDs" gives you a job alert feed.

**LangChain**: give your agent this Actor as a tool with the `langchain-apify` package.

```python
from langchain_apify import ApifyActorsTool
jobs_tool = ApifyActorsTool("zhtech/linkedin-jobs-scraper")
```

**Apify MCP server (Claude, Cursor, ChatGPT and other AI agents)**: add `https://mcp.apify.com/?actors=zhtech/linkedin-jobs-scraper` as an MCP server and your agent can call this Actor as a tool, for example "find remote junior data jobs posted today that mention visa sponsorship". The clean `descriptionText` and `skillsMatchPercent` fields are ready for summaries, ranking and cover letter drafts.

### All output fields

- `jobId`, `jobUrl`, `title`
- `companyName`, `companyUrl`, `companySlug`, `companyId` (numeric, reusable in the Company IDs filter), `companyLogo`
- `posterType`: `EMPLOYER`, `STAFFING_AGENCY` or `JOB_AGGREGATOR`
- `location`, `workplaceType` (REMOTE, HYBRID, ON_SITE or null), `workplaceTypeSource`
- `postedDate`, `postedAt` (hour accurate for fresh jobs), `postedTimeAgo`, `isReposted`
- `applicantsText`, `applicantsCount`, `applicantsCountType` (EXACT, AT_LEAST, FEWER_THAN)
- `seniorityLevel`, `employmentType`, `jobFunction`, `industries`
- `salary` (`min`, `max`, `currency`, `period`, `source`), `salaryText`, `additionalCompensation`, `benefits`
- `applyType` (EASY_APPLY or EXTERNAL), `easyApply`, `applyUrl`, `isClosed`
- `descriptionText`, `descriptionHtml`
- `matchedSkills`, `missingSkills`, `skillsMatchPercent` (when skills are set)
- `searchKeyword`, `searchLocation`, `searchUrl`, `searchRank`, `detailsStatus`, `scrapedAt`

A `RUN_SUMMARY` record in the key-value store lists how many jobs each filter removed, failed pages and why each search ended.

### FAQ

**Do I need a LinkedIn account or cookies?** No. The Actor reads only LinkedIn's public job pages that anyone can open without logging in. Your own LinkedIn account is never involved.

**Why is `applyUrl` empty for external jobs?** LinkedIn shows the employer's apply link only to logged-in members. This Actor never logs in, so for external jobs `applyType` is `EXTERNAL` and `applyUrl` is null. Open `jobUrl` to apply. For Easy Apply jobs `applyUrl` is the LinkedIn job page.

**How does the staffing agency filter work, and is it perfect?** It uses a list of known agencies (Robert Half, Randstad, TEKsystems, Insight Global, Kforce and many more), name patterns such as "Staffing", "Recruitment" or "Talent Solutions", and jobs whose only LinkedIn industry is "Staffing and Recruiting". It catches most agency posts but not every small agency with a neutral name. Each row's `posterType` shows the result, so you can review it.

**How is the skills match calculated?** Each skill counts once. `skillsMatchPercent` is the share of your skills found in the title or description, rounded. Matching is case insensitive and whole word, and handles names like `C++`, `C#`, `.NET` and `Node.js`. It is a keyword match, not an AI judgment.

**How accurate is `workplaceType`?** LinkedIn hides the remote, hybrid or on-site label from logged-out visitors. The Actor detects it from the title and location (for example "(Remote)") and from clear statements in the description. `workplaceTypeSource` tells you which. When nothing clear is found it is null rather than a guess.

**Why did I get fewer jobs than LinkedIn's count?** LinkedIn's headline count includes loosely related jobs. Strict filters and your own filters remove those, and you are not charged for them. `RUN_SUMMARY` shows how many were removed and why.

**How many jobs can I get?** LinkedIn shows about 1,000 jobs per search. With "Go past LinkedIn's 1,000 result limit" on, big searches are split by experience level and job type. For very large pulls, also split by location.

**What about rate limits (HTTP 429)?** All requests share one pacing gate. On a 429 the run pauses with growing waits, slows down and switches proxy IP. If LinkedIn keeps refusing, the run stops cleanly, keeps everything saved and tells you why.

**Is it legal?** The Actor collects publicly available job postings only, and no personal profiles. You are responsible for using the data in line with LinkedIn's terms and the laws that apply to you, such as GDPR.

### Limitations

- Public job data only. No company About pages, employee counts, hiring manager profiles or external apply links, because LinkedIn shows those only to logged-in members or blocks automated visitors.
- `jobFunction` is often missing on public pages and is then null. Seniority is often "Not Applicable".
- LinkedIn's own search decides which jobs appear. The Actor cannot see jobs that LinkedIn does not return for a search.
- The workplace type filter is sent to LinkedIn as a hint. Strict filters drop clear mismatches but cannot verify jobs that state nothing.

### Support

Open an issue on the Issues tab with your run link and what you expected. Feature requests are welcome.

# Actor input Schema

## `keywords` (type: `array`):

One search per keyword (combined with every location). Example: "data analyst". LinkedIn's search is fuzzy, so use "Title must contain" below for exact title matching.

## `locations` (type: `array`):

City, state, region or country as you would type it on LinkedIn, e.g. "Austin, Texas" or "Germany". For remote jobs use the Workplace type filter. Leave empty for worldwide.

## `geoIds` (type: `array`):

Optional numeric LinkedIn location IDs (the geoId=... number in a LinkedIn search URL). More precise than a location name. Example: 103644278 = United States, 101282230 = Germany.

## `startUrls` (type: `array`):

Paste LinkedIn job search URLs (linkedin.com/jobs/search/?keywords=...) and/or single job URLs (linkedin.com/jobs/view/...). Filters in the URL are kept.

## `jobIds` (type: `array`):

Scrape specific jobs by ID (the long number in a job URL, e.g. 4479305237).

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

Only jobs posted within this window.

## `postedWithinHours` (type: `integer`):

Custom window, overrides "Date posted". Example: 2 for jobs from the last 2 hours. 0 = off.

## `jobTypes` (type: `array`):

Employment type filter.

## `experienceLevels` (type: `array`):

Seniority filter.

## `workplaceTypes` (type: `array`):

On-site, remote or hybrid (sent to LinkedIn's search; see the README for how accurate this is).

## `companyIds` (type: `array`):

Only jobs from these companies (numeric LinkedIn company IDs: the f_C=... value in a search URL, or the companyId field in this Actor's output). Example: 1441 = Google.

## `easyApplyOnly` (type: `boolean`):

Only jobs you can apply to directly on LinkedIn.

## `under10Applicants` (type: `boolean`):

Only jobs with fewer than 10 applicants so far.

## `minSalary` (type: `string`):

LinkedIn's salary filter. Works for US locations.

## `distanceMiles` (type: `integer`):

Search radius around the location, e.g. 10, 25, 50, 100. 0 = LinkedIn default.

## `sortBy` (type: `string`):

Most relevant or most recent first.

## `maxResultsPerSearch` (type: `integer`):

Maximum jobs saved for each keyword + location combination (or each search URL). 0 = as many as LinkedIn shows.

## `maxResults` (type: `integer`):

Hard cap across all searches. 0 = no total cap. You are never charged beyond this.

## `maxJobPagesPerSearch` (type: `integer`):

Safety limit on how many job pages one search may open while looking for jobs that pass your filters. 0 = automatic (10 times "Max jobs per search", at least 50). Jobs that fail filters are never charged, but opening pages takes time.

## `scrapeJobDetails` (type: `boolean`):

On: open each job for the full description, salary, seniority, employment type, industries, applicants and apply type. Off: fast, cheaper listing data only (title, company, location, date).

## `includeDescriptionHtml` (type: `boolean`):

Also keep the original description HTML next to the clean text version.

## `strictFilters` (type: `boolean`):

LinkedIn's search is fuzzy and often ignores filters. When on, each job is checked against your job type, experience level, Easy Apply and date filters using the job page itself, and mismatches are dropped (you are not charged for them).

## `keywordHints` (type: `boolean`):

LinkedIn's public search mostly ignores the job type filter. When you pick exactly one of part-time, contract, temporary, internship or volunteer (or remote / hybrid), that word is added to your keywords so LinkedIn returns far more real matches. Strict filters still verify every job.

## `titleMustInclude` (type: `array`):

Keep only jobs whose title contains at least one of these words or phrases (case-insensitive). Removes unrelated results from LinkedIn's fuzzy search.

## `titleExclude` (type: `array`):

Drop jobs whose title contains any of these, e.g. "senior" or "intern".

## `companyNameInclude` (type: `array`):

Keep only jobs where the company name contains one of these (case-insensitive).

## `companyNameExclude` (type: `array`):

Drop jobs from these companies, e.g. staffing agencies.

## `locationMustInclude` (type: `array`):

Keep only jobs whose location contains one of these, e.g. "Germany" or ", TX". Fixes LinkedIn returning jobs from the wrong country.

## `onlyWithSalary` (type: `boolean`):

Keep only jobs that show pay (LinkedIn pay range or a salary stated in the description).

## `excludeReposted` (type: `boolean`):

Drop jobs LinkedIn marks as reposted.

## `skipJobIds` (type: `array`):

Job IDs you already have (for example from yesterday's run). They are skipped and never charged.

## `autoSplitLargeSearches` (type: `boolean`):

LinkedIn shows at most about 1,000 jobs per search. When a search hits that limit and you asked for more, it is split by experience level (then job type) to reach more jobs. Duplicates are removed.

## `includeIncompleteJobs` (type: `boolean`):

If a job page cannot be loaded after retries, save the listing data anyway with detailsStatus FAILED. These rows are never charged.

## `excludeStaffingAgencies` (type: `boolean`):

Drop jobs posted by recruiters and staffing agencies: known agency names (Robert Half, Randstad, TEKsystems, Insight Global and more), names like "... Staffing" or "... Recruitment", and jobs whose only LinkedIn industry is "Staffing and Recruiting". Checked on the search card first, so no job page is opened for them. Dropped jobs are not charged.

## `excludeJobAggregators` (type: `boolean`):

Drop jobs that job boards repost under their own name, such as "Jobs via Dice", Lensa or Jobright.ai. Not charged.

## `skills` (type: `array`):

Your skills, one per line. Use | for alternatives, e.g. "JavaScript|JS" or "Kubernetes|K8s". Every job gets matchedSkills, missingSkills and skillsMatchPercent (0 to 100), checked against the title and full description. Smart matching: "JS" does not match "JSON", "C++" and ".NET" work.

## `minSkillsMatchPercent` (type: `integer`):

Keep only jobs whose skills match is at least this percentage. 0 = keep all and just score them. Dropped jobs are not charged.

## `descriptionMustInclude` (type: `array`):

Keep only jobs whose title or description mentions at least one of these, e.g. "visa sponsorship", "H-1B" or "401k". Case-insensitive, whole words. Needs full job details.

## `descriptionExclude` (type: `array`):

Drop jobs whose title or description mentions any of these, e.g. "security clearance", "Japanese" or "commission only". Not charged.

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

Proxy for requests. Apify datacenter proxy is a good default. Rate limits (HTTP 429) are handled automatically by slowing down and switching IPs.

## `requestDelayMs` (type: `integer`):

Minimum gap between requests. 0 = automatic (2,000 ms on your own IP, 600 ms with a proxy). The run also slows down by itself when LinkedIn rate limits. Without a proxy at least 1,000 ms is enforced.

## `maxConcurrency` (type: `integer`):

How many job pages may be in flight at once. Pacing still applies.

## `maxRetries` (type: `integer`):

Retries for rate-limited or failed requests, with growing waits.

## Actor input object example

```json
{
  "keywords": [
    "data analyst"
  ],
  "locations": [
    "Chicago, Illinois"
  ],
  "datePosted": "any",
  "postedWithinHours": 0,
  "jobTypes": [],
  "experienceLevels": [],
  "workplaceTypes": [],
  "easyApplyOnly": false,
  "under10Applicants": false,
  "minSalary": "any",
  "distanceMiles": 0,
  "sortBy": "relevance",
  "maxResultsPerSearch": 25,
  "maxResults": 0,
  "maxJobPagesPerSearch": 0,
  "scrapeJobDetails": true,
  "includeDescriptionHtml": true,
  "strictFilters": true,
  "keywordHints": true,
  "onlyWithSalary": false,
  "excludeReposted": false,
  "autoSplitLargeSearches": true,
  "includeIncompleteJobs": false,
  "excludeStaffingAgencies": false,
  "excludeJobAggregators": false,
  "minSkillsMatchPercent": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "requestDelayMs": 0,
  "maxConcurrency": 2,
  "maxRetries": 5
}
```

# 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 = {
    "keywords": [
        "data analyst"
    ],
    "locations": [
        "Chicago, Illinois"
    ],
    "maxResultsPerSearch": 25,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("zhtech/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 = {
    "keywords": ["data analyst"],
    "locations": ["Chicago, Illinois"],
    "maxResultsPerSearch": 25,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("zhtech/linkedin-jobs-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 '{
  "keywords": [
    "data analyst"
  ],
  "locations": [
    "Chicago, Illinois"
  ],
  "maxResultsPerSearch": 25,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call zhtech/linkedin-jobs-scraper --silent --output-dataset

```

## MCP server setup

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