# LinkedIn Profile Scraper (No Login) (`locaihost/linkedin-profiles`) Actor

Public LinkedIn profiles without a login or cookies: name, headline, current title and company, location, about, followers, full work history with dates, skills, and the person's own recent posts and articles. Work-level data only, change tracking for scheduled runs. $4 per 1,000 profiles.

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

## Pricing

from $2.20 / 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 (No Login)

Get public LinkedIn profiles as clean rows: full name, headline, current title and company, location, about text, follower and connection counts, the full work history with dates, and the person's own recent posts and articles. No login, no cookies and no account of yours at risk. Only work-level facts: no education, no email addresses, no phone numbers.

- Recruiting and sales research: see someone's current role, company and career path before you reach out.
- Account mapping: check who holds which role at the companies on your list, with a link to each company page.
- Job-change alerts: schedule a run with **Track changes** on and get told when a title, company or headline moves.
- Thought-leader monitoring: collect the posts and articles that public voices in your industry publish.

### How do I start?

Open the input, keep the two prefilled profiles and click **Start**. You get 2 profile rows in well under 20 seconds. Then replace them with your own list. Each entry can be a profile address or the public name from the address:

```json
{"profiles": ["https://www.linkedin.com/in/jane-doe-123/", "john-roe"]}
```

Any country subdomain works (`uk.linkedin.com`, `de.linkedin.com`), and sub-pages such as `/details/experience/` are read as the profile itself.

### What does each row contain?

| Group | Fields |
|---|---|
| Person | `fullName`, `headline`, `location` (as the profile shows it), `countryCode`, `about`, `imageUrl`, `badges` (labels such as `Creator` or `Top Voice`) |
| Current role | `currentTitle`, `currentCompany`, `currentCompanyUrl`, `currentStartDate`, `currentDuration`, `currentPositions` (how many roles are marked current) |
| Reach | `followers` (exact number), `connections` (500 when LinkedIn shows "500+"), `connectionsText` |
| Work history | `experience`: one entry per position with `title`, `company`, `companyUrl`, `startDate`, `endDate`, `isCurrent`, `duration` and `location`; `experienceCount` |
| Skills and teaching | `skills` (the skills list as logged-out visitors see it, often the top skills only); `coursesTaught`: LinkedIn Learning courses the person teaches, with `title`, `url` and `viewers` |
| Activity | `posts`: the person's own recent posts with `url`, `postId`, `text`, `postedAt` and `likes`; `articles`: published articles with `title`, `url`, `publishedAt`, `likes` and `imageUrl` |
| Changes | `changedSinceLastRun`, `firstSeen`, `changes` (filled when **Track changes** is on) |
| Run | `type` (`profile`, `status` or `summary`), `input`, `publicId`, `profileUrl`, `scrapedAt` |

Example row (shortened):

```json
{
  "type": "profile",
  "publicId": "jane-doe-123",
  "fullName": "Jane Doe",
  "headline": "VP Engineering at Acme",
  "currentTitle": "VP Engineering",
  "currentCompany": "Acme",
  "currentCompanyUrl": "https://www.linkedin.com/company/acme/",
  "currentStartDate": "2021-03",
  "location": "Austin, Texas, United States",
  "followers": 12840,
  "connections": 500,
  "connectionsText": "500+",
  "experience": [
    {"title": "VP Engineering", "company": "Acme", "startDate": "2021-03", "endDate": null, "isCurrent": true, "duration": "5 years 9 months", "location": "Austin, Texas"},
    {"title": "Engineering Manager", "company": "Beta Corp", "startDate": "2016-01", "endDate": "2021-02", "isCurrent": false, "duration": "5 years 2 months", "location": null}
  ],
  "skills": ["Engineering Management", "Distributed Systems"],
  "posts": [{"url": "https://www.linkedin.com/posts/jane-doe-123_...", "postedAt": "2026-11-02T15:04:11.000Z", "likes": 214, "text": "We just shipped ..."}],
  "changedSinceLastRun": null
}
```

Dates are as precise as the profile shows them: `2021-03` when a month is given, `2000` when only a year is. Post times come from the post's own ID, so they are exact.

### What does it leave out, and why?

This Actor returns work-level facts only. It never returns education, email addresses, phone numbers, personal websites, birthdays, family or relationship details, recommendations other people wrote, or "people also viewed" lists, even when a page shows them. If someone typed an email address or phone number into their headline, about text or a post, it is replaced with `[removed]`. It does not try to find contact details anywhere else.

### Which profiles can it read?

Only profiles that LinkedIn shows to anyone who is not logged in. Most profiles are public, but some owners hide theirs from logged-out visitors, and for those LinkedIn shows a sign-in page. The Actor tries again from a fresh connection, and if LinkedIn still shows the sign-in page, you get a free status row that says so. The same happens for an address that does not exist, because LinkedIn answers both the same way. A quick check: if the address opens in a private browser window without signing in, the Actor can read it.

A logged-out visitor also sees a shorter version of some sections: the most recent posts and articles rather than all of them, and the positions the person chose to show publicly.

### How do I track job changes?

Turn on **Track changes** and run the same list on a schedule (weekly is typical). The Actor remembers each profile's name, headline, current title, current company and location on your account, and on the next run fills `changes` with what moved, for example `{"field": "currentCompany", "from": "Acme", "to": "Beta Corp"}`. `firstSeen` is `true` the first time a profile is tracked. Only those five fields are remembered.

### Which inputs are there?

