# LinkedIn Company Detail Scraper (`forlex/linkedin-company-scraper`) Actor

Extract detailed LinkedIn company data instantly. Get company overview, employee count, locations, funding info, and more. Clean, structured data.

- **URL**: https://apify.com/forlex/linkedin-company-scraper.md
- **Developed by:** [Rifky Afriza](https://apify.com/forlex) (community)
- **Categories:** Lead generation, Jobs, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $5.00 / 1,000 results

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 Company Detail Scraper

> **Extract detailed LinkedIn company data instantly. Get company overview, employee count, locations, funding info, and more. Perfect for market research, lead generation, and competitor analysis.** — search by keyword or start URLs, bypass anti-bot protections seamlessly. Get comprehensive fields including Company Name, Industry, Employee Count, Follower Count, About, Website, Headquarters, Founded. **Flat $0.005/item** — simple, predictable, and scalable pricing.

[![Apify Store](https://imgshields.io/badge/Apify%20Store-Live-brightgreen)](#)
[![Pay Per Event](https://img.shields.io/badge/Pricing-Pay%20Per%20Event-blue)](https://docs.apify.com/platform/actors/publishing/monetize/pay-per-event)
[![No Auth Required](https://img.shields.io/badge/Auth-None%20Required-success)](#)

---

### 🚀 Why This Actor?

| Feature | This Actor | Competitors |
|---------|-----------|-------------|
| **Price per item** | **$0.005 flat** | Same or higher |
| **Compute Costs** | **Included** | Hidden (You pay for their slow code) |
| **Empty Results** | **NEVER Charged** | You pay for empty data |
| **Anti-bot Bypass**| **Native (Playwright)** | Fails frequently |
| **Input Fields** | **Simple & Direct** | Confusing and broken |

---

### ✨ Features

- 🔍 **Multiple Input Formats** — Supports URLs, URNs, slugs, or raw search terms.
- 📄 **Structured Output Fields** — Company Name, Industry, Employee Count, Follower Count, About, Website, Headquarters, Founded.
- 🛡️ **Anti-bot Bypass** — utilizes Playwright browsers to render properly and bypass Datadome.
- 💰 **Flat Pricing** — $0.15 Base + $0.005/item. No hidden compute fees. We never charge for blank results.
- 📦 **Multiple Export Formats** — JSON, CSV, Excel, XML, HTML Table.

---

### 🎯 Use Cases

| Audience | Applications |
|----------|--------------|
| **B2B Sales & Marketing** | Lead enrichment and CRM data cleansing |
| **Market Researchers** | Competitor analysis and industry mapping |
| **Recruiters** | Headcount and talent pool analysis |
| **Investors** | Due diligence and portfolio tracking |

---

### 💡 Quick Start

#### 1. Sign Up (Free $5 Credit)

[![Create Free Account](https://img.shields.io/badge/Create%20Free%20Account-%245%20Credit-00D4AA?style=for-the-badge)](https://apify.com?fpr=5uxnkx)

> Uses our referral link — you get $5 free credit to test immediately.

#### 2. Run Your First Search

```json
{
  "identifier": [
    "google",
    "https://www.linkedin.com/company/youtube"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
````

#### 3. Download Results

Results appear in the **Dataset** tab. Export as JSON, CSV, Excel, XML, or HTML Table.

***

### ⚙️ Input Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `🏢 identifier` | array | Yes | — | LinkedIn company identifier (name, slug, or URL). |
| `🛡️ proxyConfiguration`| object | Yes | `Apify Proxy`| Residential Proxies are required for LinkedIn. |

***

### 📊 Output Example

Each item in the dataset contains the following fields:

```json
{
  "url": "https://www.linkedin.com/company/google",
  "name": "Google",
  "industry": "Software Development",
  "employeeCount": 314932,
  "followerCount": 42045202,
  "about": "A problem isn't truly solved until it's solved for all...",
  "website": "https://goo.gle/3DLEokh",
  "headquarters": "Mountain View, CA, US",
  "founded": "",
  "specialties": [
    "search",
    "ads",
    "mobile",
    "android",
    "cloud"
  ],
  "logo": "https://media.licdn.com/dms/image/v2/...",
  "organizationType": "Public Company",
  "locations": [
    "1600 Amphitheatre Parkway Mountain View 94043 CA US",
    "111 8th Ave New York 10011 NY US"
  ]
}
```

#### Data Fields

| Field | Type | Description |
|-------|------|-------------|
| `url` | string | Direct link to the company page |
| `name` | string | Company Name |
| `industry` | string | Main industry |
| `employeeCount` | number | Number of employees |
| `followerCount` | number | Number of followers |
| `about` | string | Description / About text |
| `website` | string | Official website URL |
| `headquarters` | string | Headquarters location |
| `founded` | string | Founding year |
| `specialties` | array | List of company specialties |
| `logo` | string | URL of the company logo |
| `organizationType`| string | E.g. Public Company, Privately Held |
| `locations` | array | List of all office locations |

> You can download the dataset in various formats such as **JSON, HTML, CSV, or Excel**.

***

### 💰 Pricing (Pay Per Event)

| Event | Rate |
|-------|-----------|
| **Result Item** (`apify-default-dataset-item`) | **$0.005** |

**Examples:**

- 100 items: 100 × $0.005 = **$0.50**
- 1,000 items: 1,000 × $0.005 = **$5.00**

> 💡 **You ONLY pay for successful extractions.** If a company doesn't exist or isn't found, you are charged $0.00. There are no heavy startup fees or hidden compute costs.

***

### 🔧 Integration (API)

#### Node.js

```bash
npm install apify-client
```

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const run = await client.actor('forlex/linkedin-company-detail').call({
  identifier: ['google', 'youtube']
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```bash
pip install apify-client
```

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("forlex/linkedin-company-detail").call(
    run_input={"identifier": ["google", "youtube"]}
)

items = client.dataset(run["defaultDatasetId"]).list_items().items
for item in items:
    print(item["name"], item["website"])
```

***

### 💡 Tips & Advanced Options

- **Optimize speed**: Run smaller batches of URLs for faster results.
- **Reduce costs**: We only charge for successful extractions. Blank results are skipped.
- **Proxy rotation**: Apify Residential Proxy is required and handles rotation automatically.

***

### ❓ FAQ, Disclaimers & Support

#### Is it legal to scrape LinkedIn?

Web scraping of publicly available data is generally legal. This Actor only extracts publicly visible information and does not bypass any login walls or access private data. Always review the target website's Terms of Service before scraping.

#### What if the Actor stops working?

Websites change their structure regularly. If you encounter issues, please report them in the [Issues tab](https://console.apify.com/actors/forlex/linkedin-company-detail/issues) and we'll fix it promptly.

#### Can I get a custom solution?

Yes! If you need additional fields, custom data transformations, or a scraper for a different site, reach out through the Issues tab.

***

<div align="center">

**Built with ❤️ by Rifky · Powered by [Apify](https://apify.com?fpr=5uxnkx)**

</div>

# Actor input Schema

## `identifier` (type: `array`):

LinkedIn company identifier (name, slug, or URL) (e.g., 'google' or 'https://www.linkedin.com/company/google/')

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

Select the proxy configuration. Residential proxies are recommended for LinkedIn.

## Actor input object example

```json
{
  "identifier": [
    "youtube",
    "google"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "identifier": [
        "youtube",
        "google"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("forlex/linkedin-company-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 = { "identifier": [
        "youtube",
        "google",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("forlex/linkedin-company-scraper").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 '{
  "identifier": [
    "youtube",
    "google"
  ]
}' |
apify call forlex/linkedin-company-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "LinkedIn Company Detail Scraper",
        "description": "Extract detailed LinkedIn company data instantly. Get company overview, employee count, locations, funding info, and more. Clean, structured data.",
        "version": "0.0",
        "x-build-id": "jg8SkeACcUf7dKTXW"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/forlex~linkedin-company-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-forlex-linkedin-company-scraper",
                "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/forlex~linkedin-company-scraper/runs": {
            "post": {
                "operationId": "runs-sync-forlex-linkedin-company-scraper",
                "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/forlex~linkedin-company-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-forlex-linkedin-company-scraper",
                "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",
                "required": [
                    "identifier"
                ],
                "properties": {
                    "identifier": {
                        "title": "🏢 Company Identifier",
                        "type": "array",
                        "description": "LinkedIn company identifier (name, slug, or URL) (e.g., 'google' or 'https://www.linkedin.com/company/google/')",
                        "items": {
                            "type": "string"
                        }
                    },
                    "proxyConfiguration": {
                        "title": "🛡️ Proxy Configuration",
                        "type": "object",
                        "description": "Select the proxy configuration. Residential proxies are recommended for LinkedIn.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
