{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Employee Search | X-Ray | No Login | Bulk",
    "description": "Get the people who work at any company: name, headline and profile URL. No login, no cookies. Single company or bulk list, 4 search patterns, JSON/CSV, Clay, n8n. Pay per employee, empty searches free, per-run spend cap. No emails returned. Free plan: 100 results per run.",
    "version": "1.9",
    "x-build-id": "zi502zHYqhCtOag0Y"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/b2bdata~linkedin-employee-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-b2bdata-linkedin-employee-search",
        "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/b2bdata~linkedin-employee-search/runs": {
      "post": {
        "operationId": "runs-sync-b2bdata-linkedin-employee-search",
        "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/b2bdata~linkedin-employee-search/run-sync": {
      "post": {
        "operationId": "run-sync-b2bdata-linkedin-employee-search",
        "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": [
          "service"
        ],
        "properties": {
          "service": {
            "title": "Service",
            "enum": [
              "single_employee",
              "bulk_employees"
            ],
            "type": "string",
            "description": "Choose the search mode. Fields for the other mode are ignored, e.g. Companies (one per line) has no effect in Employee Search.",
            "default": "single_employee"
          },
          "companyName": {
            "title": "Company name or LinkedIn company URL",
            "type": "string",
            "description": "Company name as it appears on LinkedIn, or a LinkedIn company URL such as linkedin.com/company/marriott-international, in the same field. A URL is converted to its company name before searching; anything else is searched as typed. Each row shows what you typed in inputQuery and how it was read in inputRoute (linkedin_url or text). Returns profiles that list this company in their title; filter by role on your side. Gotcha: write 'Marriott International' instead of 'Marriott' alone, which may match unrelated companies."
          },
          "bulkCompanies": {
            "title": "Companies (one per line)",
            "type": "string",
            "description": "One company per line: a name or a LinkedIn company URL (linkedin.com/company/...). Format: CompanyOrURL, Country (country optional). A URL is converted to its company name; each row shows what you typed in inputQuery and the route in inputRoute. Gotcha: a comma starts the country part, so write 'Hilton Worldwide, uk' instead of 'Hilton, Worldwide'.\n\nExample:\nMarriott International\nHilton Worldwide, uk\nShopify\nAmazon"
          },
          "employeePattern": {
            "title": "Search Pattern",
            "enum": [
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "How to construct the search query. Start with Pattern 2 (recommended). Gotcha: the strictest pattern returns nothing when your text differs from the page title (e.g. 'Meta' instead of 'Meta Platforms, Inc.'), so widen it if a run comes back empty.",
            "default": "2"
          },
          "bulkEmployeePattern": {
            "title": "Search Pattern",
            "enum": [
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "How to construct the search query. Start with Pattern 2 (recommended). Gotcha: the strictest pattern returns nothing when your text differs from the page title (e.g. 'Meta' instead of 'Meta Platforms, Inc.'), so widen it if a run comes back empty.",
            "default": "2"
          },
          "employeeCountries": {
            "title": "Countries",
            "type": "string",
            "description": "Comma-separated country codes (e.g. uk, us, de). Leave empty for global search. Use 2-letter codes such as uk, us, de (write 'uk' instead of 'United Kingdom')."
          },
          "excludeWords": {
            "title": "Exclude Keyword",
            "type": "string",
            "description": "One keyword to drop from the results, for example 'Intern'. Only a single keyword is supported: write 'Intern' instead of 'Intern, Assistant'."
          },
          "employeeMaxResults": {
            "title": "Max Results (0 = all, max 100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum profiles. Use 0 for all (hard maximum 100); a value above 100 is rejected with a message instead of being trimmed. You pay per result returned (see Pricing tab); free Apify plans get up to 100 results per run.",
            "default": 100
          },
          "bulkMaxResultsPerCompany": {
            "title": "Max Results Per Company (0 = all, max 100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum profiles per company. Use 0 for all (hard maximum 100); a value above 100 is rejected with a message instead of being trimmed. You pay per result returned (see Pricing tab); free Apify plans get up to 100 results per run.",
            "default": 100
          },
          "loadAll": {
            "title": "Load All Results",
            "type": "boolean",
            "description": "Automatically paginate to load all results up to your max limit. If OFF, only the first page (up to 10 results) is returned, even when Max Results is higher. Gotcha: leave it OFF and a Max Results of 100 still returns about 10.",
            "default": false
          },
          "bulkDelayMs": {
            "title": "Delay Between Searches (ms)",
            "minimum": 500,
            "maximum": 10000,
            "type": "integer",
            "description": "Milliseconds to wait between searches in bulk or multi-country runs, from 500 to 10000. Lower is faster but may hit rate limits; 100 is not accepted, use 500 instead. Does not affect pricing.",
            "default": 1500
          },
          "deltaMode": {
            "title": "Delta mode (only new or changed)",
            "type": "boolean",
            "description": "When on, a run keeps one fingerprint per result in a named key-value store in your account and only returns (and charges for) results that are new or changed since the last run. Gotcha: the first run returns everything because nothing is stored yet.",
            "default": false
          },
          "deltaStoreName": {
            "title": "Delta store name",
            "type": "string",
            "description": "Name of the key-value store that holds the fingerprints, letters, digits and hyphens only (for example employee-search-delta). Use a different name per scheduled search, otherwise two searches overwrite each other's history.",
            "default": "linkedin-employee-search-delta"
          },
          "outputFormat": {
            "title": "Output format",
            "enum": [
              "default",
              "compatible"
            ],
            "type": "string",
            "description": "default keeps this Actor's field names. compatible renames fields to common LinkedIn scraper names (linkedinUrl, fullName, description, logo, publicIdentifier) so existing pipelines keep working. Gotcha: switching format mid-schedule changes the column names in your dataset.",
            "default": "default"
          },
          "maxChargeUsd": {
            "title": "Max charge for this run (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Stops the run when this run's charges reach this amount. The run ends SUCCEEDED with the data collected so far and one explanation row (status max_charge_reached). 0 means no extra cap beyond Apify's own maximum cost setting.",
            "default": 0
          },
          "sourceTag": {
            "title": "Source tag",
            "maxLength": 100,
            "type": "string",
            "description": "Free text copied onto every result row as sourceTag and into the OUTPUT summary, so you can tell which job or campaign a row came from. Maximum 100 characters.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}