# LinkedIn Company Profile Scraper (`pratikdani/linkedin-company-profile-scraper`) Actor

This LinkedIn company extractor program enables you to gather comprehensive information on multiple companies in bulk. It provides details such as company name, address, phone numbers, website, employee count, and more.

- **URL**: https://apify.com/pratikdani/linkedin-company-profile-scraper.md
- **Developed by:** [Pratik Dani](https://apify.com/pratikdani) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2,012 total users, 95 monthly users, 90.5% runs succeeded, 71 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

from $1.50 / 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.
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 Company Scraper

Interested in using this scraper? Get it here: [LinkedIn Company Scraper](https://datamagnet.com/pratikdani/linkedin-company-profile-scraper). Scrape LinkedIn companies and extract complete information in bulk.

### Pricing

For better pricing you can signup here https://datamagnet.co

### Features

**Data Export and Integration:** Once the scraping process is complete, you can easily export the extracted data in various formats such as JSON, CSV, or Excel. You can select the fields you want, allowing for seamless integration with other tools and platforms for further analysis and utilization.

**Automatic Retry and Error Handling:** In case of temporary issues like network failures or timeouts, the actor has built-in automatic retry functionality. It intelligently handles errors to ensure a smooth and uninterrupted scraping experience.

**Ability to Resume Last Failed Runs:** In case of unexpected errors, you can simply go to the actor's last run page and click on the 'Resurrect' button to resume the last scraping progress.

### Integrations

You can use [Make](https://www.make.com/en/register) to integrate the LinkedIn company scraper with any other SaaS platform by designing your own automation flows.

### Sample Output

Here is a sample output of this actor:

```json
{
  "affiliated_pages_data": [],
  "background_cover_image_url": null,
  "company_id": "162479",
  "company_name": "Apple",
  "company_type": "Public Company",
  "description": "We’re a diverse collective of thinkers and doers, continually reimagining what’s possible to help us all do what we love in new ways. And the same innovation that goes into our products also applies to our practices — strengthening our commitment to leave the world better than we found it. This is where your work can make a difference in people’s lives. Including your own.\n\nApple is an equal opportunity employer that is committed to inclusion and diversity. Visit apple.com/careers to learn more.",
  "employees": "171,148",
  "employees_data": [
    {
      "link": "https://www.linkedin.com/in/pdking?trk=org-employees",
      "name": "Paul King",
      "title": "Sr. Data Science Manager at Apple; fmr Computational Neuroscientist, Software Technologist"
    },
    {
      "link": "https://www.linkedin.com/in/instanttim?trk=org-employees",
      "name": "Timothy Martin",
      "title": null
    },
    {
      "link": "https://www.linkedin.com/in/evitiello?trk=org-employees",
      "name": "Eric Vitiello",
      "title": "Software Engineering Manager at Apple"
    },
    {
      "link": "https://www.linkedin.com/in/kevinlynch2?trk=org-employees",
      "name": "Kevin Lynch",
      "title": "VP Technology, Apple"
    }
  ],
  "followers": "17,563,839",
  "founded_year": "1976",
  "headcount": "10,001+ employees",
  "hq_address": {
    "is_hq": true,
    "line_1": "1 Apple Park Way",
    "line_2": "Cupertino, California 95014, US"
  },
  "industry": "Computers and Electronics Manufacturing",
  "location": "Cupertino, California",
  "profile_pic_url": null,
  "similar_pages_data": [
    {
      "industry": "Software Development",
      "link": "https://www.linkedin.com/company/google?trk=similar-pages",
      "location": "Mountain View, CA",
      "name": "Google"
    },
    {
      "industry": "Software Development",
      "link": "https://www.linkedin.com/company/amazon?trk=similar-pages",
      "location": "Seattle, WA",
      "name": "Amazon"
    },
    {
      "industry": "Software Development",
      "link": "https://www.linkedin.com/company/microsoft?trk=similar-pages",
      "location": "Redmond, Washington",
      "name": "Microsoft"
    },
    {
      "industry": "Entertainment Providers",
      "link": "https://www.linkedin.com/company/netflix?trk=similar-pages",
      "location": "Los Gatos, CA",
      "name": "Netflix"
    },
    {
      "industry": "Software Development",
      "link": "https://www.linkedin.com/company/meta?trk=similar-pages",
      "location": "Menlo Park, CA",
      "name": "Meta"
    },
    {
      "industry": "Motor Vehicle Manufacturing",
      "link": "https://www.linkedin.com/company/tesla-motors?trk=similar-pages",
      "location": "Austin, Texas",
      "name": "Tesla"
    },
    {
      "industry": "Musicians",
      "link": "https://se.linkedin.com/company/spotify?trk=similar-pages",
      "location": "Stockholm, Stockholm County",
      "name": "Spotify"
    },
    {
      "industry": "IT Services and IT Consulting",
      "link": "https://www.linkedin.com/company/ibm?trk=similar-pages",
      "location": "Armonk, New York, NY",
      "name": "IBM"
    },
    {
      "industry": "Business Consulting and Services",
      "link": "https://www.linkedin.com/company/deloitte?trk=similar-pages",
      "location": null,
      "name": "Deloitte"
    },
    {
      "industry": "Software Development",
      "link": "https://www.linkedin.com/company/linkedin?trk=similar-pages",
      "location": "Sunnyvale, CA",
      "name": "LinkedIn"
    }
  ],
  "specialities": [
    "Innovative Product Development",
    "World-Class Operations",
    "Retail",
    "Telephone Support"
  ],
  "tagline": null,
  "universal_name_id": "apple",
  "update_data": [],
  "website": "http://www.apple.com/careers"
}
```

### Output Data Documentation

Here is the JSON fields documentation without including the sample values:

- **company_name** (string): The name of the company.
- **affiliated_pages_data** (string): List of affiliated companies.
- **background_cover_image_url** (string): The URL of the company's background cover image.
- **company_id** (string): LinkedIn's internal and immutable ID of this company profile.
- **company_type** (string): The type of company (e.g., Public Company).
- **description** (string): A textual description of the company.
- **employees** (string): The number of employees as indicated on LinkedIn.
- **followers** (string): The number of followers of the company.
- **founded_year** (string): The year the company was founded.
- **headcount** (string): The range of company headcount.
- **hq_address** (string): The company's headquarters address.
- **industry** (string): The industry in which the company operates.
- **location** (string): The location of the company.
- **profile_pic_url** (string): The URL of the company's profile picture.
- **similar_pages_data** (string): List of similar companies.
- **specialities** (string): A list of specialties.
- **tagline** (string): A short, catchy phrase that represents the company's mission or brand.
- **universal_name_id** (string): A unique numerical identifier for the company used on the LinkedIn platform.
- **update_data** (string): List of company updates.
- **website** (string): The company's website.

# Actor input Schema

## `url` (type: `string`):

URL of the Company profile of LinkedIn

## Actor input object example

```json
{
  "url": "https://linkedin.com/company/apple"
}
```

# 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 = {
    "url": "https://linkedin.com/company/apple"
};

// Run the Actor and wait for it to finish
const run = await client.actor("pratikdani/linkedin-company-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 = { "url": "https://linkedin.com/company/apple" }

# Run the Actor and wait for it to finish
run = client.actor("pratikdani/linkedin-company-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 '{
  "url": "https://linkedin.com/company/apple"
}' |
apify call pratikdani/linkedin-company-profile-scraper --silent --output-dataset

```

## MCP server setup

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