# LinkedIn Profile & Company Scraper - Free Lead Generation (`cryptosignals/linkedin-profile-scraper`) Actor

LinkedIn Profile scraper 2026 — extract public profiles, work history and skills data without API access. Pay-per-result pricing. Returns structured JSON. Perfect for recruiting, sales prospecting and professional network analysis.

- **URL**: https://apify.com/cryptosignals/linkedin-profile-scraper.md
- **Developed by:** [Web Data Labs](https://apify.com/cryptosignals) (community)
- **Categories:** Lead generation, Jobs
- **Stats:** 107 total users, 9 monthly users, 50.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 result scrapeds

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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 & Company Scraper — Free, No Login Required

Scrape public LinkedIn profile and company page data without login credentials or API access. Extracts information from publicly visible meta tags and structured data (JSON-LD).

### What It Does

This actor fetches publicly available data from LinkedIn profiles and company pages. It works by reading meta tags, Open Graph data, and JSON-LD structured data — no LinkedIn login or cookies required.

Supports batch scraping of multiple profiles or companies in a single run.

### Input Parameters

| Field | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| `action` | string | No | `profile` | `profile` for personal profiles, `company` for company pages |
| `username` | string | Yes | — | LinkedIn username or company slug. Comma-separated for multiple. |
| `maxResults` | integer | No | 1 | Max profiles/companies to scrape (max 50) |

**Username examples:**

- Profile: `williamhgates` (from linkedin.com/in/williamhgates)
- Company: `microsoft` (from linkedin.com/company/microsoft)

### Output Format

#### Profile

```json
{
  "username": "williamhgates",
  "name": "Bill Gates",
  "headline": "Co-chair, Bill & Melinda Gates Foundation",
  "location": "Seattle, Washington, United States",
  "profileUrl": "https://www.linkedin.com/in/williamhgates",
  "profileImage": "https://media.licdn.com/dms/image/...",
  "source": "meta_tags"
}
```

#### Company

```json
{
  "slug": "microsoft",
  "name": "Microsoft",
  "description": "Every company has a mission...",
  "website": "https://www.microsoft.com/",
  "industry": "Software Development",
  "companySize": "10,001+ employees",
  "headquarters": "Redmond, Washington",
  "companyUrl": "https://www.linkedin.com/company/microsoft",
  "logoUrl": "https://media.licdn.com/dms/image/...",
  "source": "json_ld"
}
```

### Use Cases

- **Sales prospecting** — Gather basic profile info for outreach lists
- **Company research** — Get company overview, size, and industry classification
- **Recruiting** — Quickly collect candidate headline and location data
- **Competitive intelligence** — Monitor company pages for description and headcount changes

### How to Run via API

```python
import requests

run = requests.post(
    "https://api.apify.com/v2/acts/cryptosignals~linkedin-profile-scraper/runs",
    params={"token": "YOUR_API_TOKEN"},
    json={
        "action": "profile",
        "username": "williamhgates,satyanadella",
        "maxResults": 2
    }
).json()

dataset_id = run["data"]["defaultDatasetId"]
results = requests.get(
    f"https://api.apify.com/v2/datasets/%7Bdataset_id%7D/items"
).json()

for p in results:
    print(f"{p['name']} — {p['headline']}")
```

### Proxy Recommendation

LinkedIn can restrict access from datacenter IPs. For reliable scraping at scale, use residential proxies. We recommend [ThorData](https://thordata.partnerstack.com/partner/0a0x4nzh) — their residential proxies provide consistent access to LinkedIn public pages.

### Related Actors

- [cryptosignals/google-search-scraper](https://apify.com/cryptosignals/google-search-scraper) — Find LinkedIn profiles via search
- [cryptosignals/producthunt-daily-scraper](https://apify.com/cryptosignals/producthunt-daily-scraper) — Discover new companies launching daily

### Handling CAPTCHAs and IP Blocks

Many websites detect and block datacenter IPs. If you're seeing empty results or CAPTCHA errors, use a residential proxy service.

**Recommended:** [ThorData Residential Proxies](https://thordata.partnerstack.com/partner/0a0x4nzh) — rotating residential IPs that bypass most anti-bot systems. Configure in the Proxy settings when running this Actor.

Without a proxy, this Actor works best for low-volume, non-commercial use cases.

# Actor input Schema

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

LinkedIn profile URL (e.g. https://www.linkedin.com/in/williamhgates)

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

LinkedIn username (e.g. williamhgates). Alternative to Profile URL.

## `profileUrls` (type: `array`):

List of LinkedIn profile URLs for batch scraping.

## `maxItems` (type: `integer`):

Maximum number of profiles to scrape. Default: all provided, max 50.

## Actor input object example

```json
{
  "profileUrl": "https://www.linkedin.com/in/williamhgates",
  "profileUrls": [],
  "maxItems": 50
}
```

# Actor output Schema

## `dataset` (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 = {
    "profileUrl": "https://www.linkedin.com/in/williamhgates",
    "username": "",
    "profileUrls": [],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("cryptosignals/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 = {
    "profileUrl": "https://www.linkedin.com/in/williamhgates",
    "username": "",
    "profileUrls": [],
    "maxItems": 50,
}

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

```

## MCP server setup

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