{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Company Search - Find Companies, No Cookies",
    "description": "Find LinkedIn companies by keyword, industry and location without a login, then pull their full public profile: website, phone, employee count, followers, HQ, specialties, industries and funding. HTTP-first engine. Export CSV, Excel, JSON.",
    "version": "0.2",
    "x-build-id": "tPO9tvbBrpU3pJ6qg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/andrew_babo~linkedin-company-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-andrew_babo-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/andrew_babo~linkedin-company-search/runs": {
      "post": {
        "operationId": "runs-sync-andrew_babo-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/andrew_babo~linkedin-company-search/run-sync": {
      "post": {
        "operationId": "run-sync-andrew_babo-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": {
          "search": {
            "title": "Search term",
            "type": "string",
            "description": "What the company does, e.g. \"logistics\" or \"fintech\"."
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Countries or cities, e.g. [\"Singapore\", \"Vietnam\"]. Each one runs as its own query, which is also how you go past LinkedIn's 1,000-result ceiling.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Industry keywords",
            "type": "array",
            "description": "Extra industry words to narrow the search.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "short",
              "full"
            ],
            "type": "string",
            "description": "Short = candidate list only, cheapest. Full = open each company page for the complete profile.",
            "default": "full"
          },
          "maxItems": {
            "title": "Max companies",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Max companies.",
            "default": 100
          },
          "useSitemap": {
            "title": "Top up from LinkedIn's company sitemap",
            "type": "boolean",
            "description": "When the search returns fewer companies than requested, enumerate extra ones from LinkedIn's public sitemap. Broad, unfiltered — off by default.",
            "default": false
          },
          "bingApiKey": {
            "title": "Bing Search API key (optional)",
            "type": "string",
            "description": "Optional. Supplying a key swaps the free search source for Bing, which gives deeper and more stable pagination on large runs."
          },
          "scrapeAboutFallback": {
            "title": "Use the About page fallback",
            "type": "boolean",
            "description": "Use the About page fallback.",
            "default": true
          },
          "cacheTtlDays": {
            "title": "Cache lifetime (days)",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Reuse previously scraped profiles for this many days. 0 disables the cache.",
            "default": 30
          },
          "speedMode": {
            "title": "Speed mode",
            "enum": [
              "turbo",
              "fast",
              "balanced",
              "accurate"
            ],
            "type": "string",
            "description": "Speed mode.",
            "default": "turbo"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Max concurrency."
          },
          "liAtCookie": {
            "title": "LinkedIn li_at cookie (optional)",
            "type": "string",
            "description": "Leave empty. Only needed for fields LinkedIn hides from logged-out visitors. Using your own account carries a restriction risk."
          },
          "failOnZeroResults": {
            "title": "Fail run when nothing is extracted",
            "type": "boolean",
            "description": "Fail run when nothing is extracted.",
            "default": true
          },
          "includeRunSummary": {
            "title": "Include run summary in dataset",
            "type": "boolean",
            "description": "Append one final summary item to the dataset. Off by default; the summary (including stopReason: reachedMaxItems / exhausted / blocked / timeout) is always in the key-value store under STATS.",
            "default": false
          },
          "maxRunTimeSecs": {
            "title": "Max run time (seconds)",
            "minimum": 60,
            "maximum": 86400,
            "type": "integer",
            "description": "Max run time (seconds).",
            "default": 3600
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxies are strongly recommended; datacenter IPs get blocked by LinkedIn within minutes.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "industryIds": {
            "title": "LinkedIn industry IDs",
            "type": "array",
            "description": "Filter by LinkedIn industry codes (e.g. 96 = IT Services, 133 = Transportation & Logistics, 42 = Financial Services). Applied to the scraped profile and also used to widen discovery.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companySize": {
            "title": "Company size buckets",
            "type": "array",
            "description": "Headcount filter. Accepts LinkedIn size codes (A=1, B=2-10, C=11-50, D=51-200, E=201-500, F=501-1000, G=1001-5000, H=5001-10000, I=10001+) or plain ranges like 51-200, 1001-5000, 10001+. Companies whose headcount LinkedIn does not publish are kept unless strictCompanySize is on.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "strictCompanySize": {
            "title": "Strict size filter",
            "type": "boolean",
            "description": "Drop companies whose headcount LinkedIn does not publish instead of keeping them.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}