{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Profiles, Companies, and Comments",
    "description": "🔥 ~$0.08/1K profiles 🔥 Search profiles, companies, services, and posts. Read profile and company details, employees, comments, and reactions. No LinkedIn login or cookies required.",
    "version": "0.1",
    "x-build-id": "qCG39CbRJhv0VISYp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kaix~linkedin-profile-company-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kaix-linkedin-profile-company-scraper",
        "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/kaix~linkedin-profile-company-scraper/runs": {
      "post": {
        "operationId": "runs-sync-kaix-linkedin-profile-company-scraper",
        "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/kaix~linkedin-profile-company-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-kaix-linkedin-profile-company-scraper",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Operation",
            "enum": [
              "profileSearch",
              "companySearch",
              "profileDetails",
              "companyDetails",
              "companyEmployees",
              "profileServicesSearch",
              "salesNavigatorSearch",
              "profilePosts",
              "companyPosts",
              "postSearch",
              "profileComments",
              "profileReactions",
              "postComments",
              "postReactions"
            ],
            "type": "string",
            "description": "Select a detail, search, or activity operation. No LinkedIn login or cookies required. Sales Navigator is not supported."
          },
          "firstName": {
            "title": "First name",
            "minLength": 1,
            "maxLength": 100,
            "type": "string",
            "description": "A name term for profileSearch. Directory search needs both firstName and lastName. For an exact member first-name filter, use searchOptions.filters.firstName."
          },
          "lastName": {
            "title": "Last name",
            "minLength": 1,
            "maxLength": 100,
            "type": "string",
            "description": "A name term for profileSearch. Directory search needs both firstName and lastName. A name term is not an exact last-name filter."
          },
          "keywords": {
            "title": "Search text",
            "minLength": 1,
            "maxLength": 200,
            "type": "string",
            "description": "Search text for profileSearch, companySearch, companyEmployees, profileServicesSearch, salesNavigatorSearch, or postSearch. Company search needs keywords unless member company filters are set. Profile search needs keywords or a name. Services and post search need keywords. Search text does not replace exact ID filters."
          },
          "profileSearchSource": {
            "title": "Profile search source",
            "enum": [
              "publicWeb",
              "directory",
              "member"
            ],
            "type": "string",
            "description": "For profileSearch. The default is LinkedIn people search. It supports the exact filters in searchOptions. Public web search finds indexed profiles through DuckDuckGo. Directory search needs both firstName and lastName. No source guarantees all profiles.",
            "default": "member"
          },
          "employeeSource": {
            "title": "Employee discovery source",
            "enum": [
              "publicWeb",
              "featured",
              "member"
            ],
            "type": "string",
            "description": "For companyEmployees. The default is LinkedIn employee search with company URLs. It supports the exact filters in searchOptions. Select public web search to use company names. Featured cards read a small public company-page sample. LinkedIn can hide identities. No source guarantees all employees.",
            "default": "member"
          },
          "companySearchSource": {
            "title": "Company search source",
            "enum": [
              "suggestions",
              "member"
            ],
            "type": "string",
            "description": "Suggestions return company name matches with no pagination. Member search finds companies on LinkedIn and supports the exact filters in searchOptions.",
            "default": "suggestions"
          },
          "includeActorOutput": {
            "title": "Include Actor field output",
            "type": "boolean",
            "description": "Add compatible Actor field views with source data and field availability. Missing or unsupported values stay null. A matching field name does not establish complete Actor parity.",
            "default": true
          },
          "enrichment": {
            "title": "Optional external data sources",
            "type": "object",
            "description": "Off by default. Read explicit official websites, supplied HTTPS source URLs, or a registry by exact ID. Keep contacts, company facts, funding facts, identity evidence, and errors separate from LinkedIn data. Company contacts are not assigned to individual profiles. Companies House requires COMPANIES_HOUSE_API_KEY. The optional licensed Crunchbase adapter requires CRUNCHBASE_API_KEY. No key belongs in this input.",
            "properties": {
              "officialWebsite": {
                "type": "boolean",
                "default": false,
                "title": "Official Website",
                "description": "Set official website for this source.",
                "editor": "checkbox"
              },
              "emailDiscovery": {
                "type": "boolean",
                "default": false,
                "title": "Read exposed email contacts",
                "description": "Read exposed contact addresses and linked websites. Keep source identity evidence. Check email syntax and DNS mail routes. Mailbox delivery remains unknown. No email is sent.",
                "editor": "checkbox"
              },
              "sourceUrls": {
                "type": "array",
                "maxItems": 10,
                "default": [],
                "items": {
                  "type": "object",
                  "required": [
                    "subjectUrl",
                    "url",
                    "kind"
                  ],
                  "additionalProperties": false,
                  "properties": {
                    "subjectUrl": {
                      "type": "string",
                      "description": "The exact LinkedIn /in/ or /company/ subject URL.",
                      "title": "Subject Url",
                      "editor": "textfield"
                    },
                    "url": {
                      "type": "string",
                      "maxLength": 2048,
                      "description": "HTTPS only; no credentials or custom port.",
                      "title": "Url",
                      "editor": "textfield"
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "contact",
                        "funding",
                        "company"
                      ],
                      "title": "Kind",
                      "description": "Set kind for this source.",
                      "editor": "select"
                    }
                  }
                },
                "title": "Source Urls",
                "description": "Set source urls for this source.",
                "editor": "json"
              },
              "registries": {
                "type": "array",
                "maxItems": 10,
                "default": [],
                "items": {
                  "type": "object",
                  "required": [
                    "subjectUrl",
                    "kind",
                    "id"
                  ],
                  "additionalProperties": false,
                  "properties": {
                    "subjectUrl": {
                      "title": "Subject URL",
                      "description": "The exact LinkedIn company URL for this registry record.",
                      "type": "string",
                      "editor": "textfield"
                    },
                    "kind": {
                      "title": "Registry",
                      "description": "Select the registry. The Actor checks the ID format for this registry.",
                      "type": "string",
                      "editor": "select",
                      "enum": [
                        "sec",
                        "companies_house",
                        "gleif"
                      ]
                    },
                    "id": {
                      "title": "Registry ID",
                      "description": "SEC: 1 to 10 CIK digits. Companies House: 8 uppercase letters or digits. GLEIF: 20 uppercase letters or digits. The Actor checks the exact format after input validation.",
                      "type": "string",
                      "editor": "textfield",
                      "minLength": 1,
                      "maxLength": 20,
                      "pattern": "^[A-Z0-9]+$"
                    }
                  }
                },
                "title": "Registries",
                "description": "Set registries for this source.",
                "editor": "json"
              },
              "licensedProviders": {
                "type": "array",
                "maxItems": 10,
                "default": [],
                "items": {
                  "type": "object",
                  "required": [
                    "subjectUrl",
                    "kind",
                    "id"
                  ],
                  "additionalProperties": false,
                  "properties": {
                    "subjectUrl": {
                      "type": "string",
                      "description": "The exact LinkedIn /in/ or /company/ subject URL.",
                      "title": "Subject Url",
                      "editor": "textfield"
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "crunchbase"
                      ],
                      "title": "Kind",
                      "description": "Set kind for this source.",
                      "editor": "select"
                    },
                    "id": {
                      "type": "string",
                      "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{0,99}$",
                      "title": "Id",
                      "description": "Set id for this source.",
                      "editor": "textfield"
                    }
                  }
                },
                "title": "Licensed Providers",
                "description": "Set licensed providers for this source.",
                "editor": "json"
              },
              "maxSources": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10,
                "default": 5,
                "title": "Max Sources",
                "description": "Set max sources for this source.",
                "editor": "number"
              },
              "timeoutMs": {
                "type": "integer",
                "minimum": 1000,
                "maximum": 30000,
                "default": 15000,
                "title": "Timeout Ms",
                "description": "Set timeout ms for this source.",
                "editor": "number"
              },
              "maxBytes": {
                "type": "integer",
                "minimum": 1024,
                "maximum": 2000000,
                "default": 1000000,
                "title": "Max Bytes",
                "description": "Set max bytes for this source.",
                "editor": "number"
              }
            },
            "default": {
              "officialWebsite": false,
              "emailDiscovery": false,
              "sourceUrls": [],
              "registries": [],
              "licensedProviders": [],
              "maxSources": 5,
              "timeoutMs": 15000,
              "maxBytes": 1000000
            },
            "additionalProperties": false
          },
          "searchOptions": {
            "title": "Exact member search options",
            "type": "object",
            "description": "Optional startPage and exact LinkedIn filter IDs. Names are not converted to IDs. Company filters: companyIndustryIds and companySizeCodes. People filters: currentCompanyIds, peopleGeoIds, peopleIndustryIds, profileLanguages, firstName. Employee mode derives currentCompanyIds and rejects a supplied value. Services has no supported exact filters. A custom url is reserved for Sales Navigator, which currently returns an access gap.",
            "properties": {
              "startPage": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 1,
                "title": "Start Page",
                "description": "Set start page for this source.",
                "editor": "number"
              },
              "filters": {
                "type": "object",
                "additionalProperties": false,
                "default": {},
                "properties": {
                  "currentCompanyIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[1-9]\\d{0,19}$"
                    },
                    "minItems": 1,
                    "maxItems": 20,
                    "uniqueItems": true,
                    "title": "Current Company Ids",
                    "description": "Set current company ids for this source.",
                    "editor": "json"
                  },
                  "peopleGeoIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[1-9]\\d{0,19}$"
                    },
                    "minItems": 1,
                    "maxItems": 20,
                    "uniqueItems": true,
                    "title": "People Geo Ids",
                    "description": "Set people geo ids for this source.",
                    "editor": "json"
                  },
                  "peopleIndustryIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[1-9]\\d{0,19}$"
                    },
                    "minItems": 1,
                    "maxItems": 20,
                    "uniqueItems": true,
                    "title": "People Industry Ids",
                    "description": "Set people industry ids for this source.",
                    "editor": "json"
                  },
                  "profileLanguages": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "en",
                        "fr",
                        "es",
                        "pt",
                        "de"
                      ]
                    },
                    "minItems": 1,
                    "maxItems": 5,
                    "title": "Profile Languages",
                    "description": "Set profile languages for this source.",
                    "editor": "select"
                  },
                  "firstName": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 300,
                    "title": "First Name",
                    "description": "Set first name for this source.",
                    "editor": "textfield"
                  },
                  "companyIndustryIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "pattern": "^[1-9]\\d{0,19}$"
                    },
                    "minItems": 1,
                    "maxItems": 20,
                    "uniqueItems": true,
                    "title": "Company Industry Ids",
                    "description": "Set company industry ids for this source.",
                    "editor": "json"
                  },
                  "companySizeCodes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "B",
                        "C",
                        "D",
                        "E",
                        "F",
                        "G",
                        "H",
                        "I"
                      ]
                    },
                    "minItems": 1,
                    "maxItems": 8,
                    "title": "Company Size Codes",
                    "description": "Set company size codes for this source.",
                    "editor": "select"
                  }
                },
                "title": "Filters",
                "description": "Set filters for this source.",
                "editor": "json"
              },
              "url": {
                "type": "string",
                "maxLength": 10000,
                "title": "Url",
                "description": "Set url for this source.",
                "editor": "textfield"
              }
            },
            "default": {
              "startPage": 1,
              "filters": {}
            },
            "additionalProperties": false
          },
          "companyNames": {
            "title": "Company names",
            "maxItems": 100,
            "type": "array",
            "description": "For companyEmployees with publicWeb. Each name starts a separate search. Names can be ambiguous. Use company URLs when possible.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "default": []
          },
          "jobTitles": {
            "title": "Job title search terms",
            "maxItems": 10,
            "type": "array",
            "description": "Search terms for profileSearch or companyEmployees with the publicWeb or member source. These words are not exact LinkedIn job-title filters. Directory and featured sources do not support them.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "default": []
          },
          "locations": {
            "title": "Location search terms",
            "maxItems": 10,
            "type": "array",
            "description": "Search terms for profileSearch or companyEmployees with the publicWeb or member source. For an exact member location filter, use searchOptions.filters.peopleGeoIds. Directory and featured sources do not support these terms.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "default": []
          },
          "profileUrls": {
            "title": "Profile URLs",
            "maxItems": 1000,
            "type": "array",
            "description": "HTTPS LinkedIn /in/ URLs for profileDetails, profilePosts, profileComments, or profileReactions. Duplicate input URLs are removed.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "companyUrls": {
            "title": "Company URLs",
            "maxItems": 1000,
            "type": "array",
            "description": "HTTPS LinkedIn /company/ URLs for companyDetails, companyEmployees, or companyPosts. Member employee search derives the company ID from each company page. Duplicate input URLs are removed.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "postUrls": {
            "title": "Post URLs",
            "maxItems": 1000,
            "type": "array",
            "description": "Required for postComments or postReactions. Use a full HTTPS LinkedIn /posts/ URL or /feed/update/urn:li:activity:/ URL from the post. The reader stops at access gates and does not claim a complete list.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxResults": {
            "title": "Maximum result rows",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum result rows for a search, employee, or activity run. A source can return fewer rows or a partial result. Direct detail modes ignore this limit.",
            "default": 25
          },
          "maxPages": {
            "title": "Maximum discovery pages",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum search pages or activity expansion groups. Activity modes accept at most 20. Company name suggestions have no pagination. Direct detail modes ignore this limit. A page limit does not establish a complete list.",
            "default": 10
          },
          "fetchDetails": {
            "title": "Get details for search results",
            "type": "boolean",
            "description": "Get profile or company details after a supported search. Direct detail modes and companyEmployees read details regardless of this setting. Activity operations retain their own source records.",
            "default": true
          },
          "fetchProfileSections": {
            "title": "Read full profile sections",
            "type": "boolean",
            "description": "Read up to 13 supported profile sections through their Show all links. Keep available data and report incomplete sections. This can increase the time to collect each profile.",
            "default": true
          },
          "fetchProfilePanels": {
            "title": "Read profile information panels",
            "type": "boolean",
            "description": "Read Contact info, About this member, and available work and education skill panels. Read up to 24 skill panels per page. Keep the date detail supplied by LinkedIn and report incomplete or failed panels.",
            "default": true
          },
          "fetchStructuredData": {
            "title": "Read structured profile and company data",
            "type": "boolean",
            "description": "Read extra profile and company details. Add fields only from the matching LinkedIn profile or company. Keep page data if the read fails. Stop when LinkedIn restricts access or requests.",
            "default": true
          },
          "requestDelayMs": {
            "title": "Delay between requests (milliseconds)",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Minimum delay for LinkedIn requests. Member reads are bounded and run one at a time. Optional external sources have their own time, size, and source limits.",
            "default": 1000
          },
          "maxRetries": {
            "title": "Maximum retries",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Maximum retries for eligible failed HTTP requests. Access gates and rate limits stop the affected member read.",
            "default": 2
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave this at its default for this Actor. A separate proxy setting cannot be combined with the configured proxy pool.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}