# LinkedIn Profile Scraper (`true-data/linkedin-profile-scraper`) Actor

\[$3.50/1k profiles] 🔥 Scrape public LinkedIn profiles by URL: name, headline, location, about, company, full experience, education, followers. ✅ No login or cookies ✅ Failed profiles never charged ✅ Results in ~1 min per 100. Export JSON, CSV, Excel.

- **URL**: https://apify.com/true-data/linkedin-profile-scraper.md
- **Developed by:** [True Data](https://apify.com/true-data) (community)
- **Categories:** Lead generation, Social media, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 profile 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

### 🔎 What is LinkedIn Profile Scraper?

**LinkedIn Profile Scraper** turns a list of LinkedIn profile URLs into clean, structured data: name, headline, current company, full work experience, education, location, followers and more.

- 🔓 **No login, no cookies.** Your LinkedIn account is never used or put at risk.
- 💸 **$3.50 per 1,000 profiles.** Down to **$2.50** on Business plans.
- ✅ **Failed profiles are free.** Private, deleted, mistyped or duplicate URLs are never charged.
- 🛑 **Budget-safe.** The run stops at your **Max cost per run** and never scrapes more than you pay for.
- ⚡ **Fast.** About 1 minute per 100 profiles, 2 batches in parallel.
- 📦 **Any format.** JSON, CSV, Excel, HTML, or straight from the API.

#### What data does LinkedIn Profile Scraper extract?

| 👤 Identity | 💼 Career | 🎓 Background | 📈 Reach |
|---|---|---|---|
| Full name | Headline | Education | Followers |
| First / last name | Current company | Honors & awards | Connections |
| City, country | Company ID & title | About section | Influencer flag |
| Profile photo | Full experience history | Bio links | Recent posts |
| Banner image | Start / end dates | | Recent activity |
| LinkedIn IDs | Job descriptions | | People also viewed |

> ⚠️ **Only public data.** Fields a person hides on their public profile come back empty. Emails and phone numbers are **not** included.

### 💰 How much does it cost?

You pay only for profiles that are actually delivered. Price depends on your Apify plan:

| Apify plan | Price per 1,000 profiles |
|---|---|
| Free | $3.50 (try up to 10 profiles) |
| Starter | **$3.50** |
| Scale | **$3.00** |
| Business and higher | **$2.50** |

Plus a flat **$0.005 per run**. Platform usage is included, so there are no surprise compute bills.

> 💡 **Example:** 10,000 profiles on the Starter plan = 10 × $3.50 = **$35.00**. If 400 of them are dead links, you pay for 9,600 = **$33.60**.

### 🚀 How to scrape LinkedIn profiles

1. Click **Try for free** (or **Start**).
2. Paste LinkedIn profile URLs into **Profile URLs**, one per line.
3. Optional: set **Max profiles**, or **Max cost per run** in the run options.
4. Click **Start** and watch progress in the status bar: `Scraped 300/1000 profiles…`
5. Open the **Output** tab and download your data.

> 💡 **Big lists welcome.** Put thousands of URLs in a single run. They are split into batches of 100 automatically.

### ⬇️ Input

| Field | Type | Required | Description |
|---|---|---|---|
| `profileUrls` | array | ✅ | LinkedIn profile URLs. Any format works: with or without `https://` or `www.`, a trailing `/`, or a country subdomain like `uk.linkedin.com`. Duplicates and non-profile links are removed automatically and never charged. |
| `maxProfiles` | integer | – | Stop after this many profiles. Leave empty to scrape all. |

```json
{
  "profileUrls": [
    "https://www.linkedin.com/in/satyanadella/",
    "linkedin.com/in/williamhgates"
  ],
  "maxProfiles": 100
}
```

### ⬆️ Output

Each profile is one row in the dataset. View it as a table in the **Output** tab, or export it as JSON, CSV, Excel or HTML.

```json
{
  "name": "Satya Nadella",
  "first_name": "Satya",
  "last_name": "Nadella",
  "position": "Chairman and CEO at Microsoft",
  "city": "Redmond, Washington, United States",
  "country_code": "US",
  "about": "As chairman and CEO of Microsoft, I define my mission…",
  "current_company": {
    "name": "Microsoft",
    "company_id": "microsoft",
    "title": "Chairman and CEO",
    "location": "Greater Seattle Area"
  },
  "experience": [
    {
      "title": "Chairman and CEO",
      "company": "Microsoft",
      "location": "Greater Seattle Area",
      "start_date": "Feb 2014",
      "end_date": "Present"
    }
  ],
  "education": [
    {
      "title": "The University of Chicago Booth School of Business",
      "start_year": "1994",
      "end_year": "1996"
    }
  ],
  "followers": 12297268,
  "connections": 500,
  "people_also_viewed": [
    { "name": "Tony Bates", "profile_link": "https://www.linkedin.com/in/tony-bates-679227a5" }
  ],
  "linkedin_id": "satyanadella",
  "inputUrl": "https://www.linkedin.com/in/satyanadella/"
}
```

#### All output fields

| Field | Description |
|---|---|
| `name`, `first_name`, `last_name` | Full name and its parts |
| `position` | Headline under the name |
| `city`, `location`, `country_code` | Location as shown on the profile, ISO country code |
| `about` | Full About section |
| `current_company` | `name`, `company_id`, `title`, `location` |
| `experience[]` | Title, company, location, start and end date, description |
| `education[]` | School, school URL, start and end year, description |
| `honors_and_awards[]` | Awards listed on the profile |
| `bio_links[]` | Links the person added to their profile |
| `followers`, `connections` | Audience numbers |
| `posts[]`, `activity[]` | Recent public posts and activity, with links |
| `people_also_viewed[]`, `similar_profiles[]` | Related profiles, great for finding more leads |
| `avatar`, `banner_image`, `default_avatar` | Image URLs; `default_avatar` is `true` when there is no real photo |
| `influencer`, `memorialized_account` | `true` / `false` |
| `id`, `linkedin_id`, `linkedin_num_id`, `url` | LinkedIn identifiers and canonical URL |
| `inputUrl` | The LinkedIn URL this row was scraped from (normalized) |

### 🎯 Use cases

| | Who | What they do with it |
|---|---|---|
| 🤝 | **Sales teams** | Enrich lead lists with job title, company and location before outreach |
| 🧑‍💼 | **Recruiters** | Pull experience and education to build candidate shortlists |
| 🗂️ | **CRM owners** | Keep job titles and companies up to date |
| 📊 | **Analysts** | Map who works where, in which roles, across companies |
| 🤖 | **AI agents** | Look up a person's background on demand via API or MCP |

### 🔌 Integrations and API

Connect LinkedIn Profile Scraper to **Make, Zapier, n8n, Google Sheets, Slack, webhooks** and more from the **Integrations** tab, or put it on a **schedule**.

Run it and get results in one call (get your token in **Console → Settings → API & Integrations**):

```bash
curl -X POST "https://api.apify.com/v2/acts/true-data~linkedin-profile-scraper/run-sync-get-dataset-items?token=<APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"profileUrls": ["https://www.linkedin.com/in/satyanadella/"]}'
```

Ready-made code for **JavaScript, Python, CLI, OpenAPI and MCP** is on the **API** tab.

> 💡 **AI agents:** this Actor works out of the box with the [Apify MCP server](https://mcp.apify.com) in Claude, Cursor and other MCP clients.

### ❓ FAQ

#### Do I need a LinkedIn account or cookies?

No. You only provide profile URLs. No login, no cookies, no browser extension.

#### Why are some profiles missing from my results?

The profile is private, deleted, or the URL is mistyped. Those are skipped and **not charged**. The run log shows how many.

#### My links look like linkedin.com/in/ACoAA… or come from Sales Navigator

Those are internal LinkedIn IDs (from Sales Navigator or CRM exports), not public profile URLs. They are skipped and **not charged**. Use the public profile URL instead: `https://www.linkedin.com/in/<name>/`.

#### Does it return emails or phone numbers?

No. It returns public profile data only.

#### What happens when my budget runs out?

The run stops cleanly. Everything scraped so far stays in your dataset and you pay only for that.

#### Can I scrape company pages or LinkedIn search results?

Not with this Actor. It accepts profile URLs (`linkedin.com/in/…`) only.

#### Is it legal to scrape LinkedIn profiles?

This Actor collects publicly available data only. You are responsible for how you use it, including compliance with data-protection laws such as GDPR when you process personal data.

#### I found a bug or need a feature

Open an issue on the **Issues** tab. We usually reply within a few hours.

# Actor input Schema

## `profileUrls` (type: `array`):

LinkedIn profile URLs, e.g. https://www.linkedin.com/in/satyanadella/. Duplicates and non-profile URLs are skipped and never charged.

## `maxProfiles` (type: `integer`):

Stop after this many profiles. Leave empty for all. Free Apify plan: up to 10 profiles in total.

## Actor input object example

```json
{
  "profileUrls": [
    "https://www.linkedin.com/in/satyanadella/"
  ]
}
```

# Actor output Schema

## `profiles` (type: `string`):

Scraped LinkedIn profiles (JSON, CSV, Excel via dataset export).

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

// Run the Actor and wait for it to finish
const run = await client.actor("true-data/linkedin-profile-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 = { "profileUrls": ["https://www.linkedin.com/in/satyanadella/"] }

# Run the Actor and wait for it to finish
run = client.actor("true-data/linkedin-profile-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 '{
  "profileUrls": [
    "https://www.linkedin.com/in/satyanadella/"
  ]
}' |
apify call true-data/linkedin-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,true-data/linkedin-profile-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/EYdkXptbqvoR4OajH/builds/wzcRp7GecYobMumo0/openapi.json
