{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Company Employees — Staff List + Full Profiles ✅",
    "description": "LinkedIn company employees by website domain: list the current employees of any company, then pick how much to return — the roster row at $1.50 per 1,000, the full profile at $3.20, or the profile plus emails and phones at $8 per 1,000 employees with a live contact. No cookies, no 2,500-row cap.",
    "version": "0.1",
    "x-build-id": "4lATL4WDdsNdLcLUf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/b2bsearch~company-employees/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-b2bsearch-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/b2bsearch~company-employees/runs": {
      "post": {
        "operationId": "runs-sync-b2bsearch-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/b2bsearch~company-employees/run-sync": {
      "post": {
        "operationId": "run-sync-b2bsearch-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"
        ],
        "properties": {
          "companies": {
            "title": "Companies",
            "type": "array",
            "description": "One company per line: a site domain (acme.com) or a numeric company id from a previous run. Domains that match no company come back as free \"unresolved_domain\" rows.",
            "items": {
              "type": "string"
            }
          },
          "roles": {
            "title": "Seniority roles (optional)",
            "type": "array",
            "description": "Keep only these seniority buckets. Leave empty for the whole roster.",
            "items": {
              "type": "string",
              "enum": [
                "cxo",
                "founder",
                "vp",
                "director",
                "manager",
                "other"
              ],
              "enumTitles": [
                "C-level",
                "Founder",
                "VP",
                "Director",
                "Manager",
                "Other"
              ]
            }
          },
          "profileDetail": {
            "title": "How much to return per employee",
            "enum": [
              "roster",
              "profile",
              "contacts"
            ],
            "type": "string",
            "description": "roster = the staff list row, $1.50 per 1,000; profile = each employee’s full career profile, $3.20 per 1,000; contacts = the profile plus emails and phones, $8 per 1,000 employees with a contact that reaches them today (the rest ship at the profile price). The profile tiers run in the same run and cap it at 10,000 employees.",
            "default": "roster"
          },
          "mustHave": {
            "title": "Must have",
            "uniqueItems": true,
            "type": "array",
            "description": "Deliver and charge only employees who have all of these; the rest are skipped for free and counted in one note row. Personal and work email work on every tier; social profiles need the profile tier; phone and \"work email at the current employer\" need emails & phones.",
            "items": {
              "type": "string",
              "enum": [
                "email",
                "personalEmail",
                "workEmail",
                "currentWorkEmail",
                "phone",
                "github",
                "twitter",
                "facebook"
              ],
              "enumTitles": [
                "Any email address",
                "Personal email (gmail, yahoo, ISP mail)",
                "Work email (any company address)",
                "Work email at the current employer",
                "Direct phone (not a switchboard)",
                "GitHub profile",
                "Twitter / X profile",
                "Facebook profile"
              ]
            }
          },
          "compact": {
            "title": "Compact rows (for AI agents)",
            "type": "boolean",
            "description": "Returns a short row instead of the full record: identity, current role, location, the 5 latest positions, education, top skills and any contacts — about 2 KB per person instead of 10+ KB. Made for AI agents and LLM pipelines with a context limit. Same price. Off by default: a run returns the complete record.",
            "default": false
          },
          "titleContains": {
            "title": "Title must contain (optional)",
            "type": "array",
            "description": "Keep only employees whose job title contains any of these words (case-insensitive, 3–64 characters each, up to 10; an entry outside these rules stops the run before anything is charged). Reaches titles the seniority buckets misfile: \"President\" is filed under Other.",
            "items": {
              "type": "string"
            }
          },
          "titleExcludes": {
            "title": "Title must not contain (optional)",
            "type": "array",
            "description": "Drop employees whose job title contains any of these words. The C-level bucket also holds \"Executive Operations, Office of the CEO\" and \"Executive Assistant to CRO\"; assistant, office of, executive operations, chief of staff removes them before they are counted or charged.",
            "items": {
              "type": "string"
            }
          },
          "excludeLowSignal": {
            "title": "Skip low-signal profiles",
            "type": "boolean",
            "description": "Drop rows the data flags as low-signal: under 10 connections and no start date on the position — the self-declared \"CEO at <famous brand>\" pattern. Off by default because among rank-and-file staff many such rows are real people with a hidden network; they only sort last. Every row carries the lowSignal column either way.",
            "default": false
          },
          "maxRows": {
            "title": "Maximum employee rows",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop after this many employee rows across all companies (default 1000; maximum 50000 on roster rows, 10000 on the profile tiers). Companies left unqueried when the cap hits are reported as free skipped_row_budget rows.",
            "default": 1000
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}