# LinkedIn Scraper – All-in-One, No Login (`socialcrawler/linkedin-scraper`) Actor

Scrape LinkedIn profiles, posts, comments, company pages and company posts, and search people, companies, posts and jobs. Paste profile or company links, up to 200 results per run. Posts from $0.80 per 1,000, profiles from $1.50. No cookies or login. Export JSON, CSV or Excel.

- **URL**: https://apify.com/socialcrawler/linkedin-scraper.md
- **Developed by:** [SocialCrawler](https://apify.com/socialcrawler) (community)
- **Features:** Limited permissions
- **Stats:** 4 total users, 2 monthly users, 82.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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 Scraper – All-in-One, No Cookies

**Posts and comments from $0.80 per 1,000; profiles and companies from $1.50; search from $2.50. No cookies. No per-search fees. Pay only for results.**

LinkedIn Scraper extracts public LinkedIn data with no cookies or login: full profiles, posts, comments and replies, company pages, company posts, and search for people, companies, posts and jobs. Give it profile or company links, post links or keywords and download clean data as JSON, CSV or Excel.

It returns publicly available data only. Built by SocialCrawler.

### What does LinkedIn Scraper do?

- 👤 Get **full public profiles**: name, headline, location, about, experience, education, skills and followers
- 📝 Scrape **posts of any profile or company**: text, reactions, comments, reposts, media and date
- 💬 Collect **comments and replies** under any post, with author, reactions and date
- 🏢 Pull **company pages**: description, website, industry, size, headquarters, specialties and followers
- 🔎 **Search** people, companies, posts and jobs, with filters for location, company, industry, size and date
- 🧩 Run a **full profile pull** in one go: profile, latest posts and their comments
- 📤 Export in **JSON, CSV, Excel, XML, HTML or RSS**, or read the dataset over the **API**, with **no cookies or LinkedIn account**
- 🔌 Connect to **Make, Zapier, n8n, Google Sheets and webhooks**, run on a **schedule**, or call it from AI agents through the **Apify MCP server**

### What data can you scrape from LinkedIn?

LinkedIn Scraper returns the original LinkedIn fields for each item. Typical data points:

<table>
<tr>
<td>👤 Full name</td>
<td>🧭 Headline</td>
<td>📍 Location</td>
</tr>
<tr>
<td>📜 About</td>
<td>💼 Experience</td>
<td>🎓 Education</td>
</tr>
<tr>
<td>🛠️ Skills</td>
<td>👥 Followers</td>
<td>📝 Post text</td>
</tr>
<tr>
<td>👍 Reactions</td>
<td>💬 Comments</td>
<td>🔁 Reposts</td>
</tr>
<tr>
<td>🏢 Company name</td>
<td>🌐 Company website</td>
<td>🏭 Industry</td>
</tr>
<tr>
<td>📏 Company size</td>
<td>🏛️ Headquarters</td>
<td>🏷️ Specialties</td>
</tr>
</table>

The full rows hold many more fields. Every row is one item, and the Output tab shows the main columns as a table.

### What can you use LinkedIn data for?

- 🎯 **B2B lead generation**: build lists of people and companies that match your ideal customer
- 🧑‍💼 **Recruiting and jobs**: search people and open jobs to source candidates and watch hiring
- 🕵️ **Competitor monitoring**: follow rival companies, their posts and their audience size
- 📈 **Market research**: map industries, company sizes and headquarters at scale
- 😀 **Sentiment analysis**: collect post comments to learn how professionals react
- 🤝 **Sales prospecting**: find decision makers by title, company and location
- 🎯 **Content strategy**: learn which posts earn the most reactions and comments
- 🔔 **Brand monitoring**: track posts and conversations around your company with scheduled runs

### Why use this LinkedIn Scraper?

- 🧰 **All-in-one**: profiles, posts, comments, companies and 4 kinds of search in one Actor
- 🛡️ **No cookies, login or LinkedIn account**, so your own account is never at risk
- 💸 **Fair prices**: posts from $0.80 and profiles from $1.50 per 1,000, with no per-search-page fees
- 📦 **Bulk-ready**: many profiles or companies per run
- 🧼 **Clean data**: ready-to-use fields with no email or phone numbers, plus ready-made table views

### How to scrape LinkedIn data

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open this Actor, **LinkedIn Scraper**, on the Apify Store.
3. Choose **What to scrape** and paste your targets, one per line: usernames, links, hashtags or keywords. Set **Max results per target**.
4. Click **Start** and wait for the run to finish.
5. Download your data as JSON, CSV, Excel or HTML, or read it through the API.

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

Pay per result: posts and comments from $0.80 per 1,000; profiles and companies from $1.50; search from $2.50.

| Example | Cost |
|---|---|
| 200 posts from 10 profiles | $0.16 |
| 100 full profiles | from $0.15 |
| 100 people from a search | from $0.25 |
| 50 company pages | from $0.08 |

- **Standard results from $0.80 per 1,000** (posts and comments): `posts`, `post`, `comments`, `company_posts`.
- **Profile results from $1.50 per 1,000** (profiles and companies): `profile`, `company`. In deep mode the profile row is a profile result; its posts and comments are standard results.
- **Discovery results from $2.50 per 1,000** (search for people, companies, posts and jobs): `search`.
- A small per-run start fee (shown in the pricing tab), $0.001 per run.

Put many targets in one run to spread the start fee. Invalid targets and empty results cost nothing beyond the start fee. Runs that fail or time out deliver no rows and charge no result fees. The Actor respects your "maximum cost per run" and never fetches more rows than you can pay for.

**Free Apify plan: demo of 5 runs per month, up to 10 results each. Paid plans have no run limit.** Upgrade to a paid Apify plan for full results. The monthly allowance resets on the 1st (UTC).

### Input

| Field | Description |
|---|---|
| `endpoint` | One of the endpoints below, or `full`. |
| `targets` | 1 to 1,000 entries, one per target: handles (`nasa`), @handles, profile/post/video links, hashtags (`#tag` or a tag link), IDs, or free search text, depending on the endpoint. Duplicates and invalid entries are skipped and never charged. |
| `limit` | Max rows **per target** for list endpoints (10-1000, default 50). Ignored by single-item endpoints, which return one row. |
| `maxTotalResults` | Optional cap on results across all targets. |
| `type`, `country`, `location`, `current_company`, `industry`, `company_size`, `date_posted`, `sort`, `from_company` | Optional, only sent to the endpoints that accept it (below). |
| `postsPerProfile` | Deep mode: items per profile (10-100, default 10). |
| `commentsPerPost` | Deep mode: comments per post (10-500, default 20; 0 = no comments). |
| `timeoutSecs` | Advanced. Give up on unfinished work after this long (default 3500, max 3500). |

Optional parameters:

- `type` (`search`): `people` (default), `companies`, `posts` or `jobs`.
- `country` (`search`, not posts): pick a country from the list (a two-letter code such as `GB`). Default: `US`. Ignored when `location` is filled.
- `location` (`search`, not posts): city, state or other places, up to three separated by semicolons. Overrides `country` when filled. A two-letter code is a country (`CA` is Canada).
- `current_company` (`search`, people): a company's numeric LinkedIn ID or its slug.
- `industry` (`search`, companies): a LinkedIn industry ID, for example `4` for Software Development.
- `company_size` (`search`, companies): one of `1-10`, `11-50`, `51-200`, `201-500`, `501-1000`, `1001-5000`, `5001-10000`, `10001+`.
- `date_posted` (`search`, posts and jobs): `past-24h`, `past-week` or `past-month`.
- `sort` (`search`, posts): `latest` or `relevance`.
- `from_company` (`search`, posts): only posts by this company, by numeric LinkedIn ID or slug.

#### Examples

```json
{
    "endpoint": "profile",
    "targets": [
        "reidhoffman",
        "satyanadella"
    ]
}
{"endpoint":"posts","targets":["reidhoffman"],"limit":50}
{"endpoint":"search","targets":["product manager"],"limit":20}
```

### Output

Each row is one item (a profile, post, comment, company or search result) as JSON. Field names differ between kinds of rows. Below are real examples from test runs on public accounts, trimmed to the main fields (long links are shortened).

**Profile (`profile`)**

```json
{
    "id": "reidhoffman",
    "url": "https://www.linkedin.com/in/reidhoffman/",
    "full_name": "Reid Hoffman",
    "headline": "Co-Founder, LinkedIn, Manas AI & Inflection AI. Founding Team, PayPal. Author of Superagency. Podcas...",
    "about": "My current priority is investing in and building with AI to benefit humanity. Recently, I've co-foun...",
    "location": "US",
    "industry": "Venture Capital & Private Equity",
    "current_company": "Manas AI",
    "current_title": "Co-Founder, Executive Board Chair",
    "followers_count": 2802075,
    "is_influencer": true,
    "experience": [
        {
            "title": "Co-Founder, Executive Board Chair",
            "company": "Manas AI",
            "dates": "Jan 2025 - Present",
            "duration": "1 yr 11 mos"
        }
    ],
    "education": [
        {
            "school": "Università degli Studi di Perugia",
            "degree": "Honorary Doctorate",
            "field_of_study": "Human Sciences"
        }
    ],
    "skills": [
        "CEOs"
    ],
    "profile_pic_url": "https://media.licdn.com/..."
}
```

**Post (`posts`, `post`, `company_posts`)**

```json
{
    "id": "7526360999570886656",
    "activity_id": "7526360999570886656",
    "url": "https://www.linkedin.com/feed/update/urn:li:activity:7526360999570886656/",
    "type": "article",
    "author": {
        "name": "Reid Hoffman",
        "headline": "Co-Founder, LinkedIn, Manas AI & Inflection AI. Founding Team, PayPal....",
        "url": "https://www.linkedin.com/in/reidhoffman"
    },
    "posted_at": "2026-11-11T19:11:35Z",
    "text": "If AI grows the economy, how does society grow? Aria Finger and I spoke with OpenAI's chief economist Aaron \"R...",
    "media": [
        {
            "kind": "article",
            "url": "https://www.linkedin.com/pulse/what-can-we-do-economy-grows-reid-hoffman-60irc",
            "title": "What can we do if the economy grows?"
        }
    ],
    "reactions_count": 271,
    "comments_count": 123,
    "reposts_count": 19
}
```

**Company (`company`)**

```json
{
    "id": "microsoft",
    "company_id": "1035",
    "url": "https://www.linkedin.com/company/microsoft/",
    "name": "Microsoft",
    "description": "Every company has a mission. What's ours? To empower every person and every organization t...",
    "website": "https://news.microsoft.com/",
    "industry": "Software Development",
    "company_size": "10,001+ employees",
    "employees_on_linkedin": 231109,
    "headquarters": "Redmond, Washington, US",
    "type": "Public Company",
    "specialties": [
        "Business Software",
        "Developer Tools",
        "Home & Educational Software",
        "Tablets"
    ],
    "followers_count": 29517565,
    "is_verified": true,
    "logo_url": "https://media.licdn.com/..."
}
```

The Output tab also shows ready-made table views of the main columns. Download everything as JSON, CSV, Excel, XML, HTML or RSS.

### Deep mode

`full` pulls a whole profile in one run:

```json
{
    "endpoint": "full",
    "targets": [
        "reidhoffman"
    ],
    "postsPerProfile": 10,
    "commentsPerPost": 20
}
```

Every row is one result in a single dataset: profile, post, comment and reply rows as JSON, in that order of discovery. Posts that report zero comments are skipped. `commentsPerPost: 0` skips comments. Replies are already part of the comment rows, so there is no separate replies setting. Deep mode is slower than a plain list because each post needs its own lookups, so start with small numbers.

### Other social media scrapers by SocialCrawler

<table>
<tr>
<td>🎵 <a href="https://apify.com/socialcrawler/tiktok-scraper"><b>TikTok Scraper</b></a><br>profiles, videos, comments, followers, hashtags, sounds and search</td>
<td>▶️ <a href="https://apify.com/socialcrawler/youtube-scraper"><b>YouTube Scraper</b></a><br>channels, videos, shorts, comments, playlists and search</td>
<td>📸 <a href="https://apify.com/socialcrawler/instagram-scraper"><b>Instagram Scraper</b></a><br>profiles, posts, reels, comments, hashtags and creators</td>
</tr>
</table>

### FAQ

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

No. Only public profile information is returned; contact details such as emails and phone numbers are never included.

#### Why do some search results say "LinkedIn Member"?

LinkedIn hides some names in people search. Those rows are marked with name_hidden and still include headline, location and profile link.

#### Are there limits?

Up to 1,000 targets per run. Set "Max results per target" and "Max results in total" to control size and cost. Split bigger jobs into several runs or use a schedule.

#### How much does it cost?

You pay per result: posts and comments from $0.80 per 1,000; profiles and companies from $1.50; search from $2.50, plus a tiny start fee of $0.001 per run. No monthly fee, no per-search or per-profile fees, and empty results cost nothing beyond the start fee. Set "Maximum cost per run" to cap any run.

#### Do I need a login, cookies or a proxy?

No. You don't need a LinkedIn account, cookies or your own proxies. Just enter your targets and run.

#### Can I scrape many profiles or links at once?

Yes. Put up to 1,000 targets in one run, one per line. They are processed several at a time, duplicates are removed, and invalid entries are skipped and never charged.

#### How many results can I get?

Up to 1,000 per target per run (set "Max results per target"), with an optional overall cap. List results fetch at least 10 per target.

#### Can I use it through the API, Python or JavaScript?

Yes. Run it with the Apify API, the Python or JavaScript client, or from any language over HTTP. The API tab on this page shows ready-to-copy code. You can download results as JSON, CSV, Excel, XML, HTML or RSS.

#### Does it work with Make, Zapier, n8n, Google Sheets or schedules?

Yes. Use Apify integrations to send results to Google Sheets, Slack, Make, Zapier, n8n, Airbyte or any webhook when a run finishes, and create a schedule (hourly, daily, weekly) to track accounts, hashtags or keywords over time.

#### Can AI agents use it (MCP)?

Yes. Like every Apify Actor, it works with the Apify MCP server, so tools such as Claude or Cursor can call it directly.

#### What about private accounts, or a run with 0 results?

Only public data is returned. Private, empty or deleted accounts, or posts without comments, give an empty result, which costs nothing beyond the start fee. Check the target spelling if you expected data.

#### Is scraping legal?

It returns publicly available data only. Scraping public data is generally legal, but personal data is protected by laws such as GDPR in the EU. Only collect what you have a legitimate reason to use, and check with a lawyer if you're unsure.

#### Is there a free trial?

Yes. On the Apify Free plan you get 5 demo runs per month, up to 10 results each, enough to see the data before you upgrade. The allowance resets on the 1st (UTC).

### Endpoints reference

Pick one in **What to scrape** (the `endpoint` input). 7 endpoints plus a deep `full` mode.

| Endpoint | What it does | Input example | One row is | Billed as |
|---|---|---|---|---|
| `profile` | Profile details | `{"endpoint":"profile","targets":["reidhoffman"]}` | one profile (headline, location, about, positions, education, skills, followers...) (single item) | Profile |
| `posts` | Posts of a profile | `{"endpoint":"posts","targets":["reidhoffman"]}` | one post (text, reactions, comments, reposts, media...) | Standard |
| `post` | Single post | `{"endpoint":"post","targets":["https://www.linkedin.com/feed/update/urn:li:activity:7521344259774660609/"]}` | one post (single item) | Standard |
| `comments` | Comments on a post | `{"endpoint":"comments","targets":["https://www.linkedin.com/feed/update/urn:li:activity:7521344259774660609/"]}` | one comment or reply | Standard |
| `company` | Company details | `{"endpoint":"company","targets":["microsoft"]}` | one company (description, website, industry, size, headquarters, followers...) (single item) | Profile |
| `company_posts` | Posts of a company | `{"endpoint":"company_posts","targets":["microsoft"]}` | one post | Standard |
| `search` | Search | `{"endpoint":"search","targets":["product manager"]}` | one person, company, post or job (depends on "type") | Discovery |
| `full` | Full profile pull: profile + posts + comments | `{"endpoint":"full","targets":["reidhoffman"],"postsPerProfile":10,"commentsPerPost":20}` | one profile, post, comment | Profile (the profile row) + Standard |

Notes:

- `profile`: Public profile information only; contact details such as email addresses are never included.
- `comments`: Replies are included in the comment rows (see `is_reply` and `parent_comment_id`).
- `search`: Pick what to search for with the optional "type" setting (people, companies, posts or jobs; default people) and narrow it with the optional filters below. Results come from the place you name, or the United States when you name none. LinkedIn hides some names ("LinkedIn Member"); those rows have `name_hidden` set.

### Limits

- Up to 1,000 targets per run and 1,000 results per target.
- List endpoints always fetch at least 10 rows per target (a limit below 10 is raised to 10), so tiny requests are not billed per call.
- Deep mode and large lists take longer than single lookups. A run can last up to about an hour.
- For big jobs, put all your targets in one run instead of starting many runs at once.
- Only public data is returned; contact details such as email addresses are never included.

# Actor input Schema

## `endpoint` (type: `string`):

Pick the kind of data. "Full profile pull: profile + posts + comments" gets a whole profile in one run (see the Deep mode settings). Discovery endpoints (search) are billed as Discovery results. Free Apify plan: demo of 5 runs per month, up to 10 results each. Paid plans have no run limit.

## `targets` (type: `array`):

One entry per line. What to enter depends on "What to scrape": Profile details: reidhoffman; Posts of a profile: reidhoffman; Single post: https://www.linkedin.com/feed/update/urn:li:activity:7521344259774660609/; Comments on a post: https://www.linkedin.com/feed/update/urn:li:activity:7521344259774660609/; Company details: microsoft; Posts of a company: microsoft; Search: product manager. Links, @handles, #hashtags, IDs and free search text are all accepted where they make sense. Up to 1,000 per run; duplicates and invalid entries are skipped and never charged. Put many targets in one run to keep the start fee tiny. LinkedIn Posts search: LinkedIn hides posts for phrases like "open to work"; use Search type People for those.

## `limit` (type: `integer`):

Maximum rows per target for list endpoints (minimum 10; ignored for single-item endpoints, which return one row). You pay per result delivered.

## `maxTotalResults` (type: `integer`):

Stop after this many results across all targets. Free Apify plan: demo of 5 runs per month, up to 10 results each. Paid plans have no run limit.

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

Only for "Search". What to search for. Default: people. Posts search returns nothing for some job-seeking phrases (see the note at the top of Search filters); use People for those.

## `country` (type: `string`):

Only for "Search" (not posts). Where to search. Ignored when "City, state or other places" is filled.

## `location` (type: `string`):

Only for "Search" (not posts). Overrides Country when filled. A city, state or country, or up to three separated by semicolons (e.g. "Berlin; Paris"). A two-letter code is a country (CA is Canada).

## `current_company` (type: `string`):

People search only. Keep people who work at this company: its numeric LinkedIn ID or its slug (the part after /company/ in its link).

## `industry` (type: `string`):

Companies search only. A LinkedIn industry ID, for example 4 for Software Development.

## `company_size` (type: `string`):

Companies search only.

## `date_posted` (type: `string`):

Posts and jobs search only.

## `sort` (type: `string`):

Posts search only.

## `from_company` (type: `string`):

Posts search only. Only posts by this company: its numeric LinkedIn ID or its slug.

## `postsPerProfile` (type: `integer`):

Deep mode only: how many latest items to fetch for each profile (minimum 10).

## `commentsPerPost` (type: `integer`):

Deep mode only: comments to fetch under each post (0 = skip comments, otherwise minimum 10). Posts that have no comments are skipped.

## `timeoutSecs` (type: `integer`):

Give up on anything not finished after this long. Each target also has its own 10-minute limit. Maximum 3500.

## Actor input object example

```json
{
  "endpoint": "profile",
  "targets": [
    "reidhoffman",
    "satyanadella"
  ],
  "limit": 10,
  "country": "US",
  "postsPerProfile": 10,
  "commentsPerPost": 20,
  "timeoutSecs": 3500
}
```

# 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 = {
    "endpoint": "profile",
    "targets": [
        "reidhoffman",
        "satyanadella"
    ],
    "limit": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("socialcrawler/linkedin-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 = {
    "endpoint": "profile",
    "targets": [
        "reidhoffman",
        "satyanadella",
    ],
    "limit": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("socialcrawler/linkedin-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 '{
  "endpoint": "profile",
  "targets": [
    "reidhoffman",
    "satyanadella"
  ],
  "limit": 10
}' |
apify call socialcrawler/linkedin-scraper --silent --output-dataset

```

## MCP server setup

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