{
  "openapi": "3.0.1",
  "info": {
    "title": "Linkedin Company Employees",
    "description": "Scrape employee profiles from any LinkedIn company page. Extract names, job titles, profile URLs, locations, and more. Perfect for lead generation, recruitment research, sales prospecting, and market intelligence.",
    "version": "0.0",
    "x-build-id": "cBHuFIlZwheiCungU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sajjadstack~linkedin-company-employees/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sajjadstack-linkedin-company-employees",
        "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/sajjadstack~linkedin-company-employees/runs": {
      "post": {
        "operationId": "runs-sync-sajjadstack-linkedin-company-employees",
        "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/sajjadstack~linkedin-company-employees/run-sync": {
      "post": {
        "operationId": "run-sync-sajjadstack-linkedin-company-employees",
        "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": [
          "companies",
          "cookie"
        ],
        "properties": {
          "cookie": {
            "title": "LinkedIn Cookie (li_at)",
            "type": "string",
            "description": "Your LinkedIn 'li_at' session cookie. To get it: 1) Log into LinkedIn in your browser, 2) Open Developer Tools (F12), 3) Go to Application > Cookies > linkedin.com, 4) Copy the value of the 'li_at' cookie."
          },
          "companies": {
            "title": "Company URLs or Names",
            "type": "array",
            "description": "List of LinkedIn company URLs (e.g., https://www.linkedin.com/company/google) or company names. URLs are preferred for accuracy.",
            "items": {
              "type": "string"
            }
          },
          "profileScraperMode": {
            "title": "Profile Scraper Mode",
            "enum": [
              "Short ($4 per 1k)",
              "Full ($8 per 1k)",
              "Full + email search ($12 per 1k)"
            ],
            "type": "string",
            "description": "Choose the level of detail for scraped profiles.\n- Short: name, headline, location, current positions\n- Full: complete work experience, education, skills, and more\n- Full + email search: all Full data plus email discovery",
            "default": "Short ($4 per 1k)"
          },
          "locations": {
            "title": "Location Filter",
            "type": "array",
            "description": "Filter employees by location (e.g., New York, San Francisco, London). Uses LinkedIn's location autocomplete. Use full names like 'United Kingdom' instead of 'UK'.",
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Search Query",
            "type": "string",
            "description": "General search query for fuzzy matching (e.g., 'Founder', 'Marketing Manager', 'John Doe'). Supports LinkedIn search operators."
          },
          "jobTitles": {
            "title": "Job Titles (Strict Search)",
            "type": "array",
            "description": "Filter employees by exact job titles (e.g., Software Engineer, Product Manager). Strict matching unlike the general search query.",
            "items": {
              "type": "string"
            }
          },
          "industryIds": {
            "title": "Industry IDs",
            "type": "array",
            "description": "Filter by LinkedIn industry IDs (numbers only). Example: 4 = Software Development, 43 = Financial Services. See full list: https://github.com/HarvestAPI/linkedin-industry-codes-v2",
            "items": {
              "type": "integer"
            }
          },
          "yearsAtCurrentCompanyIds": {
            "title": "Years at Current Company",
            "type": "array",
            "description": "Filter by years at current company. 1 = Less than 1 year, 2 = 1-2 years, 3 = 3-5 years, 4 = 6-10 years, 5 = More than 10 years.",
            "items": {
              "type": "integer"
            }
          },
          "yearsOfExperienceIds": {
            "title": "Years of Experience",
            "type": "array",
            "description": "Filter by total years of experience. 1 = Less than 1 year, 2 = 1-2 years, 3 = 3-5 years, 4 = 6-10 years, 5 = More than 10 years.",
            "items": {
              "type": "integer"
            }
          },
          "seniorityLevelIds": {
            "title": "Seniority Level",
            "type": "array",
            "description": "Filter by seniority level IDs. 100 = In Training, 110 = Entry Level, 120 = Senior, 130 = Strategic, 200 = Entry Level Manager, 210 = Experienced Manager, 220 = Director, 300 = VP, 310 = CXO, 320 = Owner/Partner.",
            "items": {
              "type": "integer"
            }
          },
          "functionIds": {
            "title": "Function / Department",
            "type": "array",
            "description": "Filter by LinkedIn function IDs. 1 = Accounting, 8 = Engineering, 13 = IT, 15 = Marketing, 25 = Sales, etc.",
            "items": {
              "type": "integer"
            }
          },
          "companyHeadcount": {
            "title": "Company Headcount",
            "type": "array",
            "description": "Filter by company size. A = Self-employed, B = 1-10, C = 11-50, D = 51-200, E = 201-500, F = 501-1000, G = 1001-5000, H = 5001-10000, I = 10001+.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum Profiles",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of profiles to scrape. Set to 0 to scrape all available (up to 2500 per query). LinkedIn limits results to 2500 per search query.",
            "default": 0
          },
          "startPage": {
            "title": "Start Page",
            "minimum": 1,
            "type": "integer",
            "description": "Start scraping from this search results page (1-based). Useful for resuming partial scrapes.",
            "default": 1
          },
          "companyBatchMode": {
            "title": "Company Batch Mode",
            "enum": [
              "All at once",
              "One by one"
            ],
            "type": "string",
            "description": "How to process multiple companies.\n- 'All at once': Single search with all companies (max 10, faster)\n- 'One by one': Separate search per company (up to 1000, more accurate)",
            "default": "All at once"
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy configuration for accessing LinkedIn. Residential proxies are strongly recommended.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}