{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Company Profile Scraper",
    "description": "Extract detailed information from LinkedIn company pages in bulk — company name, website, domain, employee count, industry, headquarters, specialties, funding data and optional contact emails. Search by company URL or keyword with no login or cookies required.",
    "version": "0.0",
    "x-build-id": "nshmTojHPcERlfewm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~linkedin-company-profile-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-linkedin-company-profile-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/memo23~linkedin-company-profile-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-linkedin-company-profile-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/memo23~linkedin-company-profile-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-linkedin-company-profile-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": {
          "startUrls": {
            "title": "LinkedIn company URLs",
            "type": "array",
            "description": "LinkedIn company pages to read, one per entry (or leave empty and use searchKeywords), for example https://www.linkedin.com/company/microsoft/. The /about/ page, country subdomains (nl.linkedin.com) and tracking parameters are fine. Each entry must be a full URL; a bare name such as \"microsoft\" is rejected. For a long list, use \"Link remote text file\" and point it at a Google Sheet, CSV or TXT file with one URL per line. The same company listed twice is read and charged once.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchKeywords": {
            "title": "Find companies hiring for (keywords)",
            "type": "array",
            "description": "Keywords to find companies by, one per entry, for example \"fintech\" or \"data engineer\". Returns companies that currently have open jobs on LinkedIn matching the keyword, then reads each company profile like a URL input. Combine with searchLocation to narrow by place. Use maxItems to cap the number of companies (default 100 extra when this is used). Charged per company returned, like URL inputs. Default: empty.",
            "items": {
              "type": "string"
            }
          },
          "searchLocation": {
            "title": "Location for the keywords",
            "type": "string",
            "description": "Optional place for searchKeywords, written as on LinkedIn: a city, region or country, for example \"Berlin\", \"Texas\" or \"United Kingdom\". Leave empty for any location."
          },
          "maxItems": {
            "title": "Max companies",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many companies, for example 100. Leave empty to read every company you list. On the Apify free plan a run reads the first 3 companies."
          },
          "cookies": {
            "title": "Cookies",
            "type": "array",
            "description": "<p><b>Optional.</b> Leave empty and each company is fetched without a LinkedIn session. To read the signed-in About page with your own session instead, export your LinkedIn cookies (both li_at and JSESSIONID are needed) with a cookie extension such as <a rel=\"noopener noreferrer nofollow\" target=\"_blank\" href=\"https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm\">Cookie-Editor</a> while logged in, and paste them here.</p>"
          },
          "enrichEmails": {
            "title": "Enrich with contact emails",
            "type": "boolean",
            "description": "When on, the actor also looks up a public contact email for each company and adds contact_email, contact_website and an emailEnrichment object to its row. Charged $0.001 per company where an email is found; nothing when none is found. Default: off.",
            "default": false
          },
          "enrichFundingAndCompetitors": {
            "title": "Enrich with Revenue, Funding, CEO & Competitors",
            "type": "boolean",
            "description": "Attach estimated annual revenue (revenueUsd, revenueRange), total funding (totalFundingUsd), CEO name/LinkedIn URL, acquisition count, stock ticker, and top competitors. Billed 2 additional-data units ($0.002) per enriched company when found.",
            "default": false
          },
          "enrichWebTraffic": {
            "title": "Enrich with Website Traffic & Audience Stats",
            "type": "boolean",
            "description": "Attach Similarweb monthly visits, bounce rate, pages per visit, global/country rank, top countries, and top organic keywords for the company's website domain. Billed 1 additional-data unit ($0.001) per enriched company when found.",
            "default": false
          },
          "enrichKeyEmployees": {
            "title": "Enrich with Key Employees / Decision Makers",
            "type": "boolean",
            "description": "Attach a sample of public company employees (name, headline, profileUrl, location, openToWork, isPremium) in `keyEmployees`. Billed 1 additional-data unit ($0.001) per enriched company when found.",
            "default": false
          },
          "maxKeyEmployees": {
            "title": "Max key employees per company",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "When 'Enrich with Key Employees' is enabled, how many employees to attach per company (1–50, default 10).",
            "default": 10
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxies recommended. The default works out of the box."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}