{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn People Search Scraper + Email | Lead Generation",
    "description": "Find LinkedIn people by title, company, location, industry and more. Export short results or full profiles, with optional email search, segmentation and deduplication.",
    "version": "0.1",
    "x-build-id": "ZuSoyn8G35GPclce8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlkite~linkedin-profile-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlkite-linkedin-profile-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/crawlkite~linkedin-profile-search/runs": {
      "post": {
        "operationId": "runs-sync-crawlkite-linkedin-profile-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/crawlkite~linkedin-profile-search/run-sync": {
      "post": {
        "operationId": "run-sync-crawlkite-linkedin-profile-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",
        "properties": {
          "profileScraperMode": {
            "title": "Profile detail mode",
            "enum": [
              "Short",
              "Full",
              "Full + email search"
            ],
            "type": "string",
            "description": "Choose profile detail and optional email-search modes. Email search is separately priced and does not guarantee an email will be found.",
            "default": "Full"
          },
          "searchQuery": {
            "title": "People search query",
            "type": "string",
            "description": "Search keywords. Provide a query or at least one filter; an entirely empty search returns no records without fetching or charging search pages."
          },
          "maxItems": {
            "title": "Maximum profiles",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum profiles across the run. 0 uses the 100,000-record safety limit."
          },
          "locations": {
            "title": "locations",
            "maxItems": 70,
            "type": "array",
            "description": "locations. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "currentCompanies": {
            "title": "currentCompanies",
            "maxItems": 50,
            "type": "array",
            "description": "currentCompanies. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "pastCompanies": {
            "title": "pastCompanies",
            "maxItems": 50,
            "type": "array",
            "description": "pastCompanies. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "schools": {
            "title": "schools",
            "maxItems": 50,
            "type": "array",
            "description": "schools. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "currentJobTitles": {
            "title": "currentJobTitles",
            "maxItems": 50,
            "type": "array",
            "description": "currentJobTitles. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "pastJobTitles": {
            "title": "pastJobTitles",
            "maxItems": 50,
            "type": "array",
            "description": "pastJobTitles. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "yearsOfExperienceIds": {
            "title": "yearsOfExperienceIds",
            "type": "array",
            "description": "yearsOfExperienceIds. Optional control for your CrawlKite run.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "Less than 1 year",
                "1 to 2 years",
                "3 to 5 years",
                "6 to 10 years",
                "More than 10 years"
              ]
            }
          },
          "yearsAtCurrentCompanyIds": {
            "title": "yearsAtCurrentCompanyIds",
            "type": "array",
            "description": "yearsAtCurrentCompanyIds. Optional control for your CrawlKite run.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "Less than 1 year",
                "1 to 2 years",
                "3 to 5 years",
                "6 to 10 years",
                "More than 10 years"
              ]
            }
          },
          "seniorityLevelIds": {
            "title": "seniorityLevelIds",
            "type": "array",
            "description": "seniorityLevelIds. Optional control for your CrawlKite run.",
            "items": {
              "type": "string",
              "enum": [
                "100",
                "110",
                "120",
                "130",
                "200",
                "210",
                "220",
                "300",
                "310",
                "320"
              ],
              "enumTitles": [
                "In Training",
                "Entry Level",
                "Senior",
                "Strategic",
                "Entry Level Manager",
                "Experienced Manager",
                "Director",
                "Vice President",
                "CXO",
                "Owner / Partner"
              ]
            }
          },
          "functionIds": {
            "title": "functionIds",
            "type": "array",
            "description": "functionIds. Optional control for your CrawlKite run.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "10",
                "11",
                "12",
                "13",
                "14",
                "15",
                "16",
                "17",
                "18",
                "19",
                "20",
                "21",
                "22",
                "23",
                "24",
                "25",
                "26"
              ],
              "enumTitles": [
                "Accounting",
                "Administrative",
                "Arts and Design",
                "Business Development",
                "Community and Social Services",
                "Consulting",
                "Education",
                "Engineering",
                "Entrepreneurship",
                "Finance",
                "Healthcare Services",
                "Human Resources",
                "Information Technology",
                "Legal",
                "Marketing",
                "Media and Communication",
                "Military and Protective Services",
                "Operations",
                "Product Management",
                "Program and Project Management",
                "Purchasing",
                "Quality Assurance",
                "Real Estate",
                "Research",
                "Sales",
                "Customer Success and Support"
              ]
            }
          },
          "industryIds": {
            "title": "industryIds",
            "maxItems": 50,
            "type": "array",
            "description": "industryIds. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "firstNames": {
            "title": "firstNames",
            "maxItems": 50,
            "type": "array",
            "description": "firstNames. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "lastNames": {
            "title": "lastNames",
            "maxItems": 50,
            "type": "array",
            "description": "lastNames. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "profileLanguages": {
            "title": "profileLanguages",
            "type": "array",
            "description": "profileLanguages. Optional control for your CrawlKite run.",
            "items": {
              "type": "string",
              "enum": [
                "Arabic",
                "English",
                "Spanish",
                "Portuguese",
                "Chinese",
                "French",
                "Italian",
                "Russian",
                "German",
                "Dutch",
                "Turkish",
                "Tagalog",
                "Polish",
                "Korean",
                "Japanese",
                "Malay",
                "Norwegian",
                "Danish",
                "Romanian",
                "Swedish",
                "Bahasa Indonesia",
                "Czech"
              ]
            }
          },
          "companyHeadcount": {
            "title": "companyHeadcount",
            "type": "array",
            "description": "companyHeadcount. Optional control for your CrawlKite run.",
            "items": {
              "type": "string",
              "enum": [
                "A",
                "B",
                "C",
                "D",
                "E",
                "F",
                "G",
                "H",
                "I"
              ],
              "enumTitles": [
                "Self-Employed",
                "1-10",
                "11-50",
                "51-200",
                "201-500",
                "501-1,000",
                "1,001-5,000",
                "5,001-10,000",
                "10,001+"
              ]
            }
          },
          "companyHeadquarterLocations": {
            "title": "companyHeadquarterLocations",
            "maxItems": 70,
            "type": "array",
            "description": "companyHeadquarterLocations. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "recentlyChangedJobs": {
            "title": "recentlyChangedJobs",
            "type": "boolean",
            "description": "recentlyChangedJobs. Optional control for your CrawlKite run."
          },
          "recentlyPostedOnLinkedIn": {
            "title": "recentlyPostedOnLinkedIn",
            "type": "boolean",
            "description": "recentlyPostedOnLinkedIn. Optional control for your CrawlKite run."
          },
          "excludeLocations": {
            "title": "excludeLocations",
            "maxItems": 70,
            "type": "array",
            "description": "excludeLocations. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "excludeCurrentCompanies": {
            "title": "excludeCurrentCompanies",
            "maxItems": 50,
            "type": "array",
            "description": "excludeCurrentCompanies. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "excludePastCompanies": {
            "title": "excludePastCompanies",
            "maxItems": 50,
            "type": "array",
            "description": "excludePastCompanies. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "excludeSchools": {
            "title": "excludeSchools",
            "maxItems": 50,
            "type": "array",
            "description": "excludeSchools. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "excludeCurrentJobTitles": {
            "title": "excludeCurrentJobTitles",
            "maxItems": 50,
            "type": "array",
            "description": "excludeCurrentJobTitles. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "excludePastJobTitles": {
            "title": "excludePastJobTitles",
            "maxItems": 50,
            "type": "array",
            "description": "excludePastJobTitles. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "excludeIndustryIds": {
            "title": "excludeIndustryIds",
            "maxItems": 50,
            "type": "array",
            "description": "excludeIndustryIds. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "excludeSeniorityLevelIds": {
            "title": "excludeSeniorityLevelIds",
            "type": "array",
            "description": "excludeSeniorityLevelIds. Optional control for your CrawlKite run.",
            "items": {
              "type": "string",
              "enum": [
                "100",
                "110",
                "120",
                "130",
                "200",
                "210",
                "220",
                "300",
                "310",
                "320"
              ],
              "enumTitles": [
                "In Training",
                "Entry Level",
                "Senior",
                "Strategic",
                "Entry Level Manager",
                "Experienced Manager",
                "Director",
                "Vice President",
                "CXO",
                "Owner / Partner"
              ]
            }
          },
          "excludeFunctionIds": {
            "title": "excludeFunctionIds",
            "type": "array",
            "description": "excludeFunctionIds. Optional control for your CrawlKite run.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "10",
                "11",
                "12",
                "13",
                "14",
                "15",
                "16",
                "17",
                "18",
                "19",
                "20",
                "21",
                "22",
                "23",
                "24",
                "25",
                "26"
              ],
              "enumTitles": [
                "Accounting",
                "Administrative",
                "Arts and Design",
                "Business Development",
                "Community and Social Services",
                "Consulting",
                "Education",
                "Engineering",
                "Entrepreneurship",
                "Finance",
                "Healthcare Services",
                "Human Resources",
                "Information Technology",
                "Legal",
                "Marketing",
                "Media and Communication",
                "Military and Protective Services",
                "Operations",
                "Product Management",
                "Program and Project Management",
                "Purchasing",
                "Quality Assurance",
                "Real Estate",
                "Research",
                "Sales",
                "Customer Success and Support"
              ]
            }
          },
          "excludeCompanyHeadquarterLocations": {
            "title": "excludeCompanyHeadquarterLocations",
            "maxItems": 70,
            "type": "array",
            "description": "excludeCompanyHeadquarterLocations. Optional control for your CrawlKite run.",
            "items": {
              "type": "string"
            }
          },
          "startPage": {
            "title": "startPage",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "startPage. Optional control for your CrawlKite run.",
            "default": 1
          },
          "takePages": {
            "title": "Maximum search pages",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum pages. 0 uses the 100-page safety limit."
          },
          "autoQuerySegmentation": {
            "title": "autoQuerySegmentation",
            "type": "boolean",
            "description": "Split searches above 2,500 results into smaller country, region, seniority or industry segments. Every probe/result page is billed; request and spending limits still apply."
          },
          "autoQuerySegmentationLevels": {
            "title": "autoQuerySegmentationLevels",
            "type": "array",
            "description": "autoQuerySegmentationLevels. Optional control for your CrawlKite run.",
            "items": {
              "type": "string",
              "enum": [
                "default",
                "country",
                "state",
                "seniority_level",
                "industry"
              ],
              "enumTitles": [
                "Default (Country, State, Seniority Level)",
                "Country",
                "State",
                "Seniority Level",
                "Industry"
              ]
            }
          },
          "autoQuerySegmentationTargetCountries": {
            "title": "autoQuerySegmentationTargetCountries",
            "type": "array",
            "description": "autoQuerySegmentationTargetCountries. Optional control for your CrawlKite run.",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "IN",
                "BR",
                "CN",
                "GB",
                "FR",
                "CA",
                "ID",
                "MX",
                "IT",
                "ES",
                "AU",
                "DE",
                "TR",
                "NL",
                "PH",
                "CO",
                "AR",
                "ZA",
                "CL",
                "MY",
                "NG",
                "AE",
                "EG",
                "BE",
                "SE",
                "SA",
                "PL",
                "PT",
                "CH",
                "KR",
                "DK",
                "RO",
                "SG",
                "JP",
                "TW",
                "IE",
                "KE",
                "NZ",
                "IL",
                "NO",
                "AT",
                "FI"
              ],
              "enumTitles": [
                "United States",
                "India",
                "Brazil",
                "China",
                "United Kingdom",
                "France",
                "Canada",
                "Indonesia",
                "Mexico",
                "Italy",
                "Spain",
                "Australia",
                "Germany",
                "Türkiye",
                "Netherlands",
                "Philippines",
                "Colombia",
                "Argentina",
                "South Africa",
                "Chile",
                "Malaysia",
                "Nigeria",
                "United Arab Emirates",
                "Egypt",
                "Belgium",
                "Sweden",
                "Saudi Arabia",
                "Poland",
                "Portugal",
                "Switzerland",
                "South Korea",
                "Denmark",
                "Romania",
                "Singapore",
                "Japan",
                "Taiwan",
                "Ireland",
                "Kenya",
                "New Zealand",
                "Israel",
                "Norway",
                "Austria",
                "Finland"
              ]
            }
          },
          "profileDeduplicationMode": {
            "title": "profileDeduplicationMode",
            "enum": [
              "off",
              "insert_ids",
              "insert_profiles",
              "read_only"
            ],
            "type": "string",
            "description": "profileDeduplicationMode. Optional control for your CrawlKite run."
          },
          "mongoDbConnectionString": {
            "title": "mongoDbConnectionString",
            "type": "string",
            "description": "Encrypted MongoDB connection string for cross-run profile deduplication. Never post it in an issue or support message."
          },
          "mongoDbDatabaseName": {
            "title": "mongoDbDatabaseName",
            "type": "string",
            "description": "Database used for profile deduplication. The compatibility default is harvestapi; set another name for a separate database."
          },
          "postFilteringMongoDbQuery": {
            "title": "postFilteringMongoDbQuery",
            "type": "object",
            "description": "MongoDB-style per-profile filtering or aggregation before dataset output. Requires positive takePages. Fetched/enriched profiles remain billable even when filtered out. Script and cross-collection operators are unavailable."
          },
          "postFilteringMongoDbAggregation": {
            "title": "postFilteringMongoDbAggregation",
            "type": "array",
            "description": "MongoDB-style per-profile filtering or aggregation before dataset output. Requires positive takePages. Fetched/enriched profiles remain billable even when filtered out. Script and cross-collection operators are unavailable.",
            "items": {
              "type": "object"
            }
          },
          "searchCoverage": {
            "title": "searchCoverage",
            "enum": [
              "medium",
              "high"
            ],
            "type": "string",
            "description": "Medium coverage is available. High coverage requires an enabled upstream capacity configuration and otherwise stops before billing."
          },
          "maxResults": {
            "title": "Maximum primary results",
            "minimum": 1,
            "type": "integer",
            "description": "Optional total result safety cap across every input."
          },
          "maxRequests": {
            "title": "Maximum upstream requests",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Optional total supplier request safety cap; default 10,000."
          },
          "maxPages": {
            "title": "Maximum pages per input",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Optional page safety cap per input; up to 100 pages."
          },
          "filters": {
            "title": "Search filters",
            "type": "object",
            "description": "Legacy CrawlKite input name; still accepted."
          },
          "profileMode": {
            "title": "Profile output",
            "enum": [
              "short",
              "full"
            ],
            "type": "string",
            "description": "Legacy CrawlKite input name; still accepted."
          },
          "includeCrawlKiteMetadata": {
            "title": "Include CrawlKite metadata",
            "type": "boolean",
            "description": "Opt in to the extra _crawlkite object. Leave disabled for source-shaped output.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}