{
  "data": {
    "id": "VsjvTCaioGlFvUwDC",
    "actId": "1Jc3RX04V9NabuSvh",
    "userId": "PuO2YkBtnfCs1J0aW",
    "startedAt": "2026-11-07T10:13:10.919Z",
    "finishedAt": "2026-11-07T10:13:19.974Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "inputSchema": "{\n  \"title\": \"LinkedIn Profile Scraper\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"profiles\": {\n      \"title\": \"Profile URLs or slugs\",\n      \"type\": \"array\",\n      \"description\": \"LinkedIn profile URLs (https://www.linkedin.com/in/williamhgates) or bare slugs (williamhgates). One row is emitted per entry, including for failures.\",\n      \"editor\": \"stringList\",\n      \"prefill\": [\n        \"https://www.linkedin.com/in/williamhgates\"\n      ],\n      \"example\": [\n        \"williamhgates\",\n        \"https://www.linkedin.com/in/satyanadella\"\n      ]\n    },\n    \"includePosts\": {\n      \"title\": \"Include recent posts\",\n      \"type\": \"boolean\",\n      \"description\": \"Include the public posts embedded in the profile page, plus their activity IDs. Costs no extra request - the posts ship inside the same HTML.\",\n      \"default\": true\n    },\n    \"includeArticles\": {\n      \"title\": \"Include articles\",\n      \"type\": \"boolean\",\n      \"description\": \"Include LinkedIn articles authored by this person, as embedded in the profile page. Costs no extra request.\",\n      \"default\": true\n    },\n    \"maxConcurrency\": {\n      \"title\": \"Max concurrency\",\n      \"type\": \"integer\",\n      \"description\": \"Profiles fetched in parallel. Keep this low - LinkedIn throttles aggressively and returns HTTP 999 to a hot IP.\",\n      \"default\": 4,\n      \"minimum\": 1,\n      \"maximum\": 20\n    },\n    \"proxyConfiguration\": {\n      \"title\": \"Proxy configuration\",\n      \"type\": \"object\",\n      \"description\": \"Residential proxy is strongly recommended. LinkedIn rate-limits a single IP to HTTP 999 within a few dozen requests, and datacenter ranges are throttled sooner.\",\n      \"editor\": \"proxy\",\n      \"prefill\": {\n        \"useApifyProxy\": true,\n        \"apifyProxyGroups\": [\n          \"RESIDENTIAL\"\n        ]\n      },\n      \"default\": {\n        \"useApifyProxy\": true,\n        \"apifyProxyGroups\": [\n          \"RESIDENTIAL\"\n        ]\n      }\n    },\n    \"maxAttempts\": {\n      \"title\": \"Max attempts per profile\",\n      \"type\": \"integer\",\n      \"description\": \"LinkedIn redacts the work history on a random subset of anonymous renders. Each retry uses a fresh exit IP and a different country subdomain until an unredacted render comes back. Raise for completeness, lower for cheaper runs.\",\n      \"default\": 4,\n      \"minimum\": 1,\n      \"maximum\": 9\n    }\n  },\n  \"required\": [\n    \"profiles\"\n  ]\n}",
    "readme": "# LinkedIn Profile Scraper\r\n\r\nExtract public LinkedIn profiles — **no cookies, no account, no browser**. Give it profile\r\nURLs or slugs and it returns the person's name, headline, location, follower count, work\r\nhistory, education, and the public posts and articles shown on their profile.\r\n\r\nHTTP-only (`curl_cffi`), public data only. Nothing behind the login wall is touched.\r\n\r\n## Input\r\n\r\n| Field | Type | Default | Description |\r\n|---|---|---|---|\r\n| `profiles` | array | *required* | Profile URLs (`https://www.linkedin.com/in/williamhgates`) or bare slugs (`williamhgates`) |\r\n| `includePosts` | boolean | `true` | Public posts embedded in the profile page, plus their activity IDs |\r\n| `includeArticles` | boolean | `true` | LinkedIn articles authored by this person |\r\n| `maxAttempts` | integer | `4` | Retries (fresh exit IP + different country host) before accepting a redacted render |\r\n| `maxConcurrency` | integer | `4` | Profiles in parallel. Keep it low |\r\n| `proxyConfiguration` | object | RESIDENTIAL | **Residential strongly recommended** |\r\n\r\n## Output\r\n\r\nOne row per input, always — including failures, so downstream joins never silently lose a key.\r\n\r\n```jsonc\r\n{\r\n  \"_input\": \"https://www.linkedin.com/in/satyanadella\",\r\n  \"_source\": \"S1-jsonld+html\",\r\n  \"_scrapedAt\": \"2026-09-06T16:08:08Z\",\r\n  \"_host\": \"uk.linkedin.com\",      // which country host served this render\r\n  \"_proxyCountry\": \"GB\",\r\n  \"_masked\": false,                // true when LinkedIn redacted the work history\r\n  \"slug\": \"satyanadella\",\r\n  \"profileUrl\": \"https://www.linkedin.com/in/satyanadella\",\r\n\r\n  // --- raw schema.org Person node, upstream field names kept verbatim ---\r\n  \"name\": \"Satya Nadella\",\r\n  \"jobTitle\": [\"Chairman and CEO\", \"Member Board Of Trustees\"],\r\n  \"description\": \"As chairman and CEO of Microsoft, I define my mission…\",\r\n  \"address\": { \"@type\": \"PostalAddress\", \"addressLocality\": \"Redmond, Washington, United States\" },\r\n  \"worksFor\": [{ \"name\": \"Microsoft\", \"url\": \"…/company/microsoft\",\r\n                 \"member\": { \"startDate\": \"2014-02\" } }],\r\n  \"alumniOf\": [{ \"name\": \"Starbucks\", \"member\": { \"startDate\": 2017, \"endDate\": 2024 } }],\r\n\r\n  // --- derived conveniences ---\r\n  \"followerCount\": 12152113,\r\n  \"experienceEducationCards\": [{ \"text\": \"…\", \"logo\": \"…\" }],\r\n  \"posts\": [ /* schema.org DiscussionForumPosting nodes */ ],\r\n  \"activityIds\": [\"7502385664945111040\"]   // feed into a post-detail run\r\n}\r\n```\r\n\r\nFailure rows carry `_error` (`not_found`, `blocked`, `bad_input`, `unexpected_shape`) and\r\n`_errorDetail`, and no payload.\r\n\r\n## How it works\r\n\r\nLinkedIn ships a `<script type=\"application/ld+json\">` block with a schema.org `Person`\r\nnode on every public profile. That is the primary source — it survives redesigns that break\r\nCSS selectors. The HTML pass only adds the rendered Experience/Education cards.\r\n\r\n### Redacted work history, and why it retries\r\n\r\nLinkedIn does not treat every anonymous visitor the same. On some renders the work history\r\ncomes back as asterisks (`\"jobTitle\": [\"********\"]`); on others, for the same profile, it is\r\ncomplete.\r\n\r\nIt is worth being precise about what drives that, because the obvious explanations are all\r\nwrong. Measured on 2026-09-06, three profiles fetched under three proxy modes:\r\n\r\n| Proxy | williamhgates | satyanadella | reidhoffman |\r\n|---|---|---|---|\r\n| Residential | complete | complete | **redacted** |\r\n| Datacenter | complete | complete | complete |\r\n| None | complete | **redacted** | **redacted** |\r\n\r\nThe same profiles flipped between redacted and complete across consecutive runs on the same\r\nproxy mode. So it is **not** the profile, **not** the country subdomain, and **not** the proxy\r\ntype — it is decided per request.\r\n\r\nThat makes retrying the correct and only fix, with one catch: the retries have to be\r\ngenuinely independent. An earlier build walked nine country subdomains on a single shared\r\nsession and got a redacted render nine times in a row. Every attempt now gets its own exit\r\nIP *and* its own cookie jar; the country subdomain is varied alongside it only to keep the\r\nrequest coherent (a GB exit IP asking `uk.linkedin.com` is an ordinary visitor).\r\n\r\nMeasured effect on a 6-profile run with `maxAttempts: 6`:\r\n\r\n| | Shared session, 9 hosts | Independent sessions, 6 attempts |\r\n|---|---|---|\r\n| Complete | 1 of 4 | **5 of 6** (4 on the first attempt) |\r\n\r\nIf every attempt is redacted the row is still emitted, with `_masked: true` and\r\n`_warning: experience_masked_by_linkedin`. Name, headline, location and follower count are\r\ncorrect on a redacted render — only parts of the work history are hidden.\r\n\r\n### Block detection\r\n\r\nTwo things are deliberately **not** used to detect a block:\r\n\r\n- **Status code alone.** LinkedIn serves its guest sign-in wall as a `200` with a full-size\r\n  body, and answers a throttled request with `999` (its own status code, not an HTTP one).\r\n- **Body substrings.** Every LinkedIn page carries the LiX flag\r\n  `data-recaptcha-v3-integration-lix-value`, so a substring test for `\"captcha\"` marks good\r\n  renders as blocked. That false positive threw away an entire cloud run's worth of valid\r\n  data before it was caught.\r\n\r\nWhat is used: the **final URL** (a redirect to `/authwall`, `/checkpoint/`, `/uas/login`),\r\nand a **positive data marker** — the presence of the `Person` node. A render without one is\r\nthe wall, whatever its status code or size.\r\n\r\n### TLS fingerprinting\r\n\r\nLinkedIn's guest surface does **not** gate on JA3/JA4. The profile ladder\r\n`chrome131` / `chrome146` / `firefox144` / `safari2601` was run against `/in/<slug>` from one\r\nIP: all four returned an identical 200 with the same JSON-LD payload. The gate here is IP\r\nreputation and request rate. `chrome146` is the default because it is the most common real\r\nUA; rotation is deliberately not implemented because it buys nothing.\r\n\r\n## Known limits\r\n\r\n| Limit | Detail |\r\n|---|---|\r\n| Work history redaction | Decided per request. `maxAttempts: 6` cleared it for 5 of 6 profiles; raise it if you need higher completeness |\r\n| No pagination of posts | `/in/<slug>/recent-activity/` redirects back to the profile for anonymous visitors. You get the posts embedded in the profile page, nothing deeper |\r\n| Rate limiting is aggressive | A single IP is throttled to `999` within a few dozen requests. **Use a residential proxy**; a bare local run will produce `blocked` rows almost immediately |\r\n| Contact details | Email and phone are never exposed to anonymous visitors and are not returned |\r\n| Not covered | `company/<slug>/people/` and `company/<slug>/posts/` redirect to the login wall — employee lists are not obtainable this way |\r\n\r\n## Related\r\n\r\n- **LinkedIn Company Profile Scraper** — company overviews\r\n- **LinkedIn Jobs Scraper** — public job postings via the guest jobs API\r\n\r\nUse `activityIds` from this actor's output as input to a post-detail run.\r\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "linkedin-profile-scraper",
      "title": "LinkedIn Profile Scraper",
      "description": "Extract public LinkedIn profiles without cookies or an account: name, headline, location, follower count, current employer, education, work history, plus the person's public posts and articles. HTTP-only, no login, no browser.",
      "version": "0.1",
      "meta": {
        "templateId": "python-start"
      },
      "input": {
        "title": "LinkedIn Profile Scraper",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "profiles": {
            "title": "Profile URLs or slugs",
            "type": "array",
            "description": "LinkedIn profile URLs (https://www.linkedin.com/in/williamhgates) or bare slugs (williamhgates). One row is emitted per entry, including for failures.",
            "editor": "stringList",
            "prefill": [
              "https://www.linkedin.com/in/williamhgates"
            ],
            "example": [
              "williamhgates",
              "https://www.linkedin.com/in/satyanadella"
            ]
          },
          "includePosts": {
            "title": "Include recent posts",
            "type": "boolean",
            "description": "Include the public posts embedded in the profile page, plus their activity IDs. Costs no extra request - the posts ship inside the same HTML.",
            "default": true
          },
          "includeArticles": {
            "title": "Include articles",
            "type": "boolean",
            "description": "Include LinkedIn articles authored by this person, as embedded in the profile page. Costs no extra request.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "type": "integer",
            "description": "Profiles fetched in parallel. Keep this low - LinkedIn throttles aggressively and returns HTTP 999 to a hot IP.",
            "default": 4,
            "minimum": 1,
            "maximum": 20
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxy is strongly recommended. LinkedIn rate-limits a single IP to HTTP 999 within a few dozen requests, and datacenter ranges are throttled sooner.",
            "editor": "proxy",
            "prefill": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            },
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "maxAttempts": {
            "title": "Max attempts per profile",
            "type": "integer",
            "description": "LinkedIn redacts the work history on a random subset of anonymous renders. Each retry uses a fresh exit IP and a different country subdomain until an unredacted render comes back. Raise for completeness, lower for cheaper runs.",
            "default": 4,
            "minimum": 1,
            "maximum": 9
          }
        },
        "required": [
          "profiles"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "LinkedIn Profile Scraper output",
        "description": "Results produced by this Actor's run.",
        "properties": {
          "results": {
            "type": "string",
            "title": "Results",
            "description": "One row per scraped record, stored in the run's default dataset.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "dockerfile": "./Dockerfile",
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "title": "LinkedIn profiles",
          "views": {
            "profiles": {
              "title": "Profiles",
              "transformation": {
                "fields": [
                  "name",
                  "jobTitle",
                  "description",
                  "followerCount",
                  "slug",
                  "profileUrl",
                  "_masked",
                  "_host"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "name": {
                    "label": "Name",
                    "format": "text"
                  },
                  "jobTitle": {
                    "label": "Job title",
                    "format": "array"
                  },
                  "description": {
                    "label": "Headline",
                    "format": "text"
                  },
                  "followerCount": {
                    "label": "Followers",
                    "format": "number"
                  },
                  "slug": {
                    "label": "Slug",
                    "format": "text"
                  },
                  "profileUrl": {
                    "label": "LinkedIn",
                    "format": "link"
                  },
                  "_masked": {
                    "label": "Experience redacted",
                    "format": "boolean"
                  },
                  "_host": {
                    "label": "Served by",
                    "format": "text"
                  }
                }
              }
            }
          }
        }
      },
      "categories": [
        "BUSINESS"
      ],
      "readme": "# LinkedIn Profile Scraper\r\n\r\nExtract public LinkedIn profiles — **no cookies, no account, no browser**. Give it profile\r\nURLs or slugs and it returns the person's name, headline, location, follower count, work\r\nhistory, education, and the public posts and articles shown on their profile.\r\n\r\nHTTP-only (`curl_cffi`), public data only. Nothing behind the login wall is touched.\r\n\r\n## Input\r\n\r\n| Field | Type | Default | Description |\r\n|---|---|---|---|\r\n| `profiles` | array | *required* | Profile URLs (`https://www.linkedin.com/in/williamhgates`) or bare slugs (`williamhgates`) |\r\n| `includePosts` | boolean | `true` | Public posts embedded in the profile page, plus their activity IDs |\r\n| `includeArticles` | boolean | `true` | LinkedIn articles authored by this person |\r\n| `maxAttempts` | integer | `4` | Retries (fresh exit IP + different country host) before accepting a redacted render |\r\n| `maxConcurrency` | integer | `4` | Profiles in parallel. Keep it low |\r\n| `proxyConfiguration` | object | RESIDENTIAL | **Residential strongly recommended** |\r\n\r\n## Output\r\n\r\nOne row per input, always — including failures, so downstream joins never silently lose a key.\r\n\r\n```jsonc\r\n{\r\n  \"_input\": \"https://www.linkedin.com/in/satyanadella\",\r\n  \"_source\": \"S1-jsonld+html\",\r\n  \"_scrapedAt\": \"2026-09-06T16:08:08Z\",\r\n  \"_host\": \"uk.linkedin.com\",      // which country host served this render\r\n  \"_proxyCountry\": \"GB\",\r\n  \"_masked\": false,                // true when LinkedIn redacted the work history\r\n  \"slug\": \"satyanadella\",\r\n  \"profileUrl\": \"https://www.linkedin.com/in/satyanadella\",\r\n\r\n  // --- raw schema.org Person node, upstream field names kept verbatim ---\r\n  \"name\": \"Satya Nadella\",\r\n  \"jobTitle\": [\"Chairman and CEO\", \"Member Board Of Trustees\"],\r\n  \"description\": \"As chairman and CEO of Microsoft, I define my mission…\",\r\n  \"address\": { \"@type\": \"PostalAddress\", \"addressLocality\": \"Redmond, Washington, United States\" },\r\n  \"worksFor\": [{ \"name\": \"Microsoft\", \"url\": \"…/company/microsoft\",\r\n                 \"member\": { \"startDate\": \"2014-02\" } }],\r\n  \"alumniOf\": [{ \"name\": \"Starbucks\", \"member\": { \"startDate\": 2017, \"endDate\": 2024 } }],\r\n\r\n  // --- derived conveniences ---\r\n  \"followerCount\": 12152113,\r\n  \"experienceEducationCards\": [{ \"text\": \"…\", \"logo\": \"…\" }],\r\n  \"posts\": [ /* schema.org DiscussionForumPosting nodes */ ],\r\n  \"activityIds\": [\"7502385664945111040\"]   // feed into a post-detail run\r\n}\r\n```\r\n\r\nFailure rows carry `_error` (`not_found`, `blocked`, `bad_input`, `unexpected_shape`) and\r\n`_errorDetail`, and no payload.\r\n\r\n## How it works\r\n\r\nLinkedIn ships a `<script type=\"application/ld+json\">` block with a schema.org `Person`\r\nnode on every public profile. That is the primary source — it survives redesigns that break\r\nCSS selectors. The HTML pass only adds the rendered Experience/Education cards.\r\n\r\n### Redacted work history, and why it retries\r\n\r\nLinkedIn does not treat every anonymous visitor the same. On some renders the work history\r\ncomes back as asterisks (`\"jobTitle\": [\"********\"]`); on others, for the same profile, it is\r\ncomplete.\r\n\r\nIt is worth being precise about what drives that, because the obvious explanations are all\r\nwrong. Measured on 2026-09-06, three profiles fetched under three proxy modes:\r\n\r\n| Proxy | williamhgates | satyanadella | reidhoffman |\r\n|---|---|---|---|\r\n| Residential | complete | complete | **redacted** |\r\n| Datacenter | complete | complete | complete |\r\n| None | complete | **redacted** | **redacted** |\r\n\r\nThe same profiles flipped between redacted and complete across consecutive runs on the same\r\nproxy mode. So it is **not** the profile, **not** the country subdomain, and **not** the proxy\r\ntype — it is decided per request.\r\n\r\nThat makes retrying the correct and only fix, with one catch: the retries have to be\r\ngenuinely independent. An earlier build walked nine country subdomains on a single shared\r\nsession and got a redacted render nine times in a row. Every attempt now gets its own exit\r\nIP *and* its own cookie jar; the country subdomain is varied alongside it only to keep the\r\nrequest coherent (a GB exit IP asking `uk.linkedin.com` is an ordinary visitor).\r\n\r\nMeasured effect on a 6-profile run with `maxAttempts: 6`:\r\n\r\n| | Shared session, 9 hosts | Independent sessions, 6 attempts |\r\n|---|---|---|\r\n| Complete | 1 of 4 | **5 of 6** (4 on the first attempt) |\r\n\r\nIf every attempt is redacted the row is still emitted, with `_masked: true` and\r\n`_warning: experience_masked_by_linkedin`. Name, headline, location and follower count are\r\ncorrect on a redacted render — only parts of the work history are hidden.\r\n\r\n### Block detection\r\n\r\nTwo things are deliberately **not** used to detect a block:\r\n\r\n- **Status code alone.** LinkedIn serves its guest sign-in wall as a `200` with a full-size\r\n  body, and answers a throttled request with `999` (its own status code, not an HTTP one).\r\n- **Body substrings.** Every LinkedIn page carries the LiX flag\r\n  `data-recaptcha-v3-integration-lix-value`, so a substring test for `\"captcha\"` marks good\r\n  renders as blocked. That false positive threw away an entire cloud run's worth of valid\r\n  data before it was caught.\r\n\r\nWhat is used: the **final URL** (a redirect to `/authwall`, `/checkpoint/`, `/uas/login`),\r\nand a **positive data marker** — the presence of the `Person` node. A render without one is\r\nthe wall, whatever its status code or size.\r\n\r\n### TLS fingerprinting\r\n\r\nLinkedIn's guest surface does **not** gate on JA3/JA4. The profile ladder\r\n`chrome131` / `chrome146` / `firefox144` / `safari2601` was run against `/in/<slug>` from one\r\nIP: all four returned an identical 200 with the same JSON-LD payload. The gate here is IP\r\nreputation and request rate. `chrome146` is the default because it is the most common real\r\nUA; rotation is deliberately not implemented because it buys nothing.\r\n\r\n## Known limits\r\n\r\n| Limit | Detail |\r\n|---|---|\r\n| Work history redaction | Decided per request. `maxAttempts: 6` cleared it for 5 of 6 profiles; raise it if you need higher completeness |\r\n| No pagination of posts | `/in/<slug>/recent-activity/` redirects back to the profile for anonymous visitors. You get the posts embedded in the profile page, nothing deeper |\r\n| Rate limiting is aggressive | A single IP is throttled to `999` within a few dozen requests. **Use a residential proxy**; a bare local run will produce `blocked` rows almost immediately |\r\n| Contact details | Email and phone are never exposed to anonymous visitors and are not returned |\r\n| Not covered | `company/<slug>/people/` and `company/<slug>/posts/` redirect to the login wall — employee lists are not obtainable this way |\r\n\r\n## Related\r\n\r\n- **LinkedIn Company Profile Scraper** — company overviews\r\n- **LinkedIn Jobs Scraper** — public job postings via the guest jobs API\r\n\r\nUse `activityIds` from this actor's output as input to a post-detail run.\r\n"
    },
    "buildNumber": "0.1.6",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "0.1"
    }
  }
}