# Work History Scraper by LinkedIn Profile URL (`b2bdata/person-work-history`) Actor

Work history by LinkedIn profile URL: get one row per profile with a newest-first positions list (company, title, start and end month, current flag, duration). Free plan: 100 profiles per run. Pay per profile delivered, misses free. No login or cookies. No skills, education or posts.

- **URL**: https://apify.com/b2bdata/person-work-history.md
- **Developed by:** [Open Enrich](https://apify.com/b2bdata) (community)
- **Categories:** Lead generation, Marketing, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.90 / 1,000 work history delivereds

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

## Work History Scraper by LinkedIn Profile URL

Work history by LinkedIn profile URL: give a list of profile URLs, get one row per person with a newest-first list of positions, each with company, title, start month, end month, a current flag and the duration in months. No login, no cookies. You pay only for a row you receive.

**No login | URLs or slugs in | One row per profile | Newest position first | Month precision | Profiles not on file are free | JSON/CSV export**

> **A career timeline, not an 80-field profile dump.** Full profile scrapers return the work history buried among education, skills and posts. This actor returns only the person and a flat, sorted `positions` list, so the result drops straight into a spreadsheet, a CRM or a job-change check. It does not return emails, education, skills or posts. For the full document use [linkedin-profile-by-url](https://apify.com/b2bdata/linkedin-profile-by-url).

[See all actors by b2bdata](https://apify.com/b2bdata)

***

### 💳 Pricing and plans

One event, `work-history`, charged once per row delivered. Prices per 1,000 rows (set on the Pricing tab):

| Event | When it is charged | Free plan | Gold plan |
|---|---|---|---|
| `work-history` | A row with at least one listed position is delivered to your dataset | $2.496 | $1.896 |

Bronze and Silver prices are on the Pricing tab. Higher Apify plans only lower the price. Profiles not on file, removed profiles, profiles with no listed positions, failed lookups, unreadable entries and notices are free. An empty run costs only the $0.0005 start fee.

**Plan-credit math.** The free plan's $5 monthly credit covers about 2,000 rows at the Free price.

#### Success-only billing

You are charged only for a row that carries a work history. A profile that is not on file, or was removed from the network, gets one free notice row (`reason: "not_found"` or `"profile_removed"`). A profile that is on file but lists no position gets a free notice (`no_work_history`). An entry that is not a profile, a repeat, or a lookup that fails is listed in `MISSES` with its position and a reason and costs nothing.

#### The free plan

Free Apify accounts get up to 100 profiles looked up per run, and as many runs as their Apify credit covers. Nothing is stored on our side. When a list is longer, the first 100 valid profiles are looked up and one free notice row (`reason: "free_plan_limit"`) says how many were not looked up; they are not charged. Run again with the rest, or use a paid Apify plan for no per-run limit.

#### Keep a run small while you test

`limit` (default 100, maximum 10,000) caps the rows delivered and charged in the whole run. Try one profile first, read the row, then scale up.

***

### ⚡ Why this work history actor?

- **Flat and sorted.** `positions` is one list, newest start first, with fixed keys. No nested sections to unpack.
- **Numbers you can filter on.** `current` (true when the profile shows no end date), `durationMonths` and `careerStart` are ready to use.
- **Any spelling of the URL.** `https://www.linkedin.com/in/jane-doe/`, `linkedin.com/in/jane-doe?trk=x` and `jane-doe` are the same profile.
- **Success-only.** Missing, removed and empty profiles are free.

***

### 🎯 Use cases: turn profile URLs into career timelines

- **Candidate screening.** Check tenure and job-hopping across a list of applicants.
- **Sales research.** See a prospect's previous employers before the first message.
- **CRM clean-up.** Fill in current employer and role history for contacts you only hold a profile URL for.
- **Agent workflows.** An AI agent holds a profile URL and needs the person's career in one call.

***

### 🚀 Quick start: work history for a list of profiles

#### 1. One profile

```json
{ "items": ["https://www.linkedin.com/in/satyanadella"], "limit": 1 }
```

#### 2. A list, with position descriptions

```json
{ "items": ["linkedin.com/in/jeffweiner08", "reidhoffman", "https://www.linkedin.com/in/patrickcollison/"], "outputMode": "full" }
```

Each entry becomes its canonical profile URL before the lookup.

***

### ⚙️ Inputs

| Key | Type | Default | What it does |
|---|---|---|---|
| `items` | array of strings | required | LinkedIn profile URLs, `linkedin.com/in/slug` or bare slugs. A person name or a company page is not a profile and is listed in `MISSES` as `invalid_profile`. The same profile written twice is looked up once. Free plan: 100 profiles per run. |
| `limit` | integer | 100 | Most rows delivered in the whole run, which also caps what is charged. Maximum 10,000. Profiles not reached are listed in `MISSES`. |
| `outputMode` | string | `lite` | `lite` or `full`. Full adds the free-text `description` of each position at the same price. |
| `includeAudit` | boolean | false | Adds an `audit` object to each row. |

Any other field stops the run before a lookup with `remove unsupported fields: ...`. Nothing is charged.

***

### 📤 Output

One result row per profile, in input order. Empty values are left out.

| Key | Type | Meaning, and when it is missing |
|---|---|---|
| `profileUrl` | string | Public profile URL |
| `slug` | string | Profile slug |
| `fullName`, `firstName`, `lastName` | string | The person's name |
| `headline` | string | The profile headline. Can be newer or older than `positions` |
| `location` | string | Place on the profile |
| `country` | string | Two-letter country code |
| `connections` | integer | Connection count on the profile |
| `careerStart` | string | Earliest start month among the listed positions, `YYYY-MM` |
| `positionCount` | integer | Number of positions in `positions` |
| `updatedAt` | string | When the profile was last refreshed in the data |
| `positions` | array | The work history, newest start first (see below) |
| `audit` | object | Only with `includeAudit`: `requestId`, `unitsCharged`, `latencyMs`, `inputRaw`, `inputCanonical` |

Each entry of `positions`:

| Key | Type | Meaning, and when it is missing |
|---|---|---|
| `company` | string | Employer name as written on the profile |
| `companyUrl` | string | Company page URL. Missing when the position is not linked to a company page |
| `title` | string | Job title |
| `startDate` | string | Start month, `YYYY-MM`. Missing when the profile gives none |
| `endDate` | string | End month, `YYYY-MM`. Missing for a position with no end date |
| `current` | boolean | `true` when there is a start but no end date. Missing when the position has no dates |
| `durationMonths` | integer | Months from start to end, both included. Only when both dates are known |
| `location` | string | Place of the position, when given |
| `country` | string | Two-letter country code of the position, when given |
| `description` | string | Only with `outputMode: "full"`, and only when the profile has one |

Example output (the shape is real, the values are illustrative):

```json
{
  "profileUrl": "https://www.linkedin.com/in/ann-example",
  "slug": "ann-example",
  "firstName": "Ann",
  "lastName": "Example",
  "fullName": "Ann Example",
  "headline": "Head of Operations at Acme",
  "location": "Dublin, Ireland",
  "country": "IE",
  "connections": 500,
  "careerStart": "2012-12",
  "positionCount": 3,
  "updatedAt": "2026-02-14 06:48:42.238Z",
  "positions": [
    { "company": "Acme", "companyUrl": "https://www.linkedin.com/company/acme", "title": "Head of Operations", "startDate": "2022-06", "current": true, "location": "Dublin, Ireland", "country": "IE" },
    { "company": "Initech", "title": "Analyst", "startDate": "2015-05", "endDate": "2022-05", "current": false, "durationMonths": 85 },
    { "company": "Globex", "companyUrl": "https://www.linkedin.com/company/globex", "title": "Recruiter", "startDate": "2012-12", "endDate": "2015-04", "current": false, "durationMonths": 29 }
  ]
}
```

#### How to read the rows

- **Month precision.** The data holds a start on the 1st and an end on the last day of a month, so only the month is returned. A position shown as 2018-01 to 2018-12 can be a year-only entry on the profile.
- **`current` means no end date.** A person who left a job and never closed it on the profile shows `current: true`. Several positions can be current at once (board seats, advisory roles).
- **The list is what the profile lists.** Older roles and early-career entries can be missing, so a long-serving employee may show fewer positions than their real career. `positionCount` tells you how many came back.
- **Order.** Newest start first. Positions with no start month come last.

***

### 🛡️ Reliable results

We work to keep the data current, and we stand behind it. If a work history looks outdated, a position is missing or a person has moved on, open the Issues tab with your run link. We review every report and sort it out with you, case by case.

- **No data is free and visible.** Every profile without a row is in `MISSES` with its position and a reason and is never charged.
- **Repeats are charged once.** The same profile written twice is one row.
- **Each row is saved as it is delivered.** A run that stops keeps what it already produced.
- **Bounded pace.** Lookups run at about 60 a minute, so 1,000 profiles take about 17 minutes. The run timeout is one hour; a run that gets close to it stops cleanly, lists the profiles it did not reach and charges nothing for them.
- **Typos fail early.** An unsupported input field, a bad `outputMode` or a limit above its maximum stops the run before any charge.

***

### 🤖 For AI agents (MCP)

This actor runs through the Apify MCP server. Prompt to copy:

> "Use b2bdata/person-work-history with items=\["https://www.linkedin.com/in/satyanadella"] and limit=1. Return fullName, headline and positions with company, title, startDate, endDate and current."

**When to use it.** You hold LinkedIn profile URLs and need each person's career history.
**When not to.** You need the full profile with education and skills (use b2bdata/linkedin-profile-by-url), the people at a company (use b2bdata/people-at-company) or a person's contact details (use b2bdata/email-finder).
**Input contract.** `items` array of profile URLs or slugs; optional `limit` 1-10,000 (default 100), `outputMode` `lite` or `full`.
**Output contract.** One row per profile with `profileUrl`, `fullName`, `headline` and `positions`. Output is deterministic and schema-stable. Profiles without data are a free notice row and listed in `MISSES`.
**Smoke test.** `limit: 1` on a well-known profile returns one row.
**Error cases.** `No valid profiles` means no entry was a profile. `remove unsupported fields`, a bad `outputMode` or a bad number ends the run SUCCEEDED with one free `invalid-input` notice row and nothing charged.

***

### 🔌 Integrations: send results anywhere

1. **API.** Fetch rows from the run's default dataset: `GET /v2/datasets/{datasetId}/items?format=json`. `positions` is a nested list, so CSV export keeps it as one cell.
2. **Webhook** on run success to push rows to your own endpoint.
3. **n8n, Make, Zapier.** Use the native Apify nodes: run the actor, then read the dataset.
4. **Google Sheets, Airtable, HubSpot, Salesforce, Clay.** Join on `profileUrl` and map `positions[0].company` and `positions[0].title` to employer and role fields.

***

### 🕐 Schedule examples

- **Monthly job-change check.** A schedule with a saved task that points at your contact list. Compare each run's `positions` with the last one in your own sheet.
- **New-applicant screening.** A webhook from your ATS starts a run with the new profile URLs.

***

### 🔗 Related actors

- `b2bdata/linkedin-profile-by-url`: the full profile for a URL, with headline, location and more. [Open](https://apify.com/b2bdata/linkedin-profile-by-url)
- `b2bdata/people-at-company`: the people at a company domain, one row per person. [Open](https://apify.com/b2bdata/people-at-company)
- `b2bdata/linkedin-person-search`: find a person's profile by name and company. [Open](https://apify.com/b2bdata/linkedin-person-search)
- `b2bdata/email-finder`: a work email for a person at a domain. [Open](https://apify.com/b2bdata/email-finder)

[See all actors by b2bdata](https://apify.com/b2bdata)

***

### ❓ FAQ

#### Data and coverage

**How do I get work experience from a LinkedIn profile URL?**
Put the URL in `items` and run. You get one row with the person and a `positions` list: company, title, start and end month.

**Can I see which job is current?**
Yes. `current` is `true` for a position with a start month and no end date. Check `endDate` too, because a profile that was never updated after a move still shows the old job as current.

**Why does a person show fewer positions than their real career?**
`positions` is what the profile lists. Early-career roles and older entries can be missing. `positionCount` and `careerStart` show what came back.

**Why is a profile missing from the results?**
It is in `MISSES` with a reason: not on file, removed from the network, no listed position, an entry that was not a profile, or a repeat.

**Can I detect job changes over time?**
Run the same list on a schedule and compare `positions` between runs in your own sheet or database. The actor returns the current state; it does not store history.

**Do I get education, skills or email addresses?**
No. Use `b2bdata/linkedin-profile-by-url` for the full profile or `b2bdata/email-finder` for an email.

**Do I need a LinkedIn account or cookies?**
No. It is a lookup without login, cookies or an account to ban.

#### Pricing

**What do I pay when a profile has no data?**
Only the $0.0005 start fee per run. Profiles not on file, removed profiles, empty ones, bad entries, repeats and notices are free.

***

### 🛟 Support

Use the **Issues** tab on this actor's Apify page for bugs, questions and feature requests. We answer within 48 hours on working days. Please include the run ID and the input you used. Published on Apify by b2bdata. Not affiliated with, endorsed by, or sponsored by any company or person named in the examples above.

# Changelog

This Actor's version history is a separate document: https://apify.com/b2bdata/person-work-history/changelog.md

# Actor input Schema

## `items` (type: `array`):

LinkedIn profile URLs to return the work history for. Example: \["https://www.linkedin.com/in/satyanadella", "linkedin.com/in/jeffweiner08", "reidhoffman"]. A bare slug, a URL without https and a URL with a query string are all accepted. A person name or a company page is not a profile and is listed in the MISSES record as invalid_profile. Each profile is looked up once; repeats are listed in MISSES as duplicate_input. A profile not on file, removed, or with no listed positions returns one free notice row. Free plan: 100 profiles per run.

## `limit` (type: `integer`):

Most rows delivered in the whole run, which also caps what is charged. Profiles not reached are listed in MISSES and are not charged. Default 100, maximum 10000.

## `outputMode` (type: `string`):

Full adds the free-text description of each position at the same price. Omit for lite.

## `includeAudit` (type: `boolean`):

Adds requestId, unitsCharged, latencyMs, inputRaw and inputCanonical to each row under audit. Omit for clean rows.

## Actor input object example

```json
{
  "items": [
    "https://www.linkedin.com/in/satyanadella"
  ],
  "limit": 100,
  "outputMode": "lite",
  "includeAudit": false
}
```

# Actor output Schema

## `workHistories` (type: `string`):

One row per profile: name, headline, location, and positions with company, title, start and end month, current flag and duration

## `summary` (type: `string`):

Counts, misses by reason and stop reason for this run

# 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 = {
    "items": [
        "https://www.linkedin.com/in/satyanadella"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("b2bdata/person-work-history").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 = { "items": ["https://www.linkedin.com/in/satyanadella"] }

# Run the Actor and wait for it to finish
run = client.actor("b2bdata/person-work-history").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 '{
  "items": [
    "https://www.linkedin.com/in/satyanadella"
  ]
}' |
apify call b2bdata/person-work-history --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,b2bdata/person-work-history"
        }
    }
}
```

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/jAQgaWiGKCaTL3leT/builds/NkhGIrudH9w1sfbt2/openapi.json
