{
  "openapi": "3.0.1",
  "info": {
    "title": "🏢 LinkedIn Company Scraper Pro - Bulk Data [NO COOKIES] ✅",
    "description": "Bulk-scrape LinkedIn company data - name, industry, employees, HQ, website, founding year - without logging in. No cookies, no Chrome extension, no risk to your account. Built for B2B sales, recruiters, and ABM platforms. Outputs clean JSON for HubSpot, Salesforce, Clay, n8n.",
    "version": "0.0",
    "x-build-id": "hnIntpQsfqSUwnmGa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unseenuser~LinkedIn-Company-Scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unseenuser-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/unseenuser~LinkedIn-Company-Scraper/runs": {
      "post": {
        "operationId": "runs-sync-unseenuser-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/unseenuser~LinkedIn-Company-Scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unseenuser-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Step 1: What do you want to do?",
            "enum": [
              "get_company",
              "search_companies",
              "company_posts"
            ],
            "type": "string",
            "description": "Pick one. Each option below has its own dedicated section - just scroll down and fill in that section.",
            "default": "get_company"
          },
          "profileCompanies": {
            "title": "Companies to fetch profiles for",
            "uniqueItems": true,
            "type": "array",
            "description": "List the companies you want full profile data for. Accepts ANY mix of:\n\n  - LinkedIn URL:  https://www.linkedin.com/company/anthropic/\n  - Handle (universal name):  anthropic\n  - Free-text name:  Anthropic AI\n\nSmart routing picks the fastest method automatically. One per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchKeywords": {
            "title": "Search keywords",
            "type": "string",
            "description": "Free-text keywords matching company names, taglines, or descriptions.\n\nExamples:  AI infrastructure, cybersecurity startups, developer tools.\n\nLeave blank if you want to filter only by location/size/industry."
          },
          "location": {
            "title": "Location (text)",
            "type": "string",
            "description": "Filter by country, region, or city as free text.\n\nExamples:  United States, San Francisco Bay Area, Tel Aviv.\n\nIgnored if Geo ID below is set."
          },
          "geoId": {
            "title": "Geo ID (precise - overrides Location)",
            "type": "string",
            "description": "LinkedIn's numeric geo ID. More precise than text location.\n\nExamples:  103644278 (United States), 101174742 (Israel).\n\nLook up via Harvest's /linkedin/geo-id-search endpoint. Leave blank to use the text Location instead."
          },
          "companySize": {
            "title": "Company size (headcount buckets)",
            "uniqueItems": true,
            "type": "array",
            "description": "Pick one or more headcount ranges. Multiple selections are OR'd together.",
            "items": {
              "type": "string",
              "enum": [
                "1-10",
                "11-50",
                "51-200",
                "201-500",
                "501-1000",
                "1001-5000",
                "5001-10000",
                "10001+"
              ],
              "enumTitles": [
                "1-10  (micro)",
                "11-50  (small)",
                "51-200  (small-mid)",
                "201-500  (mid)",
                "501-1,000  (mid-large)",
                "1,001-5,000  (large)",
                "5,001-10,000  (enterprise)",
                "10,001+  (mega-enterprise)"
              ]
            },
            "default": []
          },
          "industryIds": {
            "title": "Industry IDs",
            "uniqueItems": true,
            "type": "array",
            "description": "LinkedIn V2 industry IDs (numeric). Multiple values are OR'd together.\n\nFull list: https://github.com/HarvestAPI/linkedin-industry-codes-v2/blob/main/linkedin_industry_code_v2_all_eng.csv\n\nCommon examples:\n  - 96  Information Technology and Services\n  - 4   Computer Software\n  - 6   Internet\n  - 43  Financial Services\n  - 14  Hospital and Health Care",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max search results",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on how many companies to return. Pagination is handled automatically.",
            "default": 100
          },
          "postsCompanies": {
            "title": "Companies to fetch posts from",
            "uniqueItems": true,
            "type": "array",
            "description": "List the companies whose recent posts you want. Same input format as profile mode (URL, handle, or free-text name).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "scrapePostedLimit": {
            "title": "Posts recency filter",
            "enum": [
              "1h",
              "24h",
              "week",
              "month",
              "3months",
              "6months",
              "year"
            ],
            "type": "string",
            "description": "Only keep posts newer than this. Applied AFTER fetch for reliable pagination.\n\nLeave blank to keep all posts."
          },
          "maxPostsPerCompany": {
            "title": "Max posts per company",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap how many posts to fetch per company. Pagination stops automatically when reached or when no more posts exist.",
            "default": 50
          },
          "includeSimilarCompanies": {
            "title": "Include 'similar companies' list?",
            "type": "boolean",
            "description": "If on, each company profile keeps LinkedIn's 'People also viewed' list (slimmed to id, name, handle, URL, industry, headcount, followers).\n\nDefault off - keeps output ~10x smaller.",
            "default": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}