{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Company Scraper API (No Cookies)",
    "description": "[FREE] Extract public LinkedIn company, school, and showcase page data from URLs, slugs, numeric organization IDs, or URNs. No LinkedIn cookies or account required.",
    "version": "0.0",
    "x-build-id": "8riHnVfLVFhpkTcgQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lurkapi~linkedin-company-scraper-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lurkapi-linkedin-company-scraper-api",
        "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/lurkapi~linkedin-company-scraper-api/runs": {
      "post": {
        "operationId": "runs-sync-lurkapi-linkedin-company-scraper-api",
        "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/lurkapi~linkedin-company-scraper-api/run-sync": {
      "post": {
        "operationId": "run-sync-lurkapi-linkedin-company-scraper-api",
        "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": {
          "urls": {
            "title": "LinkedIn company, school, or showcase links",
            "type": "array",
            "description": "Paste public LinkedIn page links, one per line. You can mix company, school, and showcase links. Up to 5,000 per run.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "companySlugs": {
            "title": "Company handles",
            "type": "array",
            "description": "The part after /company/ in a LinkedIn link. Example: microsoft.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 150
            }
          },
          "schoolSlugs": {
            "title": "School handles",
            "type": "array",
            "description": "The part after /school/ in a LinkedIn link. Example: harvard-university.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 150
            }
          },
          "showcaseSlugs": {
            "title": "Showcase-page handles",
            "type": "array",
            "description": "The part after /showcase/ in a LinkedIn link.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 150
            }
          },
          "organizationIds": {
            "title": "LinkedIn organization IDs",
            "type": "array",
            "description": "LinkedIn's numeric organization ID. This is an advanced input for users who already have the ID. Full page links are more reliable.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            }
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "The maximum number of target outcomes to return. Includes explanatory rows for invalid or unavailable inputs. Up to 5,000.",
            "default": 5000
          },
          "outputPosts": {
            "title": "Recent posts",
            "type": "boolean",
            "description": "Add publicly available recent posts as a list inside each organization row.",
            "default": false
          },
          "outputAffiliatedPages": {
            "title": "Affiliated LinkedIn pages",
            "type": "boolean",
            "description": "Add publicly available affiliated pages as a list inside each organization row.",
            "default": false
          },
          "outputEmployees": {
            "title": "Employees",
            "type": "boolean",
            "description": "Add public LinkedIn employee profiles associated with each organization: name, headline, profile URL, and follower count. Available for company pages only.",
            "default": false
          },
          "maxEmployees": {
            "title": "Max employees per organization",
            "minimum": 1,
            "maximum": 600,
            "type": "integer",
            "description": "The maximum number of verified employees to return per organization. Employee scraping significantly increases run time, especially with a high limit.",
            "default": 50
          },
          "outputInput": {
            "title": "Original input",
            "type": "boolean",
            "description": "Include the original input value in each row.",
            "default": true
          },
          "outputPageType": {
            "title": "Page type",
            "type": "boolean",
            "description": "Include company, school, or showcase page type.",
            "default": true
          },
          "outputOrganizationId": {
            "title": "Organization ID",
            "type": "boolean",
            "description": "Include the numeric LinkedIn organization ID.",
            "default": true
          },
          "outputUniversalName": {
            "title": "LinkedIn handle",
            "type": "boolean",
            "description": "Include the handle used in the public LinkedIn page URL.",
            "default": true
          },
          "outputName": {
            "title": "Name",
            "type": "boolean",
            "description": "Include the organization name.",
            "default": true
          },
          "outputLinkedinUrl": {
            "title": "LinkedIn URL",
            "type": "boolean",
            "description": "Include the canonical LinkedIn page URL.",
            "default": true
          },
          "outputDescription": {
            "title": "Description",
            "type": "boolean",
            "description": "Include the public organization description.",
            "default": true
          },
          "outputSlogan": {
            "title": "Slogan",
            "type": "boolean",
            "description": "Include the public organization slogan when available.",
            "default": true
          },
          "outputWebsite": {
            "title": "Website",
            "type": "boolean",
            "description": "Include the public external website URL.",
            "default": true
          },
          "outputDomain": {
            "title": "Domain",
            "type": "boolean",
            "description": "Include the normalized external website domain.",
            "default": true
          },
          "outputIndustry": {
            "title": "Industry",
            "type": "boolean",
            "description": "Include the LinkedIn industry label.",
            "default": true
          },
          "outputEmployeeRange": {
            "title": "Company size",
            "type": "boolean",
            "description": "Include the employee range declared on the page.",
            "default": true
          },
          "outputLinkedinEmployeeCount": {
            "title": "Associated members",
            "type": "boolean",
            "description": "Include the number of LinkedIn members associated with the page.",
            "default": true
          },
          "outputHeadquarters": {
            "title": "Head office",
            "type": "boolean",
            "description": "Include the public head-office location.",
            "default": true
          },
          "outputOrganizationType": {
            "title": "Company type",
            "type": "boolean",
            "description": "Include the public organization type.",
            "default": true
          },
          "outputSpecialties": {
            "title": "Specialties",
            "type": "boolean",
            "description": "Include public specialties as an array.",
            "default": true
          },
          "outputFollowers": {
            "title": "Followers",
            "type": "boolean",
            "description": "Include the public follower count.",
            "default": true
          },
          "outputFoundedYear": {
            "title": "Founded year",
            "type": "boolean",
            "description": "Include the founding year when published.",
            "default": true
          },
          "outputLogo": {
            "title": "Logo",
            "type": "boolean",
            "description": "Include the public logo URL.",
            "default": true
          },
          "outputLocations": {
            "title": "Locations",
            "type": "boolean",
            "description": "Include public organization locations as an array.",
            "default": true
          },
          "outputIsAutoGenerated": {
            "title": "LinkedIn-generated page",
            "type": "boolean",
            "description": "Include whether LinkedIn identifies the page as automatically generated.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}