# LinkedIn Company Scraper - Company Details, Size & Website (`socialscrapers/linkedin-company-scraper`) Actor

LinkedIn company scraper for public company pages: paste company links or names and get industry, company size, employees on LinkedIn, website, headquarters, locations, founded year, specialties, followers, logo and similar pages. No login or cookies. JSON, CSV, Excel. $2.00 per 1,000 companies.

- **URL**: https://apify.com/socialscrapers/linkedin-company-scraper.md
- **Developed by:** [Social Scrapers](https://apify.com/socialscrapers) (community)
- **Categories:** Lead generation, Social media, Marketing
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 companies

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/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

**LinkedIn Company Scraper** collects company details from public LinkedIn company pages, with no LinkedIn account, cookies or login. Give it company page links, page IDs or company names, and get one clean record per company: industry, company size, employees on LinkedIn, website, headquarters and full address, office locations, founded year, specialties, followers, tagline, About text, logo, cover image, and the affiliated and similar pages LinkedIn links to. It costs **$2.00 per 1,000 companies**.

> 💡 **Need a feature that isn't here? Just ask.** Open an issue on the **Issues** tab and tell us what you need: a new field, filter, input type or output format. We build requested features fast, usually within 24 hours, at no extra cost.

> ⭐ **Found it useful?** A short review on the **Reviews** tab helps other people find this scraper, and tells us what to build next.

### What does LinkedIn Company Scraper do?

- **Company pages in, company records out.** Paste `linkedin.com/company/…` links (showcase pages work too), page IDs such as `microsoft` or `tesla-motors`, or plain company names such as `Goldman Sachs`. Tracking parameters, country domains and links to a page's tabs (`/about`, `/posts`, `/jobs`) are all fine.
- **The details LinkedIn shows publicly.** Name, numeric company ID, tagline, About text, website, industry, size range (also as numbers), employees on LinkedIn, followers, organization type, founded year, specialties, headquarters with its street address, every office location, logo and cover image.
- **Related companies.** Each record lists the page's affiliated pages (subsidiaries and showcase pages) and the similar pages LinkedIn suggests, with name, link, industry and location: a quick way to grow a list of competitors.
- **Bulk-ready.** Hundreds or thousands of companies per run, read in parallel, with a **Max companies** cap. The same company given twice (or under an old address) is saved and charged once.
- **Pay only for what you get.** Pages that do not exist and pages LinkedIn refuses cost nothing. The run stops cleanly at the spending limit you set.

### What data can you extract?

One item per company. Every field is always present; `null` or `[]` means the page does not show it.

| Field | Description |
|---|---|
| `name`, `companyId`, `urn`, `slug`, `pageType`, `url` | Company name, LinkedIn's numeric ID and URN, the page's public ID, `company` or `showcase`, and its link |
| `tagline`, `description` | The tagline under the name and the full About text |
| `website`, `industry`, `organizationType`, `foundedYear` | Website, industry, type (Public Company, Privately Held, Nonprofit…), year founded |
| `companySize`, `companySizeMin`, `companySizeMax` | Size range as shown ("1,001-5,000 employees") and as numbers |
| `employeesOnLinkedIn`, `followers` | Members who list the company as their employer, and page followers |
| `headquarters`, `headquartersAddress` | Headquarters city and region, plus street, city, region, postal code and country |
| `locations` | Every office listed: full address, address lines, country code, primary or not |
| `specialties` | The specialties the company lists, as an array |
| `logoUrl`, `coverImageUrl` | Logo and cover image |
| `affiliatedPages`, `similarPages` | Related pages: `name`, `url`, `industry`, `location`, `logoUrl` |
| `inputUrl`, `scrapedAt` | The entry of your input it came from, and when it was scraped |

### How to scrape LinkedIn company data

1. Open the Actor and paste company page links, page IDs or company names into **Companies**, one per line.
2. Optionally set **Max companies** to cap the run.
3. Click **Start**.
4. Download the results as JSON, CSV, Excel, XML or HTML, or read them through the API.

### How much does it cost?

You pay per company saved: **$2.00 per 1,000 companies**. Apify subscribers pay less: **Silver −10%** ($1.80 per 1,000) and **Gold, Platinum and Diamond −20%** ($1.60 per 1,000). Each run also carries a small Actor start charge of $0.0007 (one per GB of memory, at least one).

| Job | Results | Price (no discount) |
|---|---|---|
| Enrich a list of 1,000 companies | 1,000 companies | $2.00 |
| Details of 100 competitors | 100 companies | $0.20 |
| A weekly check of 50 company pages (size, followers, employees) | 50 companies a week | $0.10 a week |

Pages that do not exist, pages LinkedIn refuses and duplicates cost nothing. To cap spending, set a **maximum total charge** in the run options: the Actor stops cleanly once it is reached and keeps everything collected so far.

### Input example

```json
{
  "companies": [
    "https://www.linkedin.com/company/microsoft",
    "https://www.linkedin.com/company/stripe/about/",
    "tesla-motors",
    "Goldman Sachs"
  ],
  "maxCompanies": 0
}
```

### Output example

```json
{
  "type": "company",
  "companyId": "2135371",
  "urn": "urn:li:organization:2135371",
  "name": "Stripe",
  "slug": "stripe",
  "pageType": "company",
  "url": "https://www.linkedin.com/company/stripe",
  "tagline": "Help increase the GDP of the internet.",
  "description": "Stripe builds programmable financial services. Millions of companies—from the world’s largest enterprises to the most ambitious startups—use Stripe to accept pa…",
  "website": "https://stripe.com/",
  "industry": "Technology, Information and Internet",
  "companySize": "5,001-10,000 employees",
  "companySizeMin": 5001,
  "companySizeMax": 10000,
  "employeesOnLinkedIn": 17079,
  "followers": 1842231,
  "headquarters": "South San Francisco, California",
  "headquartersAddress": {
    "street": "354 Oyster Point Blvd",
    "city": "South San Francisco",
    "region": "California",
    "postalCode": "94080",
    "country": "US"
  },
  "locations": [
    {
      "isPrimary": true,
      "address": "354 Oyster Point Blvd, South San Francisco, California 94080, US",
      "lines": ["354 Oyster Point Blvd", "South San Francisco, California 94080, US"],
      "country": "US"
    },
    {
      "isPrimary": false,
      "address": "1 Wilton Park, Wilton Terrace, Dublin, County Dublin D02 FX04, IE",
      "lines": ["1 Wilton Park, Wilton Terrace", "Dublin, County Dublin D02 FX04, IE"],
      "country": "IE"
    }
  ],
  "organizationType": "Privately Held",
  "foundedYear": 2010,
  "specialties": [],
  "logoUrl": "https://media.licdn.com/dms/image/v2/D560BAQE2ZfJyfn-VCg/company-logo_200_200/…",
  "coverImageUrl": "https://media.licdn.com/dms/image/v2/D563DAQFt98MykXcktg/image-scale_191_1128/…",
  "affiliatedPages": [
    {
      "name": "Stripe Partner Ecosystem",
      "url": "https://www.linkedin.com/showcase/stripe-partner-ecosystem",
      "industry": "Internet Publishing",
      "location": "South San Francisco, California",
      "logoUrl": "https://media.licdn.com/dms/image/v2/D4E0BAQGOFu0yH-GclQ/company-logo_100_100/…"
    }
  ],
  "similarPages": [
    {
      "name": "Atlassian",
      "url": "https://www.linkedin.com/company/atlassian",
      "industry": "Software Development",
      "location": "Sydney, NSW",
      "logoUrl": "https://media.licdn.com/dms/image/v2/D4E0BAQGeyLL6crkJKg/company-logo_100_100/…"
    }
  ],
  "inputUrl": "https://www.linkedin.com/company/stripe",
  "scrapedAt": "2026-11-27T18:30:12.000Z"
}
```

### Use cases

- **Lead lists and CRM enrichment:** add industry, size, headquarters, website and founded year to a list of target accounts.
- **Market mapping:** start from a few companies and follow their similar pages to build a list of competitors in a niche.
- **Company research:** compare size, follower counts and LinkedIn headcount across a sector, or track them week by week with a schedule.
- **Data cleaning:** turn company names into their LinkedIn pages, IDs and websites.

### API, Python, JavaScript & integrations

**JavaScript**

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('socialscrapers/linkedin-company-scraper').call({
    companies: ['https://www.linkedin.com/company/microsoft', 'stripe'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("socialscrapers/linkedin-company-scraper").call(run_input={
    "companies": ["https://www.linkedin.com/company/microsoft", "Goldman Sachs"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["name"], item["industry"], item["companySize"], item["website"])
```

Connect it to **Make, Zapier, n8n, Google Sheets** and other tools with [Apify integrations](https://docs.apify.com/platform/integrations), get notified with [webhooks](https://docs.apify.com/platform/integrations/webhooks), run it on a [schedule](https://docs.apify.com/platform/schedules), or connect it through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp).

### Limits

- **What a logged-out visitor sees.** The Actor never logs in, so it returns what LinkedIn shows any visitor on the company page. It does not collect employee lists, people's profiles or e-mail addresses.
- **Company names are a best guess.** A name is turned into the address LinkedIn usually gives a page (`Goldman Sachs Inc.` → `goldman-sachs`). When a company's page uses another address, the run reports it as not found and charges nothing; paste the page link for an exact match.
- **Not every page shows every field.** Small companies often have no tagline, specialties or founded year, and showcase pages show fewer details. Those fields are `null` or `[]`.
- **School pages.** LinkedIn shows university and school pages only to signed-in members, so they are skipped with a note in the log and cost nothing.
- **Image links expire** after some time; download logos and cover images if you need to keep them.
- **A run with 0 results still succeeds.** When a page does not exist or is refused, the run ends as Succeeded with a status message naming each input and why, and nothing is charged for it.

### FAQ

**Is it legal to scrape LinkedIn company pages?**
The Actor reads only public pages that LinkedIn shows to any visitor without logging in, and it is not affiliated with or endorsed by LinkedIn. Company records are mostly business data, but they can include personal data (a founder's name in an About text, for example), so data-protection laws such as the GDPR and the CCPA apply to how you store and use them. You are responsible for using the data lawfully, including LinkedIn's terms; when in doubt, ask a lawyer.

**Do I need a LinkedIn account or cookies?**
No. The Actor works logged out and never asks for your account.

**Can I search companies by keyword, industry or location?**
Not logged out: LinkedIn shows its company search only to signed-in members. Paste company links, IDs or names instead, or grow a list from the `similarPages` of companies you already have.

**What is the difference between `companySize` and `employeesOnLinkedIn`?**
`companySize` is the range the company itself states. `employeesOnLinkedIn` counts the LinkedIn members who list the company as their current employer, which is usually a little different.

**Do you get the company's posts too?**
Not in this Actor. For the latest posts of company pages, use **LinkedIn Company Posts Scraper** by Social Scrapers.

**How fast is it?**
In our tests with the default settings, 341 companies took about a minute and a half.

### Other scrapers by Social Scrapers

| Scraper | What it gets |
| --- | --- |
| [TikTok API](https://apify.com/socialscrapers/tiktok-api) | Profiles, Videos and Comments |
| [TikTok Comments Scraper](https://apify.com/socialscrapers/tiktok-comments-scraper) | Comments, Replies and Likes |
| [TikTok Hashtag Scraper](https://apify.com/socialscrapers/tiktok-hashtag-scraper) | Top Videos, Views and Likes |
| [TikTok Profile Scraper](https://apify.com/socialscrapers/tiktok-profile-scraper) | Followers, Bio, Stats and Videos |
| [TikTok Scraper](https://apify.com/socialscrapers/tiktok-scraper) | Videos, Profiles, Hashtags and Comments |
| [TikTok Sound Scraper](https://apify.com/socialscrapers/tiktok-sound-scraper) | Videos Using a Sound and Music Info |
| [TikTok Transcript Scraper](https://apify.com/socialscrapers/tiktok-transcript-scraper) | Video Captions and Subtitles to Text |
| [TikTok Video Scraper](https://apify.com/socialscrapers/tiktok-video-scraper) | Views, Likes, Captions and Comments |
| [Instagram API](https://apify.com/socialscrapers/instagram-api) | Profiles, Posts, Reels, Comments and Hashtags |
| [Instagram Comments Scraper](https://apify.com/socialscrapers/instagram-comments-scraper) | Comments, Likes and Reply Counts |
| [Instagram Email Scraper](https://apify.com/socialscrapers/instagram-email-scraper) | Emails and Phones from Public Profiles |
| [Instagram Hashtag Scraper](https://apify.com/socialscrapers/instagram-hashtag-scraper) | Reels and Keyword Search |
| [Instagram Post Details Scraper](https://apify.com/socialscrapers/instagram-post-details-scraper) | Likes, Comments, Views and Media |
| [Instagram Post Scraper](https://apify.com/socialscrapers/instagram-post-scraper) | Posts, Reels and Comments |
| [Instagram Profile Scraper](https://apify.com/socialscrapers/instagram-profile-scraper) | Followers, Bio, Posts and Reels |
| [Instagram Reels Scraper](https://apify.com/socialscrapers/instagram-reels-scraper) | Reels, Plays, Likes and Comments |
| [Instagram Reels Transcript Scraper](https://apify.com/socialscrapers/instagram-reels-transcript-scraper) | Speech to Text and Captions |
| [Instagram Scraper](https://apify.com/socialscrapers/instagram-scraper) | Posts, Profiles, Reels, Comments and Hashtags |
| [YouTube API](https://apify.com/socialscrapers/youtube-api) | Videos, Transcripts, Search, Channels and Comments |
| [YouTube Channel Scraper](https://apify.com/socialscrapers/youtube-channel-scraper) | Videos, Shorts, Subscribers and About |
| [YouTube Comments Scraper](https://apify.com/socialscrapers/youtube-comments-scraper) | Comments, Replies and Likes |
| [YouTube Scraper](https://apify.com/socialscrapers/youtube-scraper) | Videos, Shorts, Channels and Comments |
| [YouTube Search Scraper](https://apify.com/socialscrapers/youtube-search-scraper) | Videos, Channels, Views and Filters |
| [YouTube Shorts Scraper](https://apify.com/socialscrapers/youtube-shorts-scraper) | Shorts, Views, Likes and Search |
| [YouTube Transcript Scraper](https://apify.com/socialscrapers/youtube-transcript-scraper) | Subtitles, Captions and SRT |
| [YouTube Video Details Scraper](https://apify.com/socialscrapers/youtube-video-details-scraper) | Stats, Subtitles and Comments |
| [Facebook Ads Library Scraper](https://apify.com/socialscrapers/facebook-ads-library-scraper) | Meta Ad Library and Spend |
| [Facebook Comments Scraper](https://apify.com/socialscrapers/facebook-comments-scraper) | Posts, Reels, Videos and Replies |
| [Facebook Events Scraper](https://apify.com/socialscrapers/facebook-events-scraper) | Public Events, Dates and Hosts |
| [Facebook Groups Scraper](https://apify.com/socialscrapers/facebook-groups-scraper) | Public Group Posts and Reactions |
| [Facebook Marketplace Scraper](https://apify.com/socialscrapers/facebook-marketplace-scraper) | Prices, Locations and Sellers |
| [Facebook Page Contact Info Scraper](https://apify.com/socialscrapers/facebook-page-contact-scraper) | Email, Phone and WhatsApp |
| [Facebook Posts Scraper](https://apify.com/socialscrapers/facebook-profile-posts-scraper) | Pages, Profiles and Timelines |
| [Facebook Pages Scraper](https://apify.com/socialscrapers/facebook-profile-scraper) | Profiles, Contact Info and Reviews |
| [Facebook Reels Scraper](https://apify.com/socialscrapers/facebook-reels-scraper) | Reels, Videos, Plays and Captions |
| [X (Twitter) Profile Scraper](https://apify.com/socialscrapers/x-profile-scraper) | Followers, Bio and Tweets |
| [X (Twitter) Tweet Scraper](https://apify.com/socialscrapers/x-tweet-scraper) | Latest Posts by Profile |
| [Threads Profile Scraper](https://apify.com/socialscrapers/threads-profile-scraper) | Followers, Bio, Links and Posts |
| [Threads Replies Scraper](https://apify.com/socialscrapers/threads-replies-scraper) | Comments, Authors, Likes and Media |
| [Threads Scraper](https://apify.com/socialscrapers/threads-scraper) | Posts, Profiles, Replies and Search |
| [Threads Search Scraper](https://apify.com/socialscrapers/threads-search-scraper) | Keywords, Hashtags, Top and Recent Posts |
| [Reddit Comments Scraper](https://apify.com/socialscrapers/reddit-comments-scraper) | Threads, Replies, Votes and Authors |
| [Reddit Scraper](https://apify.com/socialscrapers/reddit-scraper) | Posts, Comments, Subreddits, Users and Search |
| [Reddit Search Scraper](https://apify.com/socialscrapers/reddit-search-scraper) | Posts by Keyword, Subreddit and Date |
| [Reddit User Scraper](https://apify.com/socialscrapers/reddit-user-scraper) | Profiles, Karma, Posts and Comments |
| [Subreddit Scraper](https://apify.com/socialscrapers/subreddit-scraper) | Hot, New and Top Posts with Comments |
| [Quora Scraper](https://apify.com/socialscrapers/quora-scraper) | Answers, Questions, Profiles and Topic Search |
| [LinkedIn Ad Library Scraper](https://apify.com/socialscrapers/linkedin-ad-library-scraper) | Ads, Advertisers and Impressions |
| [LinkedIn Company Posts Scraper](https://apify.com/socialscrapers/linkedin-company-posts-scraper) | Latest Posts, No Login |
| [LinkedIn Job Search Scraper](https://apify.com/socialscrapers/linkedin-job-search-scraper) | Filters, Salaries and New Jobs |
| [LinkedIn Jobs Scraper](https://apify.com/socialscrapers/linkedin-jobs-scraper) | Job Listings, Salaries and Companies |
| [LinkedIn Post Comments Scraper](https://apify.com/socialscrapers/linkedin-post-comments-scraper) | Top Comments, No Login |
| [LinkedIn Posts Scraper](https://apify.com/socialscrapers/linkedin-posts-scraper) | Public Posts, Reactions and Comments |
| [LinkedIn Profile Posts Scraper](https://apify.com/socialscrapers/linkedin-profile-posts-scraper) | Latest Posts, No Login |
| [Google Maps Email Extractor](https://apify.com/socialscrapers/google-maps-email-extractor) | Emails, Phones and Social Links |
| [Google Maps Scraper](https://apify.com/socialscrapers/google-maps-scraper) | Places, Phones, Websites, Ratings and Hours |
| [Google News Scraper](https://apify.com/socialscrapers/google-news-scraper) | Headlines, Articles and Search |
| [Google Ads Transparency Scraper](https://apify.com/socialscrapers/google-ads-transparency-scraper) | Ad Creatives and Advertisers |
| [Amazon Best Sellers Scraper](https://apify.com/socialscrapers/amazon-bestsellers-scraper) | Top 100 Rankings and Prices |
| [Amazon Product Scraper](https://apify.com/socialscrapers/amazon-product-scraper) | Search Results, Prices, Ratings, ASINs |
| [Amazon Search Scraper](https://apify.com/socialscrapers/amazon-search-scraper) | Products, Prices and Ratings by Keyword |
| [Indeed Jobs Scraper](https://apify.com/socialscrapers/indeed-jobs-scraper) | Salaries, Full Descriptions, Company Data |
| [Contact Details Scraper](https://apify.com/socialscrapers/contact-details-scraper) | Emails, Phones and Social Links |
| [Telegram Channel Scraper](https://apify.com/socialscrapers/telegram-channel-scraper) | Posts, Views and Media |
| [Doximity Scraper](https://apify.com/socialscrapers/doximity-physician-scraper) | Physician Profiles and Doctor Directory |
| [KevinMD Scraper](https://apify.com/socialscrapers/kevinmd-articles-scraper) | Physician Articles and Author Specialties |
| [Op-Med Scraper](https://apify.com/socialscrapers/opmed-articles-scraper) | Physician Essays and Doctor Profiles |
| [Airbnb Reviews Scraper](https://apify.com/socialscrapers/airbnb-reviews-scraper) | Guest Reviews, Ratings and Hosts |
| [Airbnb Scraper](https://apify.com/socialscrapers/airbnb-scraper) | Listings, Prices, Reviews and Hosts |
| [Booking.com Scraper](https://apify.com/socialscrapers/booking-scraper) | Hotels, Prices and Reviews |
| [Career Site Jobs Scraper](https://apify.com/socialscrapers/career-site-jobs-scraper) | Greenhouse, Lever, Ashby and Workday |
| [eBay Scraper](https://apify.com/socialscrapers/ebay-scraper) | Listings, Prices, Item Details and Sellers |
| [Etsy Scraper](https://apify.com/socialscrapers/etsy-scraper) | Products, Prices, Shops and Reviews |
| [Google Shopping Scraper](https://apify.com/socialscrapers/google-shopping-scraper) | Products, Prices and Sellers |
| [Google Trends Scraper](https://apify.com/socialscrapers/google-trends-scraper) | Interest Over Time, Regions and Queries |
| [MercadoLibre Scraper](https://apify.com/socialscrapers/mercadolibre-scraper) | Products, Prices and Sellers |
| [Similarweb Scraper](https://apify.com/socialscrapers/similarweb-scraper) | Website Traffic, Rank and Visits |
| [Tripadvisor Reviews Scraper](https://apify.com/socialscrapers/tripadvisor-reviews-scraper) | Hotels, Restaurants and Attractions |
| [Tripadvisor Scraper](https://apify.com/socialscrapers/tripadvisor-scraper) | Hotels, Restaurants and Reviews |
| [Yelp Scraper](https://apify.com/socialscrapers/yelp-scraper) | Businesses, Reviews, Ratings and Contacts |
| [Zillow Property Scraper](https://apify.com/socialscrapers/zillow-property-scraper) | Home Details, Zestimate and History |
| [Zillow Scraper](https://apify.com/socialscrapers/zillow-scraper) | Listings, Prices, Zestimates and Agents |

# Actor input Schema

## `companies` (type: `array`):

One per line: company page links (linkedin.com/company/…; showcase pages work too), page IDs as they appear in the link (microsoft, tesla-motors) or company names (Goldman Sachs). A name is read as the page address LinkedIn usually gives it, so paste the link when you need an exact match.

## `maxCompanies` (type: `integer`):

The most companies to save in this run, in the order of your list. 0 saves every company in the list. You pay per company saved.

## `maxConcurrency` (type: `integer`):

How many company pages are loaded at the same time. Lower it if you see many refused requests in the log; runs with less than 512 MB of memory load fewer.

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

Apify Proxy (the default) is recommended. The scraper picks Apify Proxy's tier itself: datacenter first, residential only for pages that are refused. Your own proxy URLs are used as given.

## `companyDetails` (type: `boolean`):

One item per company page, with its details.

## Actor input object example

```json
{
  "companies": [
    "https://www.linkedin.com/company/microsoft",
    "https://www.linkedin.com/company/google"
  ],
  "maxCompanies": 0,
  "maxConcurrency": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "companyDetails": true
}
```

# Actor output Schema

## `results` (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 = {
    "companies": [
        "https://www.linkedin.com/company/microsoft",
        "https://www.linkedin.com/company/google"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("socialscrapers/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 = {
    "companies": [
        "https://www.linkedin.com/company/microsoft",
        "https://www.linkedin.com/company/google",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("socialscrapers/linkedin-company-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 '{
  "companies": [
    "https://www.linkedin.com/company/microsoft",
    "https://www.linkedin.com/company/google"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call socialscrapers/linkedin-company-scraper --silent --output-dataset

```

## MCP server setup

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