{
  "data": {
    "id": "XKRueiO6YWfocnh1W",
    "actId": "IsYWoUrrMs9h9bORp",
    "userId": "tnBVjt3CXmcUrEE3L",
    "startedAt": "2026-11-22T02:26:21.108Z",
    "finishedAt": "2026-11-22T02:26:27.720Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "stats": {
      "durationMillis": 6522,
      "runTimeSecs": 6.522,
      "computeUnits": 0.007246666666666667,
      "imageSizeBytes": 373237248
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "F2Aeb3gE2syjqz9xC",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"LinkedIn Lookalike Page Network Crawler Input\",\n  \"description\": \"Crawl the public LinkedIn company and showcase page graph from seed URLs, slugs or company names. Follow Similar pages and Affiliated pages, filter the pages you keep, and return both the page table and the relation table.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"How to seed the crawl: exact company/showcase URLs or slugs, or company display names that are resolved first.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"crawlFromSeeds\",\n        \"resolveNames\"\n      ],\n      \"enumTitles\": [\n        \"Crawl from page URLs or slugs\",\n        \"Resolve company names, then crawl\"\n      ],\n      \"default\": \"crawlFromSeeds\",\n      \"prefill\": \"crawlFromSeeds\"\n    },\n    \"seedUrls\": {\n      \"title\": \"Seed page URLs or slugs\",\n      \"type\": \"array\",\n      \"description\": \"LinkedIn company or showcase page URLs, regional URLs, or bare slugs such as `stripe` (mode=crawlFromSeeds). School and personal profile URLs are not public to guests and are skipped.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [\n        \"https://www.linkedin.com/company/stripe/\"\n      ]\n    },\n    \"companyNames\": {\n      \"title\": \"Company names\",\n      \"type\": \"array\",\n      \"description\": \"Display names such as `Stripe` or `Mercado Libre` to resolve to a public LinkedIn page before crawling (mode=resolveNames). Names are matched against the public featured-company directory and exact page slugs; unresolved names are reported.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"maxDepth\": {\n      \"title\": \"Crawl depth\",\n      \"type\": \"integer\",\n      \"description\": \"How many page levels to follow. Seed pages are depth 1; depth 2 also fetches their direct relations.\",\n      \"minimum\": 1,\n      \"maximum\": 4,\n      \"default\": 2,\n      \"prefill\": 1\n    },\n    \"maxPagesPerLevel\": {\n      \"title\": \"Max pages per level\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum pages fetched at each depth level. Keeps a wide graph bounded.\",\n      \"minimum\": 1,\n      \"maximum\": 100,\n      \"default\": 10,\n      \"prefill\": 1\n    },\n    \"maxItems\": {\n      \"title\": \"Max pages fetched\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on the total number of pages fetched in the run, including pages that later fail a filter. Edge rows do not count toward this cap.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 100,\n      \"prefill\": 1\n    },\n    \"includeCompanies\": {\n      \"title\": \"Keep company pages\",\n      \"type\": \"boolean\",\n      \"description\": \"Fetch and return company pages (`/company/...`).\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"includeShowcases\": {\n      \"title\": \"Keep showcase pages\",\n      \"type\": \"boolean\",\n      \"description\": \"Fetch and return showcase pages (`/showcase/...`). Showcase pages are the product, brand and programme pages affiliated with companies.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"followSimilar\": {\n      \"title\": \"Follow Similar pages\",\n      \"type\": \"boolean\",\n      \"description\": \"Follow the Similar pages block on every fetched page.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"followAffiliated\": {\n      \"title\": \"Follow Affiliated pages\",\n      \"type\": \"boolean\",\n      \"description\": \"Follow company-to-company relationships in the Affiliated pages block.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"followShowcase\": {\n      \"title\": \"Follow showcase pages\",\n      \"type\": \"boolean\",\n      \"description\": \"Follow the showcase links found in Affiliated pages. When off, showcase links are still recorded as affiliated edges but are not fetched.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"followParent\": {\n      \"title\": \"Follow parent companies\",\n      \"type\": \"boolean\",\n      \"description\": \"Follow the company that a showcase links back to (a mutual affiliation) and label that edge as `parent`.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"includeEdges\": {\n      \"title\": \"Include edge rows\",\n      \"type\": \"boolean\",\n      \"description\": \"Add one row per relation to the dataset with `recordType = \\\"edge\\\"` (the Network edges view). Turn it off when you only need page profiles.\",\n      \"default\": true,\n      \"prefill\": false\n    },\n    \"industries\": {\n      \"title\": \"Industries\",\n      \"type\": \"array\",\n      \"description\": \"Keep pages whose industry contains any of these phrases, case-insensitive, e.g. `Software Development`. Pages without an industry are kept.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"hqCountry\": {\n      \"title\": \"Headquarters country\",\n      \"type\": \"string\",\n      \"description\": \"Keep pages whose headquarters or listed office addresses contain this country name or code, e.g. `United States` or `US`. Pages without a location are kept.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"hqCity\": {\n      \"title\": \"Headquarters city\",\n      \"type\": \"string\",\n      \"description\": \"Keep pages whose headquarters or listed office addresses contain this city, e.g. `San Francisco`. Pages without a location are kept.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"companySizeBand\": {\n      \"title\": \"Company size band\",\n      \"type\": \"string\",\n      \"description\": \"Keep pages in one LinkedIn company-size band. Pages without a size band are kept.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"1-10\",\n        \"11-50\",\n        \"51-200\",\n        \"201-500\",\n        \"501-1000\",\n        \"1001-5000\",\n        \"5001-10000\",\n        \"10001+\"\n      ],\n      \"enumTitles\": [\n        \"Any size\",\n        \"1-10 employees\",\n        \"11-50 employees\",\n        \"51-200 employees\",\n        \"201-500 employees\",\n        \"501-1,000 employees\",\n        \"1,001-5,000 employees\",\n        \"5,001-10,000 employees\",\n        \"10,001+ employees\"\n      ],\n      \"default\": \"any\",\n      \"prefill\": \"any\"\n    },\n    \"minFollowers\": {\n      \"title\": \"Minimum followers\",\n      \"type\": \"integer\",\n      \"description\": \"Keep pages with at least this many LinkedIn followers. Zero disables the filter. Pages without a follower count are kept.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000000,\n      \"default\": 0,\n      \"prefill\": 0\n    },\n    \"keyword\": {\n      \"title\": \"Keyword\",\n      \"type\": \"string\",\n      \"description\": \"Keep pages whose name, tagline, about text or specialties contain this phrase, case-insensitive.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# LinkedIn Lookalike Page Network Crawler\n\nTurn a handful of LinkedIn company or showcase pages into a **market map**: the seed pages plus the pages LinkedIn lists beside them, followed level by level, with the relationships kept in a separate edge table.\n\nThis actor reads LinkedIn's public company and showcase pages without a login, cookie, API key or proxy setup. It returns the firmographics shown on each page and a relation table you can load into a graph or network visualisation.\n\n## What it does\n\n1. Starts from one or more public LinkedIn company or showcase URLs, bare slugs, or company names.\n2. Reads the **Similar pages** and **Affiliated pages** blocks on each page.\n3. Follows the edges you enable, up to four levels deep and a configurable number of pages per level.\n4. Writes one row per page and one row per relation.\n\nThe result is a lookalike set, a competitor map, or a corporate/showcase hierarchy that you can inspect and filter before fetching anything else.\n\n## Ways to start\n\n| Mode | What you provide | What happens |\n|---|---|---|\n| `crawlFromSeeds` (default) | Company/showcase URLs, regional URLs, bare slugs (`stripe`), or a mix | Every seed is fetched and crawled |\n| `resolveNames` | Company display names such as `Stripe`, `Mercado Libre`, `Nestlé` | Each name is matched to a public LinkedIn page first, then crawled |\n\nName resolution checks LinkedIn's public featured-company directory and a set of exact slug variants. It is best-effort: unresolved names are named in the run status, and the safest input is always the page URL or slug.\n\n## How the crawl works\n\n- **Breadth-first.** Seeds are depth 1. Their direct relations are depth 2, and so on.\n- **Deduplicated by canonical URL.** The same page is fetched once even when several parents point to it.\n- **Edge types.** `similar` comes from the Similar pages block. `affiliated` covers company-to-company affiliations. `showcase` marks a showcase page found in an affiliated block. `parent` marks the company a showcase links back to (a mutual affiliation).\n- **Parent edges are evidence-based.** A showcase page only gets a `parent` edge when the company that led to it is also listed in that showcase's own Affiliated pages.\n- **Stop conditions.** The crawl stops at `maxDepth`, at `maxPagesPerLevel`, at `maxItems`, or when there are no more pages to fetch. There is no wall-clock cut-off.\n- **Page type filters.** Companies and showcases can be enabled independently. School pages and personal profiles are not public to guests and are skipped with a clear status message.\n- **Result filters.** Industry, headquarters country/city, company-size band, minimum followers and a keyword filter keep only matching page rows. Edge rows are still written for the relationships that were read, so the graph stays intact.\n\n## Input\n\n| Field | Type | Default | Meaning |\n|---|---|---|---|\n| `mode` | select | `crawlFromSeeds` | Start from page URLs/slugs or resolve company names first |\n| `seedUrls` | string list | `[]` | Company/showcase URLs, regional URLs, or bare slugs (mode `crawlFromSeeds`) |\n| `companyNames` | string list | `[]` | Display names to resolve (mode `resolveNames`) |\n| `maxDepth` | integer 1-4 | `2` | Page levels to follow; seeds are depth 1 |\n| `maxPagesPerLevel` | integer 1-100 | `10` | Pages fetched at each level |\n| `maxItems` | integer 1-1000 | `100` | Hard cap on pages fetched (edge rows do not count) |\n| `includeCompanies` | boolean | `true` | Keep `/company/...` pages |\n| `includeShowcases` | boolean | `true` | Keep `/showcase/...` pages |\n| `followSimilar` | boolean | `true` | Follow Similar pages |\n| `followAffiliated` | boolean | `true` | Follow company-to-company affiliations |\n| `followShowcase` | boolean | `true` | Fetch showcase pages found in Affiliated pages |\n| `followParent` | boolean | `true` | Follow and label the mutual parent company of a showcase |\n| `includeEdges` | boolean | `true` | Write edge rows (`recordType = \"edge\"`) |\n| `industries` | string list | `[]` | Keep pages whose industry contains any phrase |\n| `hqCountry` | text | `\"\"` | Keep pages whose headquarters/offices contain this country name or code |\n| `hqCity` | text | `\"\"` | Keep pages whose headquarters/offices contain this city |\n| `companySizeBand` | select | `any` | Keep one LinkedIn company-size band |\n| `minFollowers` | integer | `0` | Minimum LinkedIn followers |\n| `keyword` | text | `\"\"` | Keep pages whose name, tagline, about text or specialties contain this phrase |\n\n## Output\n\nThe run writes **two datasets**:\n\n- the default **pages** dataset, with one row per page;\n- the **edges** dataset, with one row per relation.\n\nBoth are linked in the run's output and shown in the run's Storage tab. The default dataset has a **Pages** view; the edges dataset has a **Network edges** view.\n\n### Page rows (default dataset, `recordType = \"page\"`)\n\n| Field | Meaning |\n|---|---|\n| `pageType` | `company` or `showcase` |\n| `linkedinUrl`, `slug`, `numericId` | Canonical page URL, URL slug and LinkedIn organisation ID |\n| `name`, `tagline`, `aboutText` | Page name, one-line tagline and About text |\n| `websiteUrl` | The company website as listed on the page |\n| `industry`, `companySizeBand`, `companySizeMin`, `companySizeMax` | Industry and the self-reported size band with numeric bounds |\n| `employeeCount` | The employee count LinkedIn displays on the public page |\n| `followersCount` | Page followers |\n| `headquarters` | Headquarters line as shown |\n| `locations` | Every listed office, with `address` and `isPrimary` when marked |\n| `foundedYear`, `organizationType`, `specialties` | Founded year, type and specialties |\n| `logoUrl`, `coverUrl` | Logo and cover image links |\n| `recentPostCount` | Number of recent post cards the public page rendered |\n| `parentCompanyUrl` | For a showcase reached from its company, the mutual parent company |\n| `seedUrl`, `depth`, `edgeType`, `similarityRank` | The seed that led here, the BFS level, how the page was found, and its position in a Similar pages list |\n| `discoveredFrom`, `discoveryPath` | Immediate parent URL and the full URL path from the seed |\n| `scrapedAt` | UTC collection time |\n\n### Edge rows (`edges` dataset, `recordType = \"edge\"`)\n\n| Field | Meaning |\n|---|---|\n| `fromUrl`, `fromSlug`, `fromName`, `fromPageType` | Source page |\n| `toUrl`, `toSlug`, `toName`, `toPageType` | Target page |\n| `relation` | `similar`, `affiliated`, `showcase` or `parent` |\n| `position` | 1-based position in the block where the relation was listed |\n| `depth`, `seedUrl`, `scrapedAt` | Source page depth, originating seed and collection time |\n\n### Example page row\n\n```json\n{\n  \"recordType\": \"page\",\n  \"pageType\": \"company\",\n  \"linkedinUrl\": \"https://www.linkedin.com/company/stripe/\",\n  \"slug\": \"stripe\",\n  \"numericId\": 2135371,\n  \"name\": \"Stripe\",\n  \"tagline\": \"Help increase the GDP of the internet.\",\n  \"aboutText\": \"Stripe builds programmable financial services...\",\n  \"websiteUrl\": \"https://stripe.com\",\n  \"industry\": \"Technology, Information and Internet\",\n  \"companySizeBand\": \"5,001-10,000 employees\",\n  \"companySizeMin\": 5001,\n  \"companySizeMax\": 10000,\n  \"followersCount\": 1826564,\n  \"headquarters\": \"South San Francisco, California\",\n  \"locations\": [{\"address\": \"354 Oyster Point Blvd, South San Francisco, California 94080, US\", \"isPrimary\": true}],\n  \"foundedYear\": 2010,\n  \"organizationType\": \"Privately Held\",\n  \"seedUrl\": \"https://www.linkedin.com/company/stripe/\",\n  \"depth\": 1,\n  \"discoveryPath\": [\"https://www.linkedin.com/company/stripe/\"],\n  \"scrapedAt\": \"2026-11-17T04:25:35+00:00\"\n}\n```\n\n### Example edge row\n\n```json\n{\n  \"recordType\": \"edge\",\n  \"fromUrl\": \"https://www.linkedin.com/company/stripe/\",\n  \"fromSlug\": \"stripe\",\n  \"fromName\": \"Stripe\",\n  \"fromPageType\": \"company\",\n  \"toUrl\": \"https://www.linkedin.com/showcase/stripe-support/\",\n  \"toSlug\": \"stripe-support\",\n  \"toName\": \"Stripe Support\",\n  \"toPageType\": \"showcase\",\n  \"relation\": \"showcase\",\n  \"position\": 2,\n  \"depth\": 1,\n  \"seedUrl\": \"https://www.linkedin.com/company/stripe/\",\n  \"scrapedAt\": \"2026-11-17T04:25:35+00:00\"\n}\n```\n\n## What is and is not public\n\nRead this before planning a large crawl.\n\n- **Company and showcase pages are public.** The actor reads the same page a logged-out browser sees: About, Similar pages, Affiliated pages, locations, media and recent post cards.\n- **School pages are not public to guests.** LinkedIn answers `/school/...` with its authwall (`999`) from local and cloud IPs, through several TLS profiles and through the datacenter proxy. School URLs are skipped, not guessed. This is a hard limit of the public surface today.\n- **Personal profiles are not public to guests.** `/in/...` pages, including the guest \"People also viewed\" block, answer with the same authwall. The actor does not offer a people branch.\n- **Funding blocks are not on the public page.** LinkedIn does not render a funding round/investor block to logged-out visitors on the pages checked. The actor omits the field rather than inventing one.\n- **Employee count is what LinkedIn displays.** LinkedIn sometimes shows a sampled or truncated employee number on a public page (for example a small number while the page's own size band says 5,001-10,000). The field is returned as displayed; `companySizeBand` is separate and is the stable self-reported band.\n- **Numeric ID is returned when the public page exposes it.** Some page variants omit the organisation URN, so `numericId` can be absent even though the page is valid. `linkedinUrl` and `slug` are always present.\n- **Recent post count is a page count, not a lifetime total.** It is the number of post cards rendered on the public page, usually up to ten.\n- **Fields the page does not publish are omitted.** About text, tagline, headquarters, offices, specialties, founding year and size band are conditional. An omitted field means LinkedIn did not show it, not that parsing failed.\n- **Name resolution is best-effort.** The public featured directory plus exact slug variants resolves common companies; obscure names may need the page URL. Unresolved names are listed in the run status.\n\n## Proxy and cost\n\nThe actor starts with a direct HTTP request. When LinkedIn refuses a direct request with a block-style response, it retries through Apify's built-in datacenter proxy for the rest of the run. You do not configure a proxy, a cookie or a key. Company pages commonly need that first retry from cloud IPs; showcase pages often load directly.\n\nYou pay only for Apify platform usage on the assigned plan. The default prefill fetches one page and writes one page row, so a scheduled daily test stays minimal.\n\n## FAQ\n\n**Can I crawl more than one company at once?** Yes. Add several seeds; they all start at depth 1 and share the same caps.\n\n**Why are some edges present for pages that are not in the page table?** Edges are written for every relation read on a fetched page. A target may not have been fetched because of `maxDepth`, `maxPagesPerLevel`, `maxItems`, a page-type switch or a filter. This keeps the observed graph complete.\n\n**Why does `maxItems` not limit the edge table?** `maxItems` bounds page fetches, the expensive part. Edges come from pages already fetched and do not trigger extra requests.\n\n**Can I get the edges as a separate file?** Yes. The run's **edges** dataset contains only relation rows, so you can export it directly as JSON or CSV without filtering.\n\n**Does it work with regional LinkedIn URLs?** Yes. `uk.linkedin.com`, `de.linkedin.com` and similar hosts are normalised to the canonical `www.linkedin.com` URL.\n\n**Are old or renamed company URLs supported?** If LinkedIn serves the page, the row's `linkedinUrl` and `slug` show the canonical page that answered.\n\n**Can I use numeric company IDs like `linkedin.com/company/1441`?** No. LinkedIn only shows those to logged-in members, so they are skipped.\n\n**How fresh is the data?** Every run reads the pages live; `scrapedAt` records when each row was collected.\n\n## Data source and responsible use\n\nThe actor reads only public LinkedIn company and showcase pages. It does not log in, does not use cookies, does not bypass authentication, and does not collect personal profile data. Automated access remains subject to LinkedIn's terms and to applicable privacy and data-protection law; use the output for lawful market research and respect LinkedIn's rules.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "linkedin-page-network-crawler",
      "title": "LinkedIn Lookalike Page Network Crawler",
      "description": "Discover lookalike company and showcase pages from a few LinkedIn seeds. Crawls the public Similar pages and Affiliated pages graph up to four levels, returns firmographics for every page, and records the relation table and discovery path. No login or cookies.",
      "version": "1.0",
      "buildTag": "latest",
      "environmentVariables": {},
      "dockerfile": "../Dockerfile",
      "defaultRunOptions": {
        "memoryMbytes": 512
      },
      "input": {
        "title": "LinkedIn Lookalike Page Network Crawler Input",
        "description": "Crawl the public LinkedIn company and showcase page graph from seed URLs, slugs or company names. Follow Similar pages and Affiliated pages, filter the pages you keep, and return both the page table and the relation table.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "How to seed the crawl: exact company/showcase URLs or slugs, or company display names that are resolved first.",
            "editor": "select",
            "enum": [
              "crawlFromSeeds",
              "resolveNames"
            ],
            "enumTitles": [
              "Crawl from page URLs or slugs",
              "Resolve company names, then crawl"
            ],
            "default": "crawlFromSeeds",
            "prefill": "crawlFromSeeds"
          },
          "seedUrls": {
            "title": "Seed page URLs or slugs",
            "type": "array",
            "description": "LinkedIn company or showcase page URLs, regional URLs, or bare slugs such as `stripe` (mode=crawlFromSeeds). School and personal profile URLs are not public to guests and are skipped.",
            "editor": "stringList",
            "default": [],
            "prefill": [
              "https://www.linkedin.com/company/stripe/"
            ]
          },
          "companyNames": {
            "title": "Company names",
            "type": "array",
            "description": "Display names such as `Stripe` or `Mercado Libre` to resolve to a public LinkedIn page before crawling (mode=resolveNames). Names are matched against the public featured-company directory and exact page slugs; unresolved names are reported.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "maxDepth": {
            "title": "Crawl depth",
            "type": "integer",
            "description": "How many page levels to follow. Seed pages are depth 1; depth 2 also fetches their direct relations.",
            "minimum": 1,
            "maximum": 4,
            "default": 2,
            "prefill": 1
          },
          "maxPagesPerLevel": {
            "title": "Max pages per level",
            "type": "integer",
            "description": "Maximum pages fetched at each depth level. Keeps a wide graph bounded.",
            "minimum": 1,
            "maximum": 100,
            "default": 10,
            "prefill": 1
          },
          "maxItems": {
            "title": "Max pages fetched",
            "type": "integer",
            "description": "Hard cap on the total number of pages fetched in the run, including pages that later fail a filter. Edge rows do not count toward this cap.",
            "minimum": 1,
            "maximum": 1000,
            "default": 100,
            "prefill": 1
          },
          "includeCompanies": {
            "title": "Keep company pages",
            "type": "boolean",
            "description": "Fetch and return company pages (`/company/...`).",
            "default": true,
            "prefill": true
          },
          "includeShowcases": {
            "title": "Keep showcase pages",
            "type": "boolean",
            "description": "Fetch and return showcase pages (`/showcase/...`). Showcase pages are the product, brand and programme pages affiliated with companies.",
            "default": true,
            "prefill": true
          },
          "followSimilar": {
            "title": "Follow Similar pages",
            "type": "boolean",
            "description": "Follow the Similar pages block on every fetched page.",
            "default": true,
            "prefill": true
          },
          "followAffiliated": {
            "title": "Follow Affiliated pages",
            "type": "boolean",
            "description": "Follow company-to-company relationships in the Affiliated pages block.",
            "default": true,
            "prefill": true
          },
          "followShowcase": {
            "title": "Follow showcase pages",
            "type": "boolean",
            "description": "Follow the showcase links found in Affiliated pages. When off, showcase links are still recorded as affiliated edges but are not fetched.",
            "default": true,
            "prefill": true
          },
          "followParent": {
            "title": "Follow parent companies",
            "type": "boolean",
            "description": "Follow the company that a showcase links back to (a mutual affiliation) and label that edge as `parent`.",
            "default": true,
            "prefill": true
          },
          "includeEdges": {
            "title": "Include edge rows",
            "type": "boolean",
            "description": "Add one row per relation to the dataset with `recordType = \"edge\"` (the Network edges view). Turn it off when you only need page profiles.",
            "default": true,
            "prefill": false
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Keep pages whose industry contains any of these phrases, case-insensitive, e.g. `Software Development`. Pages without an industry are kept.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "hqCountry": {
            "title": "Headquarters country",
            "type": "string",
            "description": "Keep pages whose headquarters or listed office addresses contain this country name or code, e.g. `United States` or `US`. Pages without a location are kept.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "hqCity": {
            "title": "Headquarters city",
            "type": "string",
            "description": "Keep pages whose headquarters or listed office addresses contain this city, e.g. `San Francisco`. Pages without a location are kept.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "companySizeBand": {
            "title": "Company size band",
            "type": "string",
            "description": "Keep pages in one LinkedIn company-size band. Pages without a size band are kept.",
            "editor": "select",
            "enum": [
              "any",
              "1-10",
              "11-50",
              "51-200",
              "201-500",
              "501-1000",
              "1001-5000",
              "5001-10000",
              "10001+"
            ],
            "enumTitles": [
              "Any size",
              "1-10 employees",
              "11-50 employees",
              "51-200 employees",
              "201-500 employees",
              "501-1,000 employees",
              "1,001-5,000 employees",
              "5,001-10,000 employees",
              "10,001+ employees"
            ],
            "default": "any",
            "prefill": "any"
          },
          "minFollowers": {
            "title": "Minimum followers",
            "type": "integer",
            "description": "Keep pages with at least this many LinkedIn followers. Zero disables the filter. Pages without a follower count are kept.",
            "minimum": 0,
            "maximum": 1000000000,
            "default": 0,
            "prefill": 0
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Keep pages whose name, tagline, about text or specialties contain this phrase, case-insensitive.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "LinkedIn Lookalike Page Network Crawler Output",
        "description": "Public LinkedIn company and showcase pages with firmographics, plus the Similar, Affiliated, Showcase and Parent relation table with discovery paths.",
        "properties": {
          "pages": {
            "type": "string",
            "title": "LinkedIn pages",
            "description": "Dataset view containing one row per page, with page type, URL, slug, numeric ID, firmographics, locations, images, graph depth and discovery path.",
            "template": "{{storages.datasets.default.apiUrl}}/items"
          },
          "edges": {
            "type": "string",
            "title": "Network edges",
            "description": "Dataset view containing one row per relation (from, to, relation, position) for network visualisation.",
            "template": "{{storages.datasets.edges.apiUrl}}/items"
          }
        }
      },
      "readme": "# LinkedIn Lookalike Page Network Crawler\n\nTurn a handful of LinkedIn company or showcase pages into a **market map**: the seed pages plus the pages LinkedIn lists beside them, followed level by level, with the relationships kept in a separate edge table.\n\nThis actor reads LinkedIn's public company and showcase pages without a login, cookie, API key or proxy setup. It returns the firmographics shown on each page and a relation table you can load into a graph or network visualisation.\n\n## What it does\n\n1. Starts from one or more public LinkedIn company or showcase URLs, bare slugs, or company names.\n2. Reads the **Similar pages** and **Affiliated pages** blocks on each page.\n3. Follows the edges you enable, up to four levels deep and a configurable number of pages per level.\n4. Writes one row per page and one row per relation.\n\nThe result is a lookalike set, a competitor map, or a corporate/showcase hierarchy that you can inspect and filter before fetching anything else.\n\n## Ways to start\n\n| Mode | What you provide | What happens |\n|---|---|---|\n| `crawlFromSeeds` (default) | Company/showcase URLs, regional URLs, bare slugs (`stripe`), or a mix | Every seed is fetched and crawled |\n| `resolveNames` | Company display names such as `Stripe`, `Mercado Libre`, `Nestlé` | Each name is matched to a public LinkedIn page first, then crawled |\n\nName resolution checks LinkedIn's public featured-company directory and a set of exact slug variants. It is best-effort: unresolved names are named in the run status, and the safest input is always the page URL or slug.\n\n## How the crawl works\n\n- **Breadth-first.** Seeds are depth 1. Their direct relations are depth 2, and so on.\n- **Deduplicated by canonical URL.** The same page is fetched once even when several parents point to it.\n- **Edge types.** `similar` comes from the Similar pages block. `affiliated` covers company-to-company affiliations. `showcase` marks a showcase page found in an affiliated block. `parent` marks the company a showcase links back to (a mutual affiliation).\n- **Parent edges are evidence-based.** A showcase page only gets a `parent` edge when the company that led to it is also listed in that showcase's own Affiliated pages.\n- **Stop conditions.** The crawl stops at `maxDepth`, at `maxPagesPerLevel`, at `maxItems`, or when there are no more pages to fetch. There is no wall-clock cut-off.\n- **Page type filters.** Companies and showcases can be enabled independently. School pages and personal profiles are not public to guests and are skipped with a clear status message.\n- **Result filters.** Industry, headquarters country/city, company-size band, minimum followers and a keyword filter keep only matching page rows. Edge rows are still written for the relationships that were read, so the graph stays intact.\n\n## Input\n\n| Field | Type | Default | Meaning |\n|---|---|---|---|\n| `mode` | select | `crawlFromSeeds` | Start from page URLs/slugs or resolve company names first |\n| `seedUrls` | string list | `[]` | Company/showcase URLs, regional URLs, or bare slugs (mode `crawlFromSeeds`) |\n| `companyNames` | string list | `[]` | Display names to resolve (mode `resolveNames`) |\n| `maxDepth` | integer 1-4 | `2` | Page levels to follow; seeds are depth 1 |\n| `maxPagesPerLevel` | integer 1-100 | `10` | Pages fetched at each level |\n| `maxItems` | integer 1-1000 | `100` | Hard cap on pages fetched (edge rows do not count) |\n| `includeCompanies` | boolean | `true` | Keep `/company/...` pages |\n| `includeShowcases` | boolean | `true` | Keep `/showcase/...` pages |\n| `followSimilar` | boolean | `true` | Follow Similar pages |\n| `followAffiliated` | boolean | `true` | Follow company-to-company affiliations |\n| `followShowcase` | boolean | `true` | Fetch showcase pages found in Affiliated pages |\n| `followParent` | boolean | `true` | Follow and label the mutual parent company of a showcase |\n| `includeEdges` | boolean | `true` | Write edge rows (`recordType = \"edge\"`) |\n| `industries` | string list | `[]` | Keep pages whose industry contains any phrase |\n| `hqCountry` | text | `\"\"` | Keep pages whose headquarters/offices contain this country name or code |\n| `hqCity` | text | `\"\"` | Keep pages whose headquarters/offices contain this city |\n| `companySizeBand` | select | `any` | Keep one LinkedIn company-size band |\n| `minFollowers` | integer | `0` | Minimum LinkedIn followers |\n| `keyword` | text | `\"\"` | Keep pages whose name, tagline, about text or specialties contain this phrase |\n\n## Output\n\nThe run writes **two datasets**:\n\n- the default **pages** dataset, with one row per page;\n- the **edges** dataset, with one row per relation.\n\nBoth are linked in the run's output and shown in the run's Storage tab. The default dataset has a **Pages** view; the edges dataset has a **Network edges** view.\n\n### Page rows (default dataset, `recordType = \"page\"`)\n\n| Field | Meaning |\n|---|---|\n| `pageType` | `company` or `showcase` |\n| `linkedinUrl`, `slug`, `numericId` | Canonical page URL, URL slug and LinkedIn organisation ID |\n| `name`, `tagline`, `aboutText` | Page name, one-line tagline and About text |\n| `websiteUrl` | The company website as listed on the page |\n| `industry`, `companySizeBand`, `companySizeMin`, `companySizeMax` | Industry and the self-reported size band with numeric bounds |\n| `employeeCount` | The employee count LinkedIn displays on the public page |\n| `followersCount` | Page followers |\n| `headquarters` | Headquarters line as shown |\n| `locations` | Every listed office, with `address` and `isPrimary` when marked |\n| `foundedYear`, `organizationType`, `specialties` | Founded year, type and specialties |\n| `logoUrl`, `coverUrl` | Logo and cover image links |\n| `recentPostCount` | Number of recent post cards the public page rendered |\n| `parentCompanyUrl` | For a showcase reached from its company, the mutual parent company |\n| `seedUrl`, `depth`, `edgeType`, `similarityRank` | The seed that led here, the BFS level, how the page was found, and its position in a Similar pages list |\n| `discoveredFrom`, `discoveryPath` | Immediate parent URL and the full URL path from the seed |\n| `scrapedAt` | UTC collection time |\n\n### Edge rows (`edges` dataset, `recordType = \"edge\"`)\n\n| Field | Meaning |\n|---|---|\n| `fromUrl`, `fromSlug`, `fromName`, `fromPageType` | Source page |\n| `toUrl`, `toSlug`, `toName`, `toPageType` | Target page |\n| `relation` | `similar`, `affiliated`, `showcase` or `parent` |\n| `position` | 1-based position in the block where the relation was listed |\n| `depth`, `seedUrl`, `scrapedAt` | Source page depth, originating seed and collection time |\n\n### Example page row\n\n```json\n{\n  \"recordType\": \"page\",\n  \"pageType\": \"company\",\n  \"linkedinUrl\": \"https://www.linkedin.com/company/stripe/\",\n  \"slug\": \"stripe\",\n  \"numericId\": 2135371,\n  \"name\": \"Stripe\",\n  \"tagline\": \"Help increase the GDP of the internet.\",\n  \"aboutText\": \"Stripe builds programmable financial services...\",\n  \"websiteUrl\": \"https://stripe.com\",\n  \"industry\": \"Technology, Information and Internet\",\n  \"companySizeBand\": \"5,001-10,000 employees\",\n  \"companySizeMin\": 5001,\n  \"companySizeMax\": 10000,\n  \"followersCount\": 1826564,\n  \"headquarters\": \"South San Francisco, California\",\n  \"locations\": [{\"address\": \"354 Oyster Point Blvd, South San Francisco, California 94080, US\", \"isPrimary\": true}],\n  \"foundedYear\": 2010,\n  \"organizationType\": \"Privately Held\",\n  \"seedUrl\": \"https://www.linkedin.com/company/stripe/\",\n  \"depth\": 1,\n  \"discoveryPath\": [\"https://www.linkedin.com/company/stripe/\"],\n  \"scrapedAt\": \"2026-11-17T04:25:35+00:00\"\n}\n```\n\n### Example edge row\n\n```json\n{\n  \"recordType\": \"edge\",\n  \"fromUrl\": \"https://www.linkedin.com/company/stripe/\",\n  \"fromSlug\": \"stripe\",\n  \"fromName\": \"Stripe\",\n  \"fromPageType\": \"company\",\n  \"toUrl\": \"https://www.linkedin.com/showcase/stripe-support/\",\n  \"toSlug\": \"stripe-support\",\n  \"toName\": \"Stripe Support\",\n  \"toPageType\": \"showcase\",\n  \"relation\": \"showcase\",\n  \"position\": 2,\n  \"depth\": 1,\n  \"seedUrl\": \"https://www.linkedin.com/company/stripe/\",\n  \"scrapedAt\": \"2026-11-17T04:25:35+00:00\"\n}\n```\n\n## What is and is not public\n\nRead this before planning a large crawl.\n\n- **Company and showcase pages are public.** The actor reads the same page a logged-out browser sees: About, Similar pages, Affiliated pages, locations, media and recent post cards.\n- **School pages are not public to guests.** LinkedIn answers `/school/...` with its authwall (`999`) from local and cloud IPs, through several TLS profiles and through the datacenter proxy. School URLs are skipped, not guessed. This is a hard limit of the public surface today.\n- **Personal profiles are not public to guests.** `/in/...` pages, including the guest \"People also viewed\" block, answer with the same authwall. The actor does not offer a people branch.\n- **Funding blocks are not on the public page.** LinkedIn does not render a funding round/investor block to logged-out visitors on the pages checked. The actor omits the field rather than inventing one.\n- **Employee count is what LinkedIn displays.** LinkedIn sometimes shows a sampled or truncated employee number on a public page (for example a small number while the page's own size band says 5,001-10,000). The field is returned as displayed; `companySizeBand` is separate and is the stable self-reported band.\n- **Numeric ID is returned when the public page exposes it.** Some page variants omit the organisation URN, so `numericId` can be absent even though the page is valid. `linkedinUrl` and `slug` are always present.\n- **Recent post count is a page count, not a lifetime total.** It is the number of post cards rendered on the public page, usually up to ten.\n- **Fields the page does not publish are omitted.** About text, tagline, headquarters, offices, specialties, founding year and size band are conditional. An omitted field means LinkedIn did not show it, not that parsing failed.\n- **Name resolution is best-effort.** The public featured directory plus exact slug variants resolves common companies; obscure names may need the page URL. Unresolved names are listed in the run status.\n\n## Proxy and cost\n\nThe actor starts with a direct HTTP request. When LinkedIn refuses a direct request with a block-style response, it retries through Apify's built-in datacenter proxy for the rest of the run. You do not configure a proxy, a cookie or a key. Company pages commonly need that first retry from cloud IPs; showcase pages often load directly.\n\nYou pay only for Apify platform usage on the assigned plan. The default prefill fetches one page and writes one page row, so a scheduled daily test stays minimal.\n\n## FAQ\n\n**Can I crawl more than one company at once?** Yes. Add several seeds; they all start at depth 1 and share the same caps.\n\n**Why are some edges present for pages that are not in the page table?** Edges are written for every relation read on a fetched page. A target may not have been fetched because of `maxDepth`, `maxPagesPerLevel`, `maxItems`, a page-type switch or a filter. This keeps the observed graph complete.\n\n**Why does `maxItems` not limit the edge table?** `maxItems` bounds page fetches, the expensive part. Edges come from pages already fetched and do not trigger extra requests.\n\n**Can I get the edges as a separate file?** Yes. The run's **edges** dataset contains only relation rows, so you can export it directly as JSON or CSV without filtering.\n\n**Does it work with regional LinkedIn URLs?** Yes. `uk.linkedin.com`, `de.linkedin.com` and similar hosts are normalised to the canonical `www.linkedin.com` URL.\n\n**Are old or renamed company URLs supported?** If LinkedIn serves the page, the row's `linkedinUrl` and `slug` show the canonical page that answered.\n\n**Can I use numeric company IDs like `linkedin.com/company/1441`?** No. LinkedIn only shows those to logged-in members, so they are skipped.\n\n**How fresh is the data?** Every run reads the pages live; `scrapedAt` records when each row was collected.\n\n## Data source and responsible use\n\nThe actor reads only public LinkedIn company and showcase pages. It does not log in, does not use cookies, does not bypass authentication, and does not collect personal profile data. Automated access remains subject to LinkedIn's terms and to applicable privacy and data-protection law; use the output for lawful market research and respect LinkedIn's rules.\n",
      "storages": {
        "datasets": {
          "default": {
            "actorSpecification": 1,
            "title": "LinkedIn pages",
            "views": {
              "pages": {
                "title": "Pages",
                "transformation": {
                  "fields": [
                    "name",
                    "pageType",
                    "industry",
                    "companySizeBand",
                    "followersCount",
                    "headquarters",
                    "depth",
                    "edgeType",
                    "seedUrl",
                    "linkedinUrl",
                    "scrapedAt"
                  ]
                },
                "display": {
                  "component": "table",
                  "properties": {
                    "name": {
                      "label": "Page",
                      "format": "text"
                    },
                    "pageType": {
                      "label": "Type",
                      "format": "text"
                    },
                    "industry": {
                      "label": "Industry",
                      "format": "text"
                    },
                    "companySizeBand": {
                      "label": "Size",
                      "format": "text"
                    },
                    "followersCount": {
                      "label": "Followers",
                      "format": "number"
                    },
                    "headquarters": {
                      "label": "Headquarters",
                      "format": "text"
                    },
                    "depth": {
                      "label": "Depth",
                      "format": "number"
                    },
                    "edgeType": {
                      "label": "Found via",
                      "format": "text"
                    },
                    "seedUrl": {
                      "label": "Seed",
                      "format": "text"
                    },
                    "linkedinUrl": {
                      "label": "LinkedIn URL",
                      "format": "link"
                    },
                    "scrapedAt": {
                      "label": "Scraped",
                      "format": "text"
                    }
                  }
                }
              }
            }
          },
          "edges": {
            "actorSpecification": 1,
            "title": "LinkedIn network edges",
            "views": {
              "edges": {
                "title": "Network edges",
                "transformation": {
                  "fields": [
                    "fromName",
                    "fromSlug",
                    "toName",
                    "toSlug",
                    "relation",
                    "position",
                    "depth",
                    "seedUrl"
                  ]
                },
                "display": {
                  "component": "table",
                  "properties": {
                    "fromName": {
                      "label": "From",
                      "format": "text"
                    },
                    "fromSlug": {
                      "label": "From slug",
                      "format": "text"
                    },
                    "toName": {
                      "label": "To",
                      "format": "text"
                    },
                    "toSlug": {
                      "label": "To slug",
                      "format": "text"
                    },
                    "relation": {
                      "label": "Relation",
                      "format": "text"
                    },
                    "position": {
                      "label": "Position",
                      "format": "number"
                    },
                    "depth": {
                      "label": "Depth",
                      "format": "number"
                    },
                    "seedUrl": {
                      "label": "Seed",
                      "format": "text"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "buildNumber": "1.0.4",
    "imageDigest": "d892bb74357dd9a4bd4f846ea5234059c3bae721a88acbd9fcc2bf505d311d20",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.007246666666666667
    }
  }
}