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

Scrape public LinkedIn people profiles by URL. Extract work history, education, skills, contact links, and activity feed for any profile.

- **URL**: https://apify.com/seemuapps/linkedin-profile-scraper.md
- **Developed by:** [Andrew](https://apify.com/seemuapps) (community)
- **Categories:** Social media, Lead generation, Jobs
- **Stats:** 5 total users, 3 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

Extract public LinkedIn people profile data by URL — work history, education, skills, followers, activity feed, and contact links. No login required.

### What you get

- **Full name, headline, location, and bio** — name, city, country, current job title, and about summary
- **Current company** — company name, LinkedIn URL, and office location
- **Work history** — every role with job title, company, location, start/end dates, and description
- **Education** — schools attended with degree, field of study, and dates
- **Languages** — language name and proficiency level
- **Certifications** — name, issuing organization, issue date, and credential ID
- **Followers and connections count**
- **Recent activity feed** — latest posts, shares, comments, and reactions with titles and links
- **Bio links** — personal website, portfolio, or other external links the person has pinned to their profile
- **Recommendations count**
- **Avatar and banner image URLs**

### Use cases

- **Lead generation** — enrich a prospect list with current title, company, and contact details
- **Talent sourcing** — screen candidates by work history and skills before reaching out
- **Competitor intelligence** — monitor the career moves of key people at competing companies
- **Influencer vetting** — verify follower counts and content activity before a partnership
- **Sales research** — understand a prospect's role, background, and recent interests before a call
- **People data enrichment** — append LinkedIn profile data to CRM records using profile URLs

### How to use

1. Paste one or more LinkedIn people profile URLs into the **LinkedIn Profile URLs** field (e.g. `https://www.linkedin.com/in/username`) — up to 20 per run
2. Run the actor — results appear in the **Dataset** tab
3. Export to JSON, CSV, or push directly to Google Sheets or your storage

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `profileURLs` | `string[]` | ✅ | LinkedIn people profile URLs to scrape — maximum 20 per run |

#### Example input

```json
{
  "profileURLs": [
    "https://www.linkedin.com/in/elad-moshe-05a90413/",
    "https://www.linkedin.com/in/aviv-tal-75b81/"
  ]
}
````

### Output

One dataset record per LinkedIn profile URL:

```json
{
  "linkedinId": "aviv-tal-75b81",
  "linkedinNumId": "168695",
  "url": "https://www.linkedin.com/in/aviv-tal-75b81",
  "name": "Aviv Tal",
  "firstName": "Aviv",
  "lastName": "Tal",
  "city": "Israel",
  "countryCode": "IL",
  "headline": "VP Product at Bright Data",
  "about": "I'm a tech executive with a strong background in product, strategy, and business…",
  "avatar": "https://media.licdn.com/dms/image/...",
  "bannerImage": "https://media.licdn.com/dms/image/...",
  "followers": 1092,
  "connections": 500,
  "isInfluencer": false,
  "currentCompany": {
    "id": "bright-data",
    "name": "Bright Data",
    "url": "https://il.linkedin.com/company/bright-data",
    "location": ""
  },
  "experience": [
    {
      "title": "VP Product",
      "company": "Bright Data",
      "companyId": "bright-data",
      "companyLogoUrl": "https://...",
      "location": "Tel Aviv, Israel",
      "startDate": "Jan 2021",
      "endDate": "Present",
      "descriptionHtml": "",
      "url": "https://il.linkedin.com/company/bright-data"
    }
  ],
  "education": [
    {
      "school": "TEL-AVIV UNIVERSITY",
      "schoolId": "tel-aviv-university",
      "schoolLogoUrl": "",
      "degree": "",
      "fieldOfStudy": "",
      "startDate": "2002-10",
      "endDate": "2004-12",
      "url": "https://il.linkedin.com/school/tel-aviv-university/"
    }
  ],
  "languages": [
    { "name": "English", "proficiency": "Full professional proficiency" },
    { "name": "Hebrew", "proficiency": "Native or bilingual proficiency" }
  ],
  "certifications": [],
  "recentActivity": [
    {
      "id": "7394415665358602240",
      "title": "Post or article title text…",
      "link": "https://www.linkedin.com/posts/...",
      "imageUrl": "https://media.licdn.com/dms/image/...",
      "interaction": "Aviv Tal shared this"
    }
  ],
  "bioLinks": [],
  "recommendationsCount": 2
}
```

#### Output fields

| Field | Type | Description |
|---|---|---|
| `linkedinId` | `string` | LinkedIn profile slug (from the URL) |
| `linkedinNumId` | `string` | LinkedIn internal numeric profile ID |
| `url` | `string` | Canonical LinkedIn profile URL |
| `name` | `string` | Full name |
| `firstName` | `string` | First name |
| `lastName` | `string` | Last name |
| `city` | `string` | City or region shown on the profile |
| `countryCode` | `string` | ISO 3166-1 alpha-2 country code |
| `headline` | `string` | Current job title / headline |
| `about` | `string` | Bio / about section text |
| `avatar` | `string` | Profile photo URL |
| `bannerImage` | `string` | Profile banner image URL |
| `followers` | `number` | LinkedIn follower count |
| `connections` | `number` | Connection count (capped at 500 by LinkedIn) |
| `isInfluencer` | `boolean` | Whether LinkedIn has granted the person Influencer status |
| `currentCompany.id` | `string` | LinkedIn company slug |
| `currentCompany.name` | `string` | Company display name |
| `currentCompany.url` | `string` | LinkedIn company page URL |
| `currentCompany.location` | `string` | Office location for the role |
| `experience` | `array` | Full work history — see sub-fields below |
| `experience[].title` | `string` | Job title |
| `experience[].company` | `string` | Company name |
| `experience[].companyId` | `string` | LinkedIn company slug |
| `experience[].companyLogoUrl` | `string` | Company logo image URL |
| `experience[].location` | `string` | Role location |
| `experience[].startDate` | `string` | Start date (e.g. `"Jan 2021"`) |
| `experience[].endDate` | `string` | End date or `"Present"` |
| `experience[].descriptionHtml` | `string` | Role description HTML |
| `experience[].url` | `string` | Company LinkedIn page URL |
| `education` | `array` | Education history — see sub-fields below |
| `education[].school` | `string` | School or university name |
| `education[].schoolId` | `string` | LinkedIn school slug |
| `education[].schoolLogoUrl` | `string` | School logo URL |
| `education[].degree` | `string` | Degree type (e.g. `"Bachelor of Science"`) |
| `education[].fieldOfStudy` | `string` | Major or field of study |
| `education[].startDate` | `string` | Start year/month |
| `education[].endDate` | `string` | End year/month |
| `education[].url` | `string` | LinkedIn school page URL |
| `languages` | `array` | Languages listed on the profile |
| `languages[].name` | `string` | Language name |
| `languages[].proficiency` | `string` | Proficiency level (e.g. `"Full professional proficiency"`) |
| `certifications` | `array` | Professional certifications |
| `certifications[].name` | `string` | Certification name |
| `certifications[].issuingOrganization` | `string` | Issuing body |
| `certifications[].issueDate` | `string` | Date issued |
| `certifications[].credentialId` | `string` | Credential ID |
| `certifications[].url` | `string` | Verification URL |
| `recentActivity` | `array` | Recent posts, shares, and reactions |
| `recentActivity[].id` | `string` | Activity ID |
| `recentActivity[].title` | `string` | Post title or preview text |
| `recentActivity[].link` | `string` | URL to the LinkedIn post |
| `recentActivity[].imageUrl` | `string` | Preview image URL |
| `recentActivity[].interaction` | `string` | How the person interacted (e.g. `"shared this"`, `"commented"`) |
| `bioLinks` | `array` | External links pinned to the profile |
| `bioLinks[].title` | `string` | Link label (e.g. `"Company Website"`, `"I'm hiring!"`) |
| `bioLinks[].url` | `string` | The external URL |
| `recommendationsCount` | `number` | Number of recommendations received |

### Notes

- Only **public** LinkedIn profiles are supported — private profiles will be skipped with an error logged
- `connections` is capped at `500` by LinkedIn for any profile with 500+ connections
- `experience` and `education` availability varies by profile — some users leave these sections empty
- The `about` field may be truncated if LinkedIn shows only a preview on the public page

# Actor input Schema

## `profileURLs` (type: `array`):

One or more LinkedIn people profile URLs to scrape (e.g. https://www.linkedin.com/in/username). Maximum 20 per run.

## Actor input object example

```json
{
  "profileURLs": [
    "https://www.linkedin.com/in/elad-moshe-05a90413/",
    "https://www.linkedin.com/in/aviv-tal-75b81/"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

Each record contains: linkedinId, linkedinNumId, url, name, firstName, lastName, city, countryCode, headline, about, avatar, bannerImage, followers, connections, isInfluencer, currentCompany, experience, education, languages, certifications, recentActivity, bioLinks, recommendationsCount.

# 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/elad-moshe-05a90413/",
        "https://www.linkedin.com/in/aviv-tal-75b81/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/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/elad-moshe-05a90413/",
        "https://www.linkedin.com/in/aviv-tal-75b81/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/linkedin-profile-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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/elad-moshe-05a90413/",
    "https://www.linkedin.com/in/aviv-tal-75b81/"
  ]
}' |
apify call seemuapps/linkedin-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=seemuapps/linkedin-profile-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "LinkedIn Profile Scraper",
        "description": "Scrape public LinkedIn people profiles by URL. Extract work history, education, skills, contact links, and activity feed for any profile.",
        "version": "1.0",
        "x-build-id": "TKiMhAs451w12m5Sd"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/seemuapps~linkedin-profile-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-seemuapps-linkedin-profile-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/seemuapps~linkedin-profile-scraper/runs": {
            "post": {
                "operationId": "runs-sync-seemuapps-linkedin-profile-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/seemuapps~linkedin-profile-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-seemuapps-linkedin-profile-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "profileURLs"
                ],
                "properties": {
                    "profileURLs": {
                        "title": "LinkedIn Profile URLs",
                        "type": "array",
                        "description": "One or more LinkedIn people profile URLs to scrape (e.g. https://www.linkedin.com/in/username). Maximum 20 per run.",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
