# LinkedIn Employees Scraper - B2B Leads (No Login) (`themineworks/linkedin-employees`) Actor

Affordable LinkedIn employees scraper: B2B leads, no login. $2/1,000 results, 25 free, pay-per-result, no subscription. Works in Claude, ChatGPT & any MCP-compatible AI agent.

- **URL**: https://apify.com/themineworks/linkedin-employees.md
- **Developed by:** [The Mine Works](https://apify.com/themineworks) (community)
- **Categories:** Business, Developer tools, MCP servers
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 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.

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 Employees Scraper - B2B Leads (No Login)

Find the people who work at any company on LinkedIn and turn them into a clean B2B lead list — **name, headline/title, location and public profile URL** — without ever logging in to LinkedIn and without risking an account ban.

This actor **never touches LinkedIn directly**. LinkedIn runs one of the most aggressive anti-bot systems on the web, and scraping it logged-in is the fastest way to get an account permanently banned. Instead, this actor uses the **public Google search index** as a soft surface: Google has already crawled millions of public LinkedIn profile pages (`linkedin.com/in/…`), and each result exposes the person's public name, headline and location. We query Google, parse the results, and hand you structured leads. Every byte comes from Google — zero requests hit LinkedIn.

Works as a standalone Apify Actor and as an **MCP tool** inside Claude, ChatGPT and any MCP-compatible AI agent — just ask "find engineers at Stripe" and the agent calls this actor.

### What it does

Given a **company name** (and optionally a **job title**), it runs the Google query:

````

site:linkedin.com/in "<Company Name>" <job title>

````

then paginates through Google's results (`&start=0,10,20,…`), extracts every public LinkedIn member profile, de-duplicates by profile URL, and returns one record per person.

### Input

| Field | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| `companyName` | string | yes | `Stripe` | Company whose employees you want to find (e.g. `Stripe`, `Shopify`, `Tata Consultancy Services`). |
| `jobTitle` | string | no | `engineer` | Optional role/keyword to narrow results (e.g. `engineer`, `sales`, `recruiter`, `product manager`). Leave blank for all roles. |
| `maxResults` | integer | no | `50` (prefill `15`) | Max profiles to return. Min 1, max 1000. |
| `proxyConfiguration` | object | no | `GOOGLE_SERP` | Apify proxy. The **GOOGLE_SERP** group returns raw Google SERP HTML and is strongly recommended; RESIDENTIAL works as a fallback. |

#### Example input

```json
{
  "companyName": "Stripe",
  "jobTitle": "engineer",
  "maxResults": 25,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["GOOGLE_SERP"] }
}
````

### Output

One dataset item per person. A final `_type: "summary"` record reports counts.

```json
{
  "name": "Jane Doe",
  "headline": "Senior Software Engineer at Stripe",
  "company": "Stripe",
  "location": "San Francisco, California",
  "linkedin_url": "https://www.linkedin.com/in/jane-doe",
  "source_query": "site:linkedin.com/in \"Stripe\" engineer",
  "scraped_at": "2026-06-16T10:30:00.000Z"
}
```

| Field | Description |
|-------|-------------|
| `name` | Person's full name (parsed from the public profile title). |
| `headline` | Public headline / role line, when present. |
| `company` | The company you searched for (echoed for convenience). |
| `location` | Public location, when present in the result snippet. |
| `linkedin_url` | Canonical public profile URL (`linkedin.com/in/<slug>`). |
| `source_query` | The exact Google query used. |
| `scraped_at` | ISO-8601 timestamp of extraction. |

### Pricing — Pay Per Event

- **$0.005 per profile** delivered (`profile-scraped`).
- **First 25 profiles are free per Apify account** (lifetime), so you can try it before paying.
- Empty searches, Google bot-walls and failed runs are **never charged** — you only pay for real leads.

### How it stays reliable (anti-bot)

- **Never hits LinkedIn.** All data is read from Google's public index.
- Routes through the **GOOGLE\_SERP** proxy group (purpose-built for raw Google SERP HTML), with a fresh proxy session per page and automatic rotation on a bot-wall or transport error.
- Pure HTTP via `got-scraping` (browser-grade TLS + headers), 512 MB — no headless browser needed.
- Tolerant SERP parser that keys off `linkedin.com/in/` links rather than Google's shifting CSS class names, so it keeps working as Google tweaks its markup.

### FAQ

**Does this log in to LinkedIn or need cookies?** No. It never sends a single request to LinkedIn. There is nothing to log in to and no ban risk.

**Is this legal / compliant?** It only collects **public** information that Google has already indexed and that LinkedIn members have chosen to make public. Use the results in line with GDPR/CCPA and your local laws (lawful basis for B2B outreach, honor opt-outs, etc.). You are responsible for how you use the leads.

**Why don't I get an email or phone number?** Those are not public on LinkedIn profiles, so they are not in Google's index. This actor returns the publicly visible fields only. Pair it with an email-finder/enrichment actor if you need contact details.

**Why fewer results than the company's real headcount?** Coverage is limited to profiles Google has indexed and that mention the company name publicly. Large companies return more; very small or stealth companies return fewer. Dropping the `jobTitle` widens the net.

**Some `headline` or `location` fields are missing.** Google's snippet doesn't always expose them. The `name` and `linkedin_url` are always present; the rest is best-effort.

**Can I narrow by seniority or department?** Yes — put it in `jobTitle` (e.g. `VP marketing`, `staff engineer`, `talent acquisition`).

# Actor input Schema

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

The company whose employees you want to find on LinkedIn (e.g. "Stripe", "Shopify", "Tata Consultancy Services"). Used to match public LinkedIn profiles via Google.

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

Optional role or keyword to narrow results (e.g. "engineer", "sales", "recruiter", "product manager"). Leave blank to return employees across all roles.

## `maxResults` (type: `integer`):

Maximum number of employee profiles to return.

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

Results are fetched from Google search. The GOOGLE\_SERP proxy group returns raw Google SERP HTML and is strongly recommended. RESIDENTIAL also works as a fallback.

## `debugSnippets` (type: `boolean`):

Internal: log raw result snippets to diagnose location parsing.

## Actor input object example

```json
{
  "companyName": "Stripe",
  "jobTitle": "engineer",
  "maxResults": 15,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "GOOGLE_SERP"
    ]
  },
  "debugSnippets": false
}
```

# 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 = {
    "companyName": "Stripe",
    "jobTitle": "engineer",
    "maxResults": 15,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "GOOGLE_SERP"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("themineworks/linkedin-employees").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 = {
    "companyName": "Stripe",
    "jobTitle": "engineer",
    "maxResults": 15,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["GOOGLE_SERP"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("themineworks/linkedin-employees").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 '{
  "companyName": "Stripe",
  "jobTitle": "engineer",
  "maxResults": 15,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "GOOGLE_SERP"
    ]
  }
}' |
apify call themineworks/linkedin-employees --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "LinkedIn Employees Scraper - B2B Leads (No Login)",
        "description": "Affordable LinkedIn employees scraper: B2B leads, no login. $2/1,000 results, 25 free, pay-per-result, no subscription. Works in Claude, ChatGPT & any MCP-compatible AI agent.",
        "version": "0.1",
        "x-build-id": "KC8FN3QFEh9p3Eu7Z"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/themineworks~linkedin-employees/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-themineworks-linkedin-employees",
                "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/themineworks~linkedin-employees/runs": {
            "post": {
                "operationId": "runs-sync-themineworks-linkedin-employees",
                "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/themineworks~linkedin-employees/run-sync": {
            "post": {
                "operationId": "run-sync-themineworks-linkedin-employees",
                "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",
                "properties": {
                    "companyName": {
                        "title": "Company name",
                        "type": "string",
                        "description": "The company whose employees you want to find on LinkedIn (e.g. \"Stripe\", \"Shopify\", \"Tata Consultancy Services\"). Used to match public LinkedIn profiles via Google."
                    },
                    "jobTitle": {
                        "title": "Job title / keyword (optional)",
                        "type": "string",
                        "description": "Optional role or keyword to narrow results (e.g. \"engineer\", \"sales\", \"recruiter\", \"product manager\"). Leave blank to return employees across all roles."
                    },
                    "maxResults": {
                        "title": "Max profiles",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of employee profiles to return.",
                        "default": 50
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Results are fetched from Google search. The GOOGLE_SERP proxy group returns raw Google SERP HTML and is strongly recommended. RESIDENTIAL also works as a fallback.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "GOOGLE_SERP"
                            ]
                        }
                    },
                    "debugSnippets": {
                        "title": "Debug snippets (internal)",
                        "type": "boolean",
                        "description": "Internal: log raw result snippets to diagnose location parsing.",
                        "default": false
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
