{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn People Search — Company, Title, Industry, No Login",
    "description": "Search LinkedIn people by keyword, job title, company, school, location, industry, seniority and function — no login, no ban risk. Get name, headline, company, location, schools, languages and profile URL as clean JSON/CSV. Pay per profile found, not per block of 25 — exactly what you get.",
    "version": "0.0",
    "x-build-id": "EExfclFlmJgcre8gl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~linkedin-people-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-linkedin-people-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/memo23~linkedin-people-search/runs": {
      "post": {
        "operationId": "runs-sync-memo23-linkedin-people-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/memo23~linkedin-people-search/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-linkedin-people-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": {
          "mode": {
            "title": "Search mode",
            "enum": [
              "public",
              "cookie"
            ],
            "type": "string",
            "description": "**public** = cookie-free (recommended). Finds public LinkedIn profiles and reads each public profile page — no LinkedIn login, no cookie, zero ban risk. Works out of the box. **cookie** = uses LinkedIn's own people search under your session cookie for exact facets (geo/company/school/network-depth) — more precise, but you supply your own cookie.",
            "default": "public"
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Main free-text search (role, skill, name — anything)."
          },
          "title": {
            "title": "Job title",
            "type": "string",
            "description": "Filter by job-title keyword (e.g. `Head of Growth`)."
          },
          "company": {
            "title": "Company (keyword)",
            "type": "string",
            "description": "Filter by company-name keyword."
          },
          "school": {
            "title": "School (keyword)",
            "type": "string",
            "description": "Filter by school-name keyword."
          },
          "location": {
            "title": "Location (keyword)",
            "type": "string",
            "description": "Filter by location keyword (e.g. `London`). Used in public mode."
          },
          "firstName": {
            "title": "First name",
            "type": "string",
            "description": "Filter by first name (cookie mode)."
          },
          "lastName": {
            "title": "Last name",
            "type": "string",
            "description": "Filter by last name (cookie mode)."
          },
          "seniorityLevels": {
            "title": "Seniority levels",
            "type": "array",
            "description": "Only deliver people at these seniority levels. Derived from each profile's title/headline — no LinkedIn login involved. Rows also always include the derived `seniorityLevel` field.",
            "items": {
              "type": "string",
              "enum": [
                "Intern",
                "Entry",
                "Senior",
                "Manager",
                "Director",
                "VP",
                "CXO",
                "Partner",
                "Owner"
              ]
            }
          },
          "jobFunctions": {
            "title": "Job functions",
            "type": "array",
            "description": "Only deliver people in these job functions, e.g. `Sales`, `Engineering`, `Human Resources`. Derived from each profile's title/headline — no LinkedIn login involved. Rows also always include the derived `jobFunction` field.",
            "items": {
              "type": "string",
              "enum": [
                "Sales",
                "Marketing",
                "Engineering",
                "Data",
                "Product",
                "Design",
                "Finance",
                "Human Resources",
                "Operations",
                "Legal",
                "IT",
                "Customer Success",
                "Consulting",
                "Education",
                "Healthcare"
              ]
            }
          },
          "cookie": {
            "title": "LinkedIn cookie (li_at + JSESSIONID)",
            "type": "string",
            "description": "Your own LinkedIn session cookie containing BOTH li_at and JSESSIONID. Runs the search under your session (no ban risk to us). Kept secret. Public mode does not need this."
          },
          "geoUrns": {
            "title": "Location URN IDs",
            "type": "array",
            "description": "LinkedIn geo URN IDs, e.g. `103644278` = United States (cookie mode).",
            "items": {
              "type": "string"
            }
          },
          "currentCompanyUrns": {
            "title": "Current-company URN IDs",
            "type": "array",
            "description": "LinkedIn company URN IDs (cookie mode).",
            "items": {
              "type": "string"
            }
          },
          "schoolUrns": {
            "title": "School URN IDs",
            "type": "array",
            "description": "LinkedIn school URN IDs (cookie mode).",
            "items": {
              "type": "string"
            }
          },
          "networkDepths": {
            "title": "Network depth",
            "type": "array",
            "description": "Connection degree: `F` (1st), `S` (2nd), `O` (3rd+) — cookie mode.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max profiles",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on profiles returned. Example: `50`. Default `100`, maximum `1000`.",
            "default": 100
          },
          "enrichEmails": {
            "title": "Find company contact emails",
            "type": "boolean",
            "description": "Opt-in: for each full profile, look up the person's current company and scrape its website for verified contact emails (plus website, phones, socials). Adds contactEmail, contactWebsite and emailEnrichment to the row. Billed via the additional-data event only when an email is actually found.",
            "default": false
          },
          "proxy": {
            "title": "Proxy configuration (optional override)",
            "type": "object",
            "description": "Leave empty — the actor routes through its own residential proxy. Only set to use your own proxies."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}