{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Company Search: Keyword, Place, Filters",
    "description": "LinkedIn company search scraper with no login: find company pages by keyword and place (fintech in New York) and filter by size, industry, country, city and followers. One row per company: website, industry, exact employees, followers, HQ and offices, posts, funding.",
    "version": "0.4",
    "x-build-id": "Xg5n6tM6mT1cOcwr1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/deepmine~linkedin-company-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-deepmine-linkedin-company-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/deepmine~linkedin-company-search/runs": {
      "post": {
        "operationId": "runs-sync-deepmine-linkedin-company-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/deepmine~linkedin-company-search/run-sync": {
      "post": {
        "operationId": "run-sync-deepmine-linkedin-company-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": {
          "searchKeywords": {
            "title": "🔍 Search keywords",
            "type": "array",
            "description": "Find company pages by what they do, e.g. <code>fintech</code> or <code>plumbing</code>. Each keyword is one search (up to 💯 Max companies per search). Companies found this way cost the same as any other company: no search fee. Empty = no search.",
            "items": {
              "type": "string"
            }
          },
          "searchLocation": {
            "title": "📍 Search location",
            "type": "string",
            "description": "Narrows every keyword search to pages that name this place, e.g. <code>New York</code> or <code>Germany</code>. Companies with their headquarters or an office there count. Empty = anywhere."
          },
          "maxResultsPerSearch": {
            "title": "💯 Max companies per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Companies to collect and pay for per keyword (after filters). A search also ends when the search engines list no new company pages, or early when most of the company pages it reads are outside the search location, don't pass your filters or are gone.",
            "default": 25
          },
          "searchHeadquartersOnly": {
            "title": "🏢 Headquarters in the search location only",
            "type": "boolean",
            "description": "Keep only companies headquartered in the Search location (by default a company with an office there counts too). Left-out companies are free.",
            "default": false
          },
          "includeFunding": {
            "title": "💰 Include funding",
            "type": "boolean",
            "description": "Adds total raised, last round (date, size, investors) and the investor list from the company's public CB Insights profile, matched by website. No extra charge; the run takes about twice as long.",
            "default": false
          },
          "includeContacts": {
            "title": "📇 Include website contacts ($)",
            "type": "boolean",
            "description": "Adds the emails and phone numbers the company's own website publishes (home and contact pages). Charged per company only when something is found.",
            "default": false
          },
          "industries": {
            "title": "🏭 Industries",
            "type": "array",
            "description": "Keep companies whose LinkedIn industry contains one of these whole words, e.g. <code>software</code>. Empty = any industry.",
            "items": {
              "type": "string"
            }
          },
          "companySizes": {
            "title": "📏 Company size",
            "type": "array",
            "description": "Keep companies in these LinkedIn size ranges. Empty = any size.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "11",
                "51",
                "201",
                "501",
                "1001",
                "5001",
                "10001"
              ],
              "enumTitles": [
                "0-1 employees",
                "2-10",
                "11-50",
                "51-200",
                "201-500",
                "501-1,000",
                "1,001-5,000",
                "5,001-10,000",
                "10,001+"
              ]
            }
          },
          "headquartersCountries": {
            "title": "🌍 Headquarters country",
            "type": "array",
            "description": "Keep companies headquartered in these countries. Empty = any country.",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "GB",
                "CA",
                "AU",
                "IN",
                "DE",
                "FR",
                "NL",
                "ES",
                "IT",
                "IE",
                "SE",
                "CH",
                "BE",
                "DK",
                "NO",
                "FI",
                "PL",
                "PT",
                "AT",
                "IL",
                "AE",
                "SA",
                "SG",
                "HK",
                "JP",
                "KR",
                "CN",
                "TW",
                "ID",
                "PH",
                "MY",
                "VN",
                "TH",
                "NZ",
                "BR",
                "MX",
                "AR",
                "CO",
                "CL",
                "ZA",
                "NG",
                "KE",
                "EG",
                "TR",
                "UA",
                "RO",
                "CZ",
                "GR",
                "PK"
              ],
              "enumTitles": [
                "United States",
                "United Kingdom",
                "Canada",
                "Australia",
                "India",
                "Germany",
                "France",
                "Netherlands",
                "Spain",
                "Italy",
                "Ireland",
                "Sweden",
                "Switzerland",
                "Belgium",
                "Denmark",
                "Norway",
                "Finland",
                "Poland",
                "Portugal",
                "Austria",
                "Israel",
                "United Arab Emirates",
                "Saudi Arabia",
                "Singapore",
                "Hong Kong",
                "Japan",
                "South Korea",
                "China",
                "Taiwan",
                "Indonesia",
                "Philippines",
                "Malaysia",
                "Vietnam",
                "Thailand",
                "New Zealand",
                "Brazil",
                "Mexico",
                "Argentina",
                "Colombia",
                "Chile",
                "South Africa",
                "Nigeria",
                "Kenya",
                "Egypt",
                "Turkey",
                "Ukraine",
                "Romania",
                "Czechia",
                "Greece",
                "Pakistan"
              ]
            }
          },
          "locations": {
            "title": "🏙️ City or region",
            "type": "array",
            "description": "Keep companies with their headquarters or an office in one of these places (whole words), e.g. <code>Austin</code>. Empty = anywhere.",
            "items": {
              "type": "string"
            }
          },
          "minFollowers": {
            "title": "➕ Min LinkedIn followers",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Keep companies with at least this many followers, e.g. 1000. Empty = no minimum."
          },
          "companies": {
            "title": "🏢 Companies (URLs, websites, names or IDs)",
            "type": "array",
            "description": "One per line: a LinkedIn company page URL (any country site, showcase pages too), a page name like <code>stripe</code>, a numeric company ID, a company website like <code>stripe.com</code> (the page that lists it), or a company name like <code>Two Maids & A Mop</code>. Pages that don't exist are free.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerName": {
            "title": "🔤 Companies per name",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "For lines that are company names: how many matching companies to collect, best match first. 1 = just the best match.",
            "default": 1
          },
          "includeRecentJobs": {
            "title": "💼 Include open jobs",
            "type": "boolean",
            "description": "Adds up to 10 of the company's open LinkedIn jobs (title, location, date, link) in recentJobs. No extra charge.",
            "default": false
          },
          "maxPostsPerCompany": {
            "title": "📰 Recent posts per company",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "How many of the company's newest posts to keep (text, date, reactions, comments, images). LinkedIn shows up to 10 without login; 0 leaves posts out.",
            "default": 10
          },
          "maxCompanies": {
            "title": "🛑 Max companies",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many companies in total. Empty = no limit (your max cost per run still applies)."
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Leave as is: Apify datacenter proxy works for LinkedIn company pages. With a residential pick, a page datacenter keeps refusing gets its last try on residential, at no extra cost to you.",
            "default": {
              "useApifyProxy": 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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}