# Collect LinkedIn company office locations

**Use case:** 

Extract headquarters and listed office addresses from public LinkedIn company URLs or slugs. Keep available primary-location flags and directions links with each organization to prepare a location directory or review regional presence. Only locations disclosed on the retrieved page are included.

## Input

```json
{
  "inputList": [
    "microsoft",
    "ibm"
  ]
}
```

## Output

```json
{
  "input": {
    "label": "Input",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "id": {
    "label": "ID",
    "format": "string"
  },
  "slug": {
    "label": "Slug",
    "format": "string"
  },
  "name": {
    "label": "Name",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "logo": {
    "label": "Logo",
    "format": "string"
  },
  "cover_image": {
    "label": "Cover Image",
    "format": "string"
  },
  "tagline": {
    "label": "Tagline",
    "format": "string"
  },
  "description": {
    "label": "Description",
    "format": "string"
  },
  "website": {
    "label": "Website",
    "format": "string"
  },
  "industry": {
    "label": "Industry",
    "format": "string"
  },
  "company_size": {
    "label": "Company Size",
    "format": "string"
  },
  "headquarters": {
    "label": "Headquarters",
    "format": "string"
  },
  "organization_type": {
    "label": "Organization Type",
    "format": "string"
  },
  "founded": {
    "label": "Founded",
    "format": "string"
  },
  "specialties": {
    "label": "Specialties",
    "format": "array"
  },
  "location": {
    "label": "Location",
    "format": "string"
  },
  "followers": {
    "label": "Followers",
    "format": "integer"
  },
  "employees_count": {
    "label": "Employees Count",
    "format": "integer"
  },
  "alumni_count": {
    "label": "Alumni Count",
    "format": "integer"
  },
  "locations.is_primary": {
    "label": "Locations / Is Primary",
    "format": "array"
  },
  "locations.address": {
    "label": "Locations / Address",
    "format": "array"
  },
  "locations.directions_url": {
    "label": "Locations / Directions URL",
    "format": "array"
  },
  "affiliated_pages.name": {
    "label": "Affiliated Pages / Name",
    "format": "array"
  },
  "affiliated_pages.url": {
    "label": "Affiliated Pages / URL",
    "format": "array"
  },
  "affiliated_pages.logo": {
    "label": "Affiliated Pages / Logo",
    "format": "array"
  },
  "affiliated_pages.industry": {
    "label": "Affiliated Pages / Industry",
    "format": "array"
  },
  "affiliated_pages.location": {
    "label": "Affiliated Pages / Location",
    "format": "array"
  },
  "similar_pages.name": {
    "label": "Similar Pages / Name",
    "format": "array"
  },
  "similar_pages.url": {
    "label": "Similar Pages / URL",
    "format": "array"
  },
  "similar_pages.logo": {
    "label": "Similar Pages / Logo",
    "format": "array"
  },
  "similar_pages.industry": {
    "label": "Similar Pages / Industry",
    "format": "array"
  },
  "similar_pages.location": {
    "label": "Similar Pages / Location",
    "format": "array"
  },
  "featured_people.name": {
    "label": "Featured People / Name",
    "format": "array"
  },
  "featured_people.url": {
    "label": "Featured People / URL",
    "format": "array"
  },
  "featured_people.image": {
    "label": "Featured People / Image",
    "format": "array"
  },
  "featured_people.occupation": {
    "label": "Featured People / Occupation",
    "format": "array"
  },
  "jobs_url": {
    "label": "Jobs URL",
    "format": "string"
  },
  "is_school": {
    "label": "Is School",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [LinkedIn Company Scraper – Profiles & Business Data](https://apify.com/scrapingmonkey/linkedin-company-details-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapingmonkey/linkedin-company-details-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/scrapingmonkey/linkedin-company-details-scraper.md

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`).