| Input | What it does |
|---|---|
| `profiles` | Profile addresses or public profile names. |
| `includeExperience` | Include the full work history (default on). Off gives a smaller row with only the current role. |
| `includePosts` | Include the person's own recent posts and articles (default on). |
| `trackChanges` | Remember each profile and report what changed since the last run (default off). |

### Coming from another LinkedIn profile tool?

Your saved input probably works as it is. When `profiles` is empty, these field names are read in its place, and a limit field stops the run cleanly after that many profiles:

| You send | Read as |
|---|---|
| `urls`, `profileUrls`, `publicIdentifiers`, `usernames`, `queries`, `startUrls` (`[{"url": ...}]`) | `profiles` |
| `maxItems`, `maxResults`, `maxProfiles` | stop after this many profiles returned |

Profile IDs that start with `ACo` cannot be opened by a logged-out visitor, so use the address or the public name instead.

### How much does it cost?

You pay per profile returned: **$4 per 1,000 profiles** on the Starter plan, less on higher plans, plus a tiny one-time start fee per run. Work history, posts and articles are included in that price. Status rows (profile not found or not shown to logged-out visitors) and the summary row are free.

On the free Apify plan a run returns up to 50 profiles. Any paid plan removes that cap. If you set a maximum charge for a run, the Actor stops cleanly when it is reached and keeps everything already returned.

### How long do real runs take?

Measured on 2026-11-14 (build 0.1.4, 1 GB memory, Starter prices):

| Run | Profiles returned | Free rows | Seconds | Charged |
|---|---|---|---|---|
| The prefill (2 profiles) | 2 | 1 summary | 7 | $0.008 |
| 5 inputs, one of them a missing profile | 4 | 1 status + 1 summary | 20 | $0.016 |
| 3 profiles from `urls` with `maxItems: 2` | 2 | 1 summary | 8 | $0.008 |
| 2 profiles with **Track changes** on | 2 | 1 summary | 5 | $0.008 |
| A company page address (bad input) | 0 | 1 summary | 2 | $0 |

Each run also pays the one-time start fee of $0.00005.

### What happens when something goes wrong?

- A profile that cannot be read gets a free status row that says why, and nothing is charged for it.
- Bad input (an empty list, a company page address) ends the run with a message that says what to change, and nothing is charged.
- If LinkedIn refuses most requests for a while, the run stops early instead of retrying for nothing, keeps what it already returned, and says so.
- Every run ends with a summary row and a `SUMMARY` record with counts of profiles, missing profiles, changes and why the run stopped.

### Can I use it through the API or from an AI agent?

Yes. Start a run with the Apify API or one of the Apify client libraries and read the dataset when it finishes. The Actor is also available as a tool to AI agents through the Apify MCP server, which can call it with a list of profiles and read the rows back.

### Is it legal to scrape LinkedIn profiles?

This Actor reads only pages LinkedIn shows to anyone who is not logged in, and returns only work-level facts the profile owner made public. It does not log in, use cookies, read private content or look for contact details. LinkedIn's terms restrict automated access, and data about people is personal data under laws such as the GDPR, so check that you have a lawful reason to process it, keep only what you need, and honour requests from people to remove their data.

If you are the person on a profile and want it left out of this Actor's results, open an issue on the **Issues** tab with the profile address. We add it to a list the Actor skips on every run. You control the data you collect with it, so follow the laws that apply to you.

### Why are some fields empty?

Fields are filled only when the profile shows them to logged-out visitors. Many people leave the about section empty, hide their follower count or list positions without a location. `posts` and `articles` are empty when the person has not published any recently.

### Did it help?

If the Actor saved you time, a short rating on its Store page helps other people find it.

### Where do I get help?

Open an issue on the Actor's **Issues** tab with the run ID and what you expected. We usually answer within a day.

# Changelog

This Actor's version history is a separate document: https://apify.com/locaihost/linkedin-profiles/changelog.md

# Actor input Schema

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

LinkedIn profile addresses (https://www.linkedin.com/in/jane-doe-123/) or the public name from the address ("jane-doe-123"). Any country subdomain works. Company pages are refused.

## `includeExperience` (type: `boolean`):

Every position the profile shows to logged-out visitors: title, company, company page, start and end month, duration and location. Turn off for a smaller row with only the current role.

## `includePosts` (type: `boolean`):

The person's own recent public posts (text, date, likes) and the articles they published, as the profile shows them to logged-out visitors.

## `trackChanges` (type: `boolean`):

Remember each profile's name, headline, current title, company and location on your account, and say on the next run what changed (a new job, a new title). Use it with a schedule.

## Actor input object example

```json
{
  "profiles": [
    "https://www.linkedin.com/in/jane-doe-123/",
    "jane-doe-123"
  ],
  "includeExperience": true,
  "includePosts": true,
  "trackChanges": false
}
```

# Actor output Schema

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

One row per profile with work history, posts and articles; status and summary rows are free.

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

Profiles returned, profiles not found or not shown, changes since the last run, and measured cost.

# 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": [
        "williamhgates",
        "satyanadella"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("locaihost/linkedin-profiles").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": [
        "williamhgates",
        "satyanadella",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("locaihost/linkedin-profiles").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": [
    "williamhgates",
    "satyanadella"
  ]
}' |
apify call locaihost/linkedin-profiles --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,locaihost/linkedin-profiles"
        }
    }
}
```

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/5CLRekMrtcAR1gtpc/builds/ABf9j96Ca88q9oUZZ/openapi.json
