# LinkedIn Profile Scraper - Extract Public Profile Data (`scraptivo/linkedin-profile-scraper`) Actor

Scrape public LinkedIn profiles by username or URL. Extract experience, education, certifications, skills, articles, about section, activity, and more.

- **URL**: https://apify.com/scraptivo/linkedin-profile-scraper.md
- **Developed by:** [Scraptivo](https://apify.com/scraptivo) (community)
- **Categories:** Jobs, Lead generation, MCP servers
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 profile scrapeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

**LinkedIn Profile Scraper** collects public LinkedIn profiles by username or URL and turns them into structured data for lead generation, talent research, and CRM enrichment. Provide one or more profile usernames or URLs, run the Actor, and export name, headline, about, location, experience, education, skills, articles, activity, and more to JSON, CSV, Excel, or your preferred integration. Use it to build prospect lists, enrich contact records, and track professional backgrounds at scale. Scraping 1,000 profiles costs $3.

### What can you automate with LinkedIn Profile Scraper?

- **Build targeted lead lists** — pass a list of usernames and export rich profile fields for outreach.
- **Enrich CRM records** — append headline, location, skills, and experience to existing contacts.
- **Research talent pools** — collect work history, education, and skills for recruiting analysis.
- **Monitor professional activity** — capture recent posts and articles for engagement tracking.
- **Batch-process profiles** — scrape multiple profiles in a single run with configurable concurrency.

### Who is this scraper for?

| Team | Workflow |
|---|---|
| Sales and lead-generation teams | Enrich prospect records with up-to-date profile data. |
| Recruiters and talent teams | Pull work history, skills, and education for candidates. |
| Market researchers | Analyze professional backgrounds across a niche. |
| Content and marketing teams | Track posts and articles from key voices. |

### What data can you collect from LinkedIn?

| Data group | Example fields | How it helps |
|---|---|---|
| Identity | name, firstName, lastName, headline, profilePicture, url | Identify and link the profile. |
| About and location | about, location, profileId, disambiguatingDescription | Understand role and geography. |
| Career history | positions\[], education\[], certifications\[], skills\[] | Map experience and qualifications. |
| Engagement | followerCount, connectionCount, activities\[], articles\[], recommendations\[] | Gauge influence and activity. |
| Additional | volunteer\[], languages\[], honors\[], projects\[], publications\[], courses\[] | Fill out the full profile. |

### How to use LinkedIn Profile Scraper

1. Open the Actor in the Scraptivo account.
2. Enter one or more profile usernames or full profile URLs.
3. Set the concurrency level if needed.
4. Run the Actor.
5. Export the dataset to JSON, CSV, Excel, or your integration.

```json
{ "profiles": ["jeffweiner08", "https://www.linkedin.com/in/jeffweiner08"], "concurrency": 3 }
```

### Example workflow

#### Enrich a weekly list of prospects

1. Export a list of LinkedIn profile URLs from your CRM every Monday.
2. Run the Actor on that list.
3. Append headline, location, and skills to each contact.
4. Deduplicate using the stable profile `url` (or `profileId`).

### Automate and integrate your results

- **Schedule** recurring runs to keep CRM records current.
- **Webhooks** after a successful run to trigger enrichment pipelines.
- **Export** to Google Sheets, Make, Zapier, or a database.
- **Deduplicate** using the stable profile `url` or `profileId` field.

```shell
curl "https://api.apify.com/v2/acts/scraptivo~linkedin-profile-scraper/run-sync" -H "Content-Type: application/json" -d '{"profiles":["jeffweiner08"],"concurrency":3}'
```

### Input reference

| Field | Type | Required | Default | What it controls |
|---|---|---:|---|---|
| profiles | array | yes | — | Profile usernames or full profile URLs to scrape. |
| concurrency | integer | no | 3 | Number of profiles to scrape in parallel (1–10). |
| proxyConfiguration | object | no | RESIDENTIAL | Proxy settings; Apify Residential used by default. |

### Output example

```json
{
  "url": "https://www.linkedin.com/in/jeffweiner08",
  "name": "Jeff Weiner",
  "firstName": "Jeff",
  "lastName": "Weiner",
  "headline": "Founding Partner · Founding LP, Investment Committee · Co-Founder",
  "about": "For much of the last three decades, Jeff's focus has been on building purpose-driven companies...",
  "location": "United States",
  "profileId": "22330283",
  "profilePicture": "https://media.licdn.com/dms/image/v2/...",
  "followerCount": 10370542,
  "openToWork": true,
  "disambiguatingDescription": "Creator, Top Voice",
  "positions": [
    { "title": "Founding Partner", "company": "Next Play Ventures", "startDate": "2020-07", "duration": "6 years" }
  ],
  "education": [],
  "skills": [{ "name": "Leadership" }, { "name": "Strategy" }]
}
```

### How much does it cost to scrape LinkedIn?

LinkedIn Profile Scraper uses pay-per-event billing on Apify:

- **$0.003 per profile scraped** (the headline result event).
- **$0.00005 per run** for the actor-start event.

Examples: 100 profiles cost about $0.30; 1,000 profiles cost about $3. Residential proxy traffic is billed separately by Apify according to your plan.

### Reliability and responsible use

- Uses TLS/HTTP2 browser emulation with retry and fallback fetch strategies per profile.
- Only publicly available profile data is returned; private profiles cannot be scraped.
- Some fields (education, certifications, volunteer, etc.) can be empty when a profile does not publish them.
- Scrape only public data and follow LinkedIn's terms of service.

### Frequently asked questions

#### Can I scrape multiple profiles in one run?

Yes. Pass a list of usernames or URLs to `profiles`, and set `concurrency` to control how many are processed in parallel.

#### Can I schedule LinkedIn Profile Scraper to run automatically?

Yes. Use Apify's Scheduler or the API to re-run a profile list on a recurring cadence.

#### What counts as one result?

One successfully scraped profile, regardless of how many fields it returns.

#### Why are some fields empty?

Fields such as `education`, `certifications`, and `connectionCount` are only present when the profile publishes them or makes them publicly visible.

#### Can I scrape private profiles?

No. The Actor returns only information that is publicly visible on a profile without logging in.

#### Do I need a proxy?

Apify Residential proxies are used by default on the platform and are recommended to avoid blocks.

### Related Scraptivo automations

- [LinkedIn Company Scraper](https://apify.com/scraptivo/linkedin-company-scraper) — company profiles and details from LinkedIn.
- [LinkedIn Job Scraper](https://apify.com/scraptivo/linkedin-job-scraper) — job listings from LinkedIn search.
- [Glassdoor Jobs Scraper](https://apify.com/scraptivo/glassdoor-jobs-scraper) — job listings and employer data from Glassdoor.
- [Upwork Jobs Scraper](https://apify.com/scraptivo/upwork-jobs-scraper) — freelance job listings from Upwork.

### Support and custom workflows

Need a different field, source, or delivery workflow? Contact Scraptivo at scraptivo@gmail.com. Include the Actor name, a sample URL, the required fields, and expected volume so we can assess the request.

# Actor input Schema

## `profiles` (type: `array`):

List of LinkedIn profile usernames or full profile URLs to scrape (e.g. "jeffweiner08" or "https://www.linkedin.com/in/jeffweiner08")

## `concurrency` (type: `integer`):

Number of profiles to scrape in parallel. Lower values are safer, higher values are faster.

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

Proxy settings for anti-bot protection. Apify Residential proxies are used by default. Override with custom proxyUrls for local testing.

## Actor input object example

```json
{
  "profiles": [
    "jeffweiner08"
  ],
  "concurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Link to the default dataset containing all scraped profiles

## `run` (type: `string`):

Link to the run in Apify Console

# 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 = {
    "profiles": [
        "jeffweiner08"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraptivo/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 = { "profiles": ["jeffweiner08"] }

# Run the Actor and wait for it to finish
run = client.actor("scraptivo/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 '{
  "profiles": [
    "jeffweiner08"
  ]
}' |
apify call scraptivo/linkedin-profile-scraper --silent --output-dataset

```

## MCP server setup

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