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

Scrape public LinkedIn people profiles with no login or cookies: name, location, followers, connections, about, photo, experience, education, certifications, publications, services, websites and optional recent posts.

- **URL**: https://apify.com/goat255/linkedin-profile-scraper.md
- **Developed by:** [Goutam Soni](https://apify.com/goat255) (community)
- **Categories:** Lead generation, Business, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 profiles

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

## LinkedIn Profile Scraper

### What it does

Reads public LinkedIn people profiles and returns one row per person, with no login, no cookies and no account of your own at risk. Use it for lead research, recruiting lists and CRM enrichment.

### Read this first: `dataLevel`

LinkedIn does not show every profile the same way to a reader who is not logged in. Each row tells you which view you got:

- **`full`**: LinkedIn showed the whole public profile. You get the headline, current job titles, job titles and dates for each role, and the full About text.
- **`limited`**: LinkedIn hides part of the profile. You still get the name, location, followers, connections, photo, the companies the person worked at, schools, and certifications when listed. The headline, job titles and job dates read `null`, and the About text may be cut short.

Which view a profile gets is LinkedIn's choice, not a setting, and it can change from one day to the next. In two test runs on the same 14 profiles, 10 and then 8 came back `full`, and 2 profiles changed from `full` to `limited` between the runs. Both views cost the same, so check `dataLevel` before relying on job titles.

### What each row holds

| Field | `full` | `limited` |
|---|---|---|
| `fullName`, `profileUrl`, `slug`, `location`, `followers`, `imageUrl` | yes | yes |
| `connections` (for example `500+`) | yes | yes |
| `headline`, `currentTitles` | yes | `null` |
| `experience`: company and company link | yes | yes |
| `experience`: job title and dates | yes | `null` |
| `education`: school | yes | yes |
| `education`: degree and years | when listed | mostly `null` |
| `about` | full text, when the person wrote one | may be cut short |
| `certifications`, `publications`, `honorsAndAwards`, `volunteering`, `languages`, `projects`, `websites` | when the person lists them | when shown |
| `recentPosts` (with `includeRecentPosts`) | the posts shown on the profile | the posts shown on the profile |

Many people leave sections empty, so lists such as certifications or languages are often empty even on a `full` profile. Each recent post carries its text, date, reactions and images. Comment counts and comments are not included in `recentPosts`. Use our LinkedIn Posts Scraper for those.

**Not returned:** email addresses and phone numbers. They are not public on LinkedIn.

### Input

| Field | Type | Description |
|---|---|---|
| `profiles` | list | Profile URLs or usernames. |
| `includeRecentPosts` | boolean | Add the posts shown on the profile under `recentPosts`. No extra charge. |
| `maxConcurrency` | integer | Pages read at once, 5 by default. |
| `proxyConfiguration` | object | Leave the default unless you have a reason to change it. |

### Example input

```json
{
  "profiles": ["https://www.linkedin.com/in/example-user"],
  "includeRecentPosts": false
}
```

### Output sample: a `limited` profile

```json
{
  "input": "https://www.linkedin.com/in/example-user",
  "fullName": "Example User",
  "profileUrl": "https://www.linkedin.com/in/example-user",
  "slug": "example-user",
  "headline": null,
  "dataLevel": "limited",
  "location": "Austin, Texas, United States",
  "country": "US",
  "followers": 1250,
  "connections": "500+",
  "about": "I help operations teams run smoothly. Over the last ten years I have…",
  "imageUrl": "https://example.com/photo.jpg",
  "currentTitles": [],
  "experience": [{"title": null, "company": "Acme Co", "companyUrl": "https://www.linkedin.com/company/acme-co", "dates": null}],
  "education": [{"school": "Example University", "degree": null, "schoolUrl": "https://www.linkedin.com/school/example-university/", "years": null}],
  "certifications": [],
  "publications": [],
  "honorsAndAwards": [],
  "volunteering": [],
  "languages": [],
  "projects": [],
  "services": [],
  "websites": [],
  "scrapedAt": "2026-11-07T00:00:00.000Z"
}
```

On a `full` profile the same row also carries the headline (for example `"Head of Operations at Acme Co"`), `currentTitles`, each role's `title` and `dates` (for example `"Jan 2022 - Present · 4 years"`) and the whole About text.

### Notes

- You pay per profile delivered. A profile that does not exist or could not be read comes back as a row with a `status` and a `message`, and it is not charged.
- This actor is independent and is not affiliated with or endorsed by LinkedIn.
- To improve our actors we collect anonymized usage telemetry (run stats and input patterns). No personal account data is collected.

**Found this useful?** [Leave a quick review](https://apify.com/goat255/linkedin-profile-scraper/reviews). It takes a few seconds and it genuinely helps other people find the actor.

# Actor input Schema

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

LinkedIn profile URLs (https://www.linkedin.com/in/example-user) or just the username.

## `includeRecentPosts` (type: `boolean`):

Add the person's visible posts under recentPosts. No extra charge.

## `maxConcurrency` (type: `integer`):

How many pages to read at the same time.

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

Which addresses to read from. The default suits nearly every run, so leave it unless you have a reason to change it.

## Actor input object example

```json
{
  "profiles": [
    "https://www.linkedin.com/in/williamhgates"
  ],
  "includeRecentPosts": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

# 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": [
        "https://www.linkedin.com/in/williamhgates"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("goat255/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": ["https://www.linkedin.com/in/williamhgates"],
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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