{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Company Data Scraper & LinkedIn Company Search",
    "description": "LinkedIn company scraper and LinkedIn company search, no login: company details by URL, name, domain or id (employees, followers, industry, size, headquarters, website, locations, similar pages, posts, open jobs) and company search by keywords, industry or place. Misses free.",
    "version": "0.1",
    "x-build-id": "WoM9OiJqP6LD5LVS9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~linkedin-company-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-linkedin-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/hyperbach~linkedin-company-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-linkedin-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/hyperbach~linkedin-company-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-linkedin-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",
        "properties": {
          "companies": {
            "title": "Company links or names in the link",
            "maxItems": 10000,
            "type": "array",
            "description": "LinkedIn company links in any form: www or a country host (uk.linkedin.com), a sub-page (/about/, /jobs/, /people/), with parameters, a link wrapped in a redirect, a showcase page (/showcase/...) or a school page (/school/...), or the bare name in the link such as google. A number or urn:li:organization:<id> is read as a company id, and a company's own website as a domain. A value that names no company gives a free row that says why.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Company names",
            "maxItems": 10000,
            "type": "array",
            "description": "Company names such as Stripe or Greenberg Traurig. Each is resolved through LinkedIn's company suggestions to the company of that exact name, and the page's own id is checked before the row is delivered. When several companies carry the exact name, the one LinkedIn ranks first is delivered and the row names the others; when none is ranked first, a free ambiguous row lists the candidates.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "domains": {
            "title": "Website domains",
            "maxItems": 10000,
            "type": "array",
            "description": "Company websites such as stripe.com or https://www.apify.com/store. The company page whose own website is that domain is delivered (matchedBy says how it matched); when no page read names it, a free not_resolved row.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companyIds": {
            "title": "Company ids",
            "maxItems": 10000,
            "type": "array",
            "description": "LinkedIn's numeric company ids such as 1441, or urn:li:organization:1441 / urn:li:fsd_company:1441. The row is delivered only when the page's own id is the one you gave.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Company search words",
            "maxItems": 100,
            "type": "array",
            "description": "One company search per line, sent to a search engine's LinkedIn company results as written (quotes keep a phrase). Each search lists up to about 1,000 companies, then the country hosts (in, uk, ca, au, ...) past that; every company found is read from its own page. Each search also gets a free summary row with its depth and verdict.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Search filter: industries",
            "maxItems": 50,
            "type": "array",
            "description": "Keep only companies whose LinkedIn industry (or a level of its hierarchy) holds one of these values as whole words, for example Software Development or Hospitals. Checked on each company's own page; a company that does not match is dropped free. Each value is also searched as a quoted word, one search each. Searches only.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Search filter: locations",
            "maxItems": 50,
            "type": "array",
            "description": "Keep only companies with a headquarters or an office in one of these places as whole words, for example Berlin, California or United Kingdom (a country name also matches the page's country code). Checked on each company's own page; a company that does not match is dropped free. Each value is also searched as a quoted word, one search each. Searches only.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companySizes": {
            "title": "Search filter: company sizes",
            "maxItems": 9,
            "type": "array",
            "description": "Keep only companies of these LinkedIn size bands: 1, 2-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+. Checked on each company's own page, so it needs readCompanyPages on; a company of another band is dropped free. Searches only.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companyTypes": {
            "title": "Search filter: company types",
            "maxItems": 10,
            "type": "array",
            "description": "Keep only companies of these types, as LinkedIn names them: Public Company, Privately Held, Nonprofit, Self-Employed, Self-Owned, Partnership, Government Agency, Educational. Checked on each company's own page, so it needs readCompanyPages on; a company of another type is dropped free. Searches only.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerSearch": {
            "title": "Max results per search",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "The most charged companies one search delivers; 0 = no cap (up to about 1,000 a query, then the country hosts).",
            "default": 100
          },
          "readCompanyPages": {
            "title": "Read each search result's company page",
            "type": "boolean",
            "description": "On: every company a search finds is read from its own page for the full row. Off: the search rows alone, from the engine's results (the name, the link, the engine's snippet and its follower count), charged as a search row, only for results that show one of your words; industries and locations then go into the search as quoted words only, and companySizes or companyTypes are refused.",
            "default": true
          },
          "includeOpenJobs": {
            "title": "Add the open jobs count",
            "type": "boolean",
            "description": "Adds openJobs, the company's open jobs on LinkedIn worldwide (an exact count, or a floor such as 2,000+ with openJobsIsFloor), from LinkedIn's public jobs search: one more request per company, about 1 second.",
            "default": false
          },
          "maxItems": {
            "title": "Max results (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most charged company rows of the whole run; 0 = no cap beyond your charge limit. Free rows (a company not found or not resolved, a duplicate, a value that names nothing, the search summary rows) do not count.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Companies read at once",
            "minimum": 1,
            "maximum": 32,
            "type": "integer",
            "description": "Company pages read in parallel, at most four on one connection.",
            "default": 8
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "maxLength": 2000,
            "type": "string",
            "description": "A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}