# LinkedIn Public Profile Scraper (`datascraperes/linkedin-public-profile-scraper`) Actor

Extract public LinkedIn profiles without login or cookies. Pay per successful profile event: $1.00 per 1,000 on Free, $0.90 Bronze, $0.80 Silver, and $0.75 per 1,000 on Gold, Platinum or Diamond. Unsuccessful inputs do not create a profile charge.

- **URL**: https://apify.com/datascraperes/linkedin-public-profile-scraper.md
- **Developed by:** [DataScraperES](https://apify.com/datascraperes) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 11 total users, 5 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.75 / 1,000 public linkedin profile extracteds

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?

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

Turn public LinkedIn profile URLs into structured, auditable profile data without supplying a LinkedIn login or cookies. Submit one or more `/in/` URLs and receive one Dataset item per processed input, including explicit status and data-quality information.

### What this Actor does

The Actor reads LinkedIn's public guest view and extracts the fields the page exposes, such as name, headline, location, follower and connection counts, profile picture, About, experience, education, skills, certifications, and languages. Missing values remain `null` or empty arrays; they are not inferred.

### Use cases

- Enrich public professional-profile lists for research or CRM review.
- Audit which public fields are available before a data workflow uses them.
- Monitor public professional identity and career information over time.

### How to use

1. Open the Actor in Apify Console.
2. Add one or more public LinkedIn profile URLs.
3. Click **Start** and open the Dataset when the run finishes.

### Input

`profileUrls` is required and accepts public URLs in the form `https://www.linkedin.com/in/<public-identifier>/`. At least one URL is required. Duplicates are preserved, so the same successful URL submitted twice can create two results and two charges. Company, job, post, and non-LinkedIn URLs are returned with `status: "invalid_url"`.

This exact input produced the complete output example below:

```json
{
  "profileUrls": [
    "https://www.linkedin.com/in/satyanadella/"
  ]
}
```

### Output

The default Dataset contains one auditable row per processed URL. Start with `success`, `status`, and `error`; successful rows contain `profile` and `dataQuality`. Possible non-success statuses include `invalid_url`, `not_found`, `login_required`, `blocked`, `rate_limited`, `network_error`, and `parse_error`. The Key-value store's `SUMMARY` record reports run totals and any URLs left after a spending limit.

This is the complete first Dataset item from a real successful run:

```json
{
  "success": true,
  "status": "success",
  "inputUrl": "https://www.linkedin.com/in/satyanadella/",
  "profileUrl": "https://www.linkedin.com/in/satyanadella/",
  "publicIdentifier": "satyanadella",
  "scrapedAt": "2026-08-20T14:00:51.759028Z",
  "error": null,
  "profile": {
    "fullName": "Satya Nadella",
    "headline": null,
    "location": "Redmond, Washington, United States",
    "followers": "12M",
    "followersText": "12M followers",
    "connections": "500+",
    "connectionsText": "500+ connections",
    "about": null,
    "profilePictureUrl": "https://media.licdn.com/dms/image/v2/C5603AQHHUuOSlRVA1w/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1579726625398?e=2147483647&v=beta&t=Rr7WT9uBM0byOij0oT_KirejIMVE4HK4r8NGIp0zjdI",
    "experience": [],
    "education": [],
    "skills": [],
    "certifications": [],
    "languages": []
  },
  "dataQuality": {
    "level": "extended",
    "publicFields": [
      "fullName",
      "location",
      "followers",
      "connections",
      "profilePictureUrl"
    ],
    "publicFieldCount": 5
  }
}
```

Results can be exported from Apify as JSON, JSONL, CSV, Excel, XML, or RSS.

### Pricing

The verified pricing model is pay per event. Each successful profile row creates one `profile` event; invalid URLs and unsuccessful extractions do not create that charge. Apify resolves the price automatically from the user's Store plan:

| Apify plan | Price per profile | Price per 1,000 profiles |
|---|---:|---:|
| Free | $0.001 | $1.00 |
| Bronze | $0.0009 | $0.90 |
| Silver | $0.0008 | $0.80 |
| Gold | $0.00075 | $0.75 |
| Platinum | $0.00075 | $0.75 |
| Diamond | $0.00075 | $0.75 |

Duplicate inputs are processed independently and can each be charged when successful. Apify platform usage such as storage or data transfer may still apply according to your plan.

### API and integrations

Run the Actor from Apify Console, the Apify API, CLI, schedules, or webhooks. Consume the default Dataset through its API URL, connect it to supported integrations, and read `SUMMARY` when you need completion and spending-limit information.

### Related Actors

| Actor | Best for |
|---|---|
| [LinkedIn Company Profile Scraper - No Login](https://apify.com/datascraperes/linkedin-company) | Enriching the public company behind a person or employer. |
| [Instagram Profile Scraper - No Login](https://apify.com/datascraperes/instagram-profile-scraper-no-login) | Collecting public creator or brand profile data from Instagram. |
| [TikTok Profile Scraper – Bio, Stats & Playlists](https://apify.com/datascraperes/tiktok-profile-scraper) | Comparing public identity, audience, and profile signals on TikTok. |

### Limits and data quality

LinkedIn decides which fields appear in its public guest view, so coverage varies by profile, region, and time. Use `dataQuality.publicFields` instead of assuming every successful profile has the same sections. A temporary block or rate limit may produce a status row rather than profile data; retry temporary failures later. A run spending limit can stop processing before every URL is completed, with remaining URLs recorded in `SUMMARY.remaining`.

### Frequently asked questions

#### Does the Actor require a LinkedIn account?

No. It uses only the public guest view and does not accept LinkedIn credentials or cookies.

#### Why are some profile fields null or empty?

The public page did not expose those fields at collection time. The Actor does not guess or enrich unavailable values from other sources.

### Responsible use

Use only publicly available data for lawful purposes. You are responsible for complying with LinkedIn's terms, applicable privacy and data-protection laws, and the rights of the people represented in the data. Do not use the results for spam, harassment, discrimination, or unlawful high-impact decisions.

### Support

Open an issue in the Actor's **Issues** tab and include the run ID, a reproducible public input URL, and the unexpected status or field.

[Web guide, API examples and sample dataset on GitHub](https://github.com/datacrawler-edu/linkedin-public-profile-scraper)

# Actor input Schema

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

Public LinkedIn profile URLs in the form https://www.linkedin.com/in/username. Duplicates are preserved so every submitted input can have a corresponding result unless the run spending limit is reached.

## Actor input object example

```json
{
  "profileUrls": [
    "https://www.linkedin.com/in/satyanadella/"
  ]
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "profileUrls": [
        "https://www.linkedin.com/in/satyanadella/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datascraperes/linkedin-public-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 = { "profileUrls": ["https://www.linkedin.com/in/satyanadella/"] }

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

```

## MCP server setup

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