# LinkedIn People & Company Lead Suite (`muhammadafzal/linkedin-people-company-lead-suite`) Actor

Extract public LinkedIn person and company lead records from supplied URLs using direct public-page parsing first, with an optional ScrapeCreators fallback when LinkedIn blocks or omits usable data.

- **URL**: https://apify.com/muhammadafzal/linkedin-people-company-lead-suite.md
- **Developed by:** [Muhammad Afzal](https://apify.com/muhammadafzal) (community)
- **Categories:** Lead generation, Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 linkedin lead records

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 People & Company Lead Suite

**Free plan limit:** Free-plan users can receive up to **5 result records per run**. Paid-plan and local/unknown runs retain the Actor's existing limits.

Extract structured public LinkedIn person and company lead records from supplied URLs for CRM enrichment, recruiting research, account research, and lead qualification.

### What it returns

Each dataset item contains `recordType`, `source`, `linkedinUrl`, `name`, `headline`, `location`, `about`, `followers`, `companyId`, `employeeCount`, `industry`, `website`, `description`, `logoUrl`, and `rawFields`.

### Input

Provide one or more public URLs in `personUrls` and/or `companyUrls`. The Actor accepts up to 50 total records. `fallbackMode` defaults to `fallback`: it tries a direct public HTML extraction first and then uses ScrapeCreators only when the direct path is blocked or has no usable identity fields. Set `providerOnly` to use the provider for every URL, or `direct` to disable the provider.

The fallback reads `SCRAPECREATORS_API_KEY` from the Actor environment. Do not put API keys in input, URLs, README files, or source code.

### Example input

```json
{
  "personUrls": ["https://www.linkedin.com/in/example/"],
  "companyUrls": ["https://www.linkedin.com/company/shopify/"],
  "fallbackMode": "fallback",
  "maxResults": 25
}
```

### Public-data limits and compliance

This Actor uses only public pages or an authorized public-data provider. It does not log in, accept LinkedIn cookies, bypass CAPTCHAs or challenges, or claim access to private member data. LinkedIn public pages may omit current job titles and work history; unavailable values are returned as `null`. Use the data lawfully, respect applicable LinkedIn/provider terms, and honor privacy, opt-out, and retention requirements.

### Pricing

This Actor uses **pay-per-event** pricing. These are the current Apify Store event prices:

| Event | Price (USD) | When it is charged |
|---|---:|---|
| `linkedin-lead-record` | $0.01 | LinkedIn lead record — One validated public person or company lead record delivered to the default dataset. |
| `apify-actor-start` | $0.00005 | Actor Start — Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). — Charged once per run. |

Apify platform usage for this Actor run is included alongside the event prices above; no separate per-run platform-usage fee is passed to users.

This covers Apify platform usage for this Actor run. Other Apify products or usage outside this Actor run may still follow your account plan.

### Failure behavior

Blocked or unavailable pages produce warnings in the `SUMMARY` key-value record and do not create fabricated dataset rows. Invalid URL sets are rejected before result charging. Partial valid results are preserved.

# Actor input Schema

## `personUrls` (type: `array`):

Use this for public LinkedIn /in/ profile URLs, one per line. Example: https://www.linkedin.com/in/example/. Max 25 URLs. Do not provide login URLs or private identifiers.

## `companyUrls` (type: `array`):

Use this for public LinkedIn /company/ page URLs, one per line. Example: https://www.linkedin.com/company/shopify/. Max 25 URLs. Do not provide private or authenticated URLs.

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

Use direct to parse public HTML only, fallback to use ScrapeCreators when direct extraction is blocked or empty, or providerOnly for authorized provider-backed extraction. The provider key must be configured as SCRAPECREATORS_API_KEY in the Actor environment.

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

Maximum total person and company records to return. Use 1 to 50. Defaults to 25.

## `requestDelayMs` (type: `integer`):

Respectful delay between direct LinkedIn requests. Use 500 to 10000 milliseconds. Defaults to 1200.

## Actor input object example

```json
{
  "personUrls": [],
  "companyUrls": [],
  "fallbackMode": "fallback",
  "maxResults": 25,
  "requestDelayMs": 1200
}
```

# Actor output Schema

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

Structured person and company lead records returned by the Actor.

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

Delivery counts, access-path attempts, and warnings.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("muhammadafzal/linkedin-people-company-lead-suite").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("muhammadafzal/linkedin-people-company-lead-suite").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 '{}' |
apify call muhammadafzal/linkedin-people-company-lead-suite --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,muhammadafzal/linkedin-people-company-lead-suite"
        }
    }
}
```

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/I5e2frVZnf9FssqJ3/builds/zJVe4DNc1jGi7mwY8/openapi.json
