# LinkedIn Job Demand & Salary Index (`crawlyth-forge/linkedin-job-demand-salary-index`) Actor

Turn public LinkedIn job search into labour-market metrics per keyword and location: open-role counts, 24-hour and weekly new postings, hiring-company concentration, seniority mix and disclosed pay percentiles. No login.

- **URL**: https://apify.com/crawlyth-forge/linkedin-job-demand-salary-index.md
- **Developed by:** [crawlyth forge](https://apify.com/crawlyth-forge) (community)
- **Categories:** Jobs, Automation, 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.49 / 1,000 results

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 Demand & Salary Index

Turn **public LinkedIn job search** into labour-market numbers instead of another list of job rows. Give the actor role keywords and locations, and it returns open-role counts, 24-hour and 7-day new-posting counts, hiring-company shares, seniority and employment-type mix, and disclosed salary percentiles for each keyword x location cell. A second mode benchmarks companies and tracks hiring velocity between runs. No login, no cookies.

### What this actor does

- **Market cells:** one row per keyword x location, with LinkedIn's own open-role count (exact or `1,000+` / `7,000+` lower bound).
- **Freshness counts:** separate 24-hour and 7-day new-posting counts for the same cell, read from LinkedIn's time-posted search.
- **Who is hiring:** top employers and top locations from the collected postings, with counts and shares.
- **Role quality:** seniority, employment-type and industry mix from opened postings, plus remote and actively-hiring shares.
- **Pay benchmarks:** disclosed salary percentiles (P10/P25/median/P75/P90, min/max) normalised to yearly pay and grouped by currency.
- **Company mode:** open roles, hiring-velocity score, and new/disappeared job IDs compared with the previous run of the same company.
- **History:** market counts and company job IDs are kept between runs, so each row can report changes since the last observation.
- **Empty fields are omitted** — there are no null placeholders to clean up.

### Modes and coverage

| Mode | Row | What it answers |
|---|---|---|
| `marketIndex` (default) | One per keyword x location | How large is this role market, how fresh is it, who is hiring, and what does it pay? |
| `companyBenchmark` | One per company | How many roles does this employer have open, how fast is it hiring, and what appeared or disappeared since last run? |

Locations can be countries, regions, cities, or a LinkedIn geoId. Free-text places are resolved against LinkedIn's own place suggestions; a location that LinkedIn cannot read is not silently treated as the United States. Keywords and locations work in any language. The actor always asks for English job-detail labels so the mixes stay comparable across markets.

### Output per market cell (`mode = marketIndex`)

- `recordType`, `mode`, `keyword`, `location`, `linkedinPlace`, `geoId`, `searchUrl`, `timePosted`
- `openRoles`, `openRolesDisplay`, `openRolesIsLowerBound` — LinkedIn's count above the results; `true` when it is a floor such as `7,000+`
- `newRoles24h`, `newRoles7d` (and their display/lower-bound fields) — counts from LinkedIn's past-24-hours and past-week search
- `sampledJobs`, `sampledDetails`, `sampleCapped` — how much evidence the shares are based on
- `topCompanies[]` — `companyName`, `jobs`, `share`, `companyUrl`, `companyId`
- `topTitles[]` — raw posting titles with counts and shares
- `topLocations[]` — posting locations with counts and shares
- `seniorityMix[]`, `employmentTypeMix[]`, `industryMix[]` — `level` / `employmentType` / `industry`, `jobs`, `share`
- `remoteInTitleOrLocation`, `hybridInTitleOrLocation`, `remoteShare`, `activelyHiringShare`
- `salary` — `sampledDetails`, `disclosedJobs`, `disclosedShare`, and `currencies[]` with `currency`, `jobs`, `minYearly`, `p10Yearly`, `p25Yearly`, `medianYearly`, `p75Yearly`, `p90Yearly`, `maxYearly`
- `previousObservedAt`, `openRolesChange`, `newRoles24hChange`, `newRoles7dChange`, `newCompaniesSincePreviousRun`
- `observedAt`

### Output per company (`mode = companyBenchmark`)

- `recordType`, `mode`, `companyName`, `companyId`, `companyUrl`, `searchUrl`
- `openRoles`, `openRolesDisplay`, `openRolesIsLowerBound`, `newRoles24h`, `newRoles7d` and their display/lower-bound fields
- `hiringVelocityScore` — 0-100, the share of open roles posted in the last 7 days; `hiringVelocityIsApproximate` is `true` when either count behind the score is a floor
- `sampledJobs`, `sampledDetails`, `sampleCapped`
- `topLocations[]`, `seniorityMix[]`, `employmentTypeMix[]`, `industryMix[]`
- `remoteInTitleOrLocation`, `remoteShare`
- `salary` — the same per-currency yearly percentiles as market mode
- `newSampledJobIds`, `disappearedSampledJobIds`, `previousObservedAt` — job-ID changes within the sampled postings
- `observedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `marketIndex` | `marketIndex` or `companyBenchmark` |
| `keywords` | array | – | Role or skill keywords (mode=marketIndex) |
| `locations` | array | – | Countries, regions, cities or `geoId:103644278`; empty means Worldwide (mode=marketIndex) |
| `companies` | array | – | Company names, LinkedIn company URLs/slugs or numeric IDs (mode=companyBenchmark) |
| `timePosted` | string | `any` | Market-cell base count window: `any`, `24h`, `3d`, `week`, `month`; company benchmarks always count all open roles |
| `easyApply` | boolean | `false` | Restrict to Easy Apply postings |
| `under10Applicants` | boolean | `false` | Restrict to postings with fewer than 10 applicants |
| `companyIds` | array | – | Numeric company IDs to restrict every market cell (mode=marketIndex) |
| `maxCells` | integer | `50` | Hard cap on output rows (1-200) |
| `maxSampledJobsPerCell` | integer | `60` | Search-result cards collected per cell (10-200) |
| `maxJobDetailsPerCell` | integer | `20` | Postings opened for seniority and salary (0-100); 0 disables enrichment |
| `topCompaniesCount` | integer | `10` | Employers listed per market cell (1-20) |
| `includeSalaryStats` | boolean | `true` | Compute disclosed-salary percentiles |

### Examples

#### Example: two roles in three European markets, last 7 days

```json
{
  "mode": "marketIndex",
  "keywords": ["data engineer", "site reliability engineer"],
  "locations": ["Germany", "United Kingdom", "Netherlands"],
  "timePosted": "week",
  "maxSampledJobsPerCell": 60,
  "maxJobDetailsPerCell": 20,
  "topCompaniesCount": 10
}
```

#### Example: US remote-friendly market with pay benchmarks

```json
{
  "mode": "marketIndex",
  "keywords": ["customer support specialist"],
  "locations": ["United States"],
  "easyApply": true,
  "maxSampledJobsPerCell": 100,
  "maxJobDetailsPerCell": 40,
  "includeSalaryStats": true
}
```

#### Example: benchmark employers and their hiring velocity

```json
{
  "mode": "companyBenchmark",
  "companies": [
    "Amazon",
    "https://www.linkedin.com/company/microsoft",
    "1586"
  ],
  "maxSampledJobsPerCell": 100,
  "maxJobDetailsPerCell": 30
}
```

#### Example: one city, one skilling keyword, no detail sample

```json
{
  "mode": "marketIndex",
  "keywords": ["kubernetes"],
  "locations": ["Berlin, Germany"],
  "maxSampledJobsPerCell": 20,
  "maxJobDetailsPerCell": 0
}
```

### Use cases

- **Recruiters and talent teams** — compare demand for a role across cities and countries before opening a requisition.
- **Compensation analysts** — use the disclosed-salary percentiles as a directional pay benchmark, with the sample size and fill rate stated.
- **Market researchers and newsletter writers** — track open-role counts and 24-hour/7-day freshness on a schedule; history fields show what moved.
- **Sales and partnerships** — companies with many fresh postings are actively spending on hiring; use the company mode as a ranked target list.
- **Job seekers and career switchers** — see which employers dominate a role in a location and what share of postings state pay.
- **Workforce planners** — monitor seniority and employment-type mix shifts in a market over successive runs.

### Notes and honest limits

- **Counts above LinkedIn's display cap are floors.** LinkedIn shows values such as `1,000+` or `10,000+`; the actor flags those with `...IsLowerBound: true` instead of inventing an exact total. Smaller windows often return exact counts.
- **The public list is capped.** LinkedIn serves anonymous visitors a limited slice of each search. Company, title and location lists are shares of the postings actually collected (`sampledJobs`), not of the whole market.
- **Facet filters are not all available.** LinkedIn's public search honours time posted, Easy Apply, under-10-applicants and company IDs. It ignores workplace type, seniority, job type, industry and salary-band filters for signed-out visitors, so those are reported as sample mixes rather than exact per-facet counts.
- **Remote is a floor.** The public list has no workplace-type field; `remoteInTitleOrLocation` counts postings whose title or location says Remote (excluding "remote sensing"), and hybrid is counted the same way. The remaining postings are unclassified, not necessarily on-site.
- **Pay is only what employers disclose.** Salary percentiles cover postings with a parseable employer pay range or a clearly labelled range in the description. `disclosedShare` tells you how much of the detail sample stated pay. Currency groups are never mixed.
- **Job-ID changes are sample-based.** `newSampledJobIds` and `disappearedSampledJobIds` compare the postings collected in the current run with the previous run of the same company; they are not a complete churn list for the employer.

### FAQ

#### Is any login or LinkedIn account needed?

No. The actor reads only public LinkedIn job-search pages and job postings, with no login, cookies or user credentials.

#### Why does a count end with a plus sign?

LinkedIn stops displaying exact totals above a cap and shows a floor such as `7,000+`. The numeric field holds the floor and the lower-bound flag tells you not to treat it as exact. Splitting a cell into narrower keywords or locations usually produces exact counts.

#### Why are some seniority or employment-type values "Not Applicable"?

That is LinkedIn's own label on the posting. The actor reports what the page says and does not infer a level the employer did not provide.

#### Why is the salary sample sometimes empty?

Pay disclosure varies by country, employer and role. The actor reports `disclosedShare` so you can see whether the percentile block is representative. It never estimates a missing salary.

#### Do market counts change between runs?

Yes. LinkedIn's inventory changes continuously; the history fields report changes only when both observations are exact counts. Use a fixed schedule and the same cell settings for comparable trends.

#### Can I track many markets in one run?

Yes. Put all keywords and locations in one run; `maxCells` caps the output. The actor keeps one history entry per cell, so adding a cell later does not disturb the others.

#### What does the company hiring-velocity score mean?

It is the percentage of the company's current open roles that were posted in the last 7 days. A high value means a large share of the employer's inventory is fresh. When either the open-role count or the 7-day count is a floor, the score is marked approximate.

#### Does the actor store anything between runs?

Only the market counts and sampled company job IDs used for change tracking. They are kept in the run's key-value store; no personal data is read or stored.

#### Is this affiliated with LinkedIn?

No. It is a third-party actor that reads publicly visible job-search pages.

# Actor input Schema

## `mode` (type: `string`):

marketIndex builds one row per keyword x location cell; companyBenchmark builds one row per company with sample diffing against the previous run.

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

(mode=marketIndex) Role or skill keywords, one search per keyword x location. Example: "data engineer".

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

(mode=marketIndex) Countries, regions or cities in any language or a LinkedIn geoId (e.g. "Germany", "New York, NY", "geoId:103644278"). An unrecognised location that LinkedIn silently replaces is re-resolved, or skipped with a warning.

## `companies` (type: `array`):

(mode=companyBenchmark) Company names, LinkedIn company URLs/slugs, or numeric company IDs. Example: "Amazon" or "https://www.linkedin.com/company/microsoft".

## `timePosted` (type: `string`):

(mode=marketIndex) Base open-role count window. Company benchmarks always count all open roles and report 24-hour and 7-day counts separately. The actor always reports 24-hour and 7-day market counts separately.

## `easyApply` (type: `boolean`):

Restrict counts and samples to postings accepting Easy Apply.

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

Restrict counts and samples to postings with fewer than 10 applicants at query time.

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

(mode=marketIndex) Optional numeric LinkedIn company IDs; every cell is then restricted to those employers.

## `maxCells` (type: `integer`):

Hard cap on output rows (keyword x location cells, or companies).

## `maxSampledJobsPerCell` (type: `integer`):

How many search-result cards to collect per cell, from 10 to 200. They feed the company, location, workplace and posting-age shares.

## `maxJobDetailsPerCell` (type: `integer`):

How many sampled postings to open for seniority, employment type, industry and disclosed salary. 0 disables detail enrichment.

## `topCompaniesCount` (type: `integer`):

How many hiring companies to list per market cell.

## `includeSalaryStats` (type: `boolean`):

Compute disclosed-salary percentiles from sampled postings. Turn off to skip salary parsing.

## Actor input object example

```json
{
  "mode": "marketIndex",
  "keywords": [
    "data engineer"
  ],
  "locations": [
    "Germany"
  ],
  "companies": [
    "Amazon"
  ],
  "timePosted": "any",
  "easyApply": false,
  "under10Applicants": false,
  "companyIds": [],
  "maxCells": 1,
  "maxSampledJobsPerCell": 20,
  "maxJobDetailsPerCell": 5,
  "topCompaniesCount": 5,
  "includeSalaryStats": true
}
```

# Actor output Schema

## `indexRows` (type: `string`):

Dataset containing one row per keyword x location cell or per benchmarked company.

# 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 = {
    "mode": "marketIndex",
    "keywords": [
        "data engineer"
    ],
    "locations": [
        "Germany"
    ],
    "companies": [
        "Amazon"
    ],
    "timePosted": "any",
    "easyApply": false,
    "under10Applicants": false,
    "maxCells": 1,
    "maxSampledJobsPerCell": 20,
    "maxJobDetailsPerCell": 5,
    "topCompaniesCount": 5,
    "includeSalaryStats": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlyth-forge/linkedin-job-demand-salary-index").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 = {
    "mode": "marketIndex",
    "keywords": ["data engineer"],
    "locations": ["Germany"],
    "companies": ["Amazon"],
    "timePosted": "any",
    "easyApply": False,
    "under10Applicants": False,
    "maxCells": 1,
    "maxSampledJobsPerCell": 20,
    "maxJobDetailsPerCell": 5,
    "topCompaniesCount": 5,
    "includeSalaryStats": True,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlyth-forge/linkedin-job-demand-salary-index").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 '{
  "mode": "marketIndex",
  "keywords": [
    "data engineer"
  ],
  "locations": [
    "Germany"
  ],
  "companies": [
    "Amazon"
  ],
  "timePosted": "any",
  "easyApply": false,
  "under10Applicants": false,
  "maxCells": 1,
  "maxSampledJobsPerCell": 20,
  "maxJobDetailsPerCell": 5,
  "topCompaniesCount": 5,
  "includeSalaryStats": true
}' |
apify call crawlyth-forge/linkedin-job-demand-salary-index --silent --output-dataset

```

## MCP server setup

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

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/gmMiPKO1t4XjZ9Rhh/builds/b1eYphLvn1vAyOECd/openapi.json
