{
  "data": {
    "id": "cCRbUbKqnVbHRaCq6",
    "actId": "KYzSqU1FJUomdKfHD",
    "userId": "YdaLMi2HCPAiRee7A",
    "startedAt": "2026-10-03T22:24:55.091Z",
    "finishedAt": "2026-10-03T22:25:45.693Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "stats": {
      "durationMillis": 50534,
      "runTimeSecs": 50.534,
      "computeUnits": 0.05614888888888889,
      "imageSizeBytes": 2302045696
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"LinkedIn Profile Details Scraper input\",\n  \"description\": \"Add LinkedIn profile URLs, paste the cookies of a LinkedIn session made for the Actor and run. Read the warning in the README first: LinkedIn may end the session.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"urls\": {\n      \"title\": \"LinkedIn profile URLs\",\n      \"type\": \"array\",\n      \"description\": \"Profiles to scrape, one per line (linkedin.com/in/...).\",\n      \"editor\": \"stringList\",\n      \"prefill\": [\n        \"https://www.linkedin.com/in/ahmed-khaled-dev/\"\n      ],\n      \"example\": [\n        \"https://www.linkedin.com/in/ahmed-khaled-dev/\",\n        \"https://www.linkedin.com/in/williamhgates/\"\n      ],\n      \"minItems\": 1,\n      \"errorMessage\": {\n        \"minItems\": \"Add at least one LinkedIn profile URL.\"\n      }\n    },\n    \"cookie\": {\n      \"title\": \"LinkedIn cookies\",\n      \"type\": \"string\",\n      \"description\": \"Cookies of a LinkedIn session made just for this Actor, so LinkedIn never sees your everyday session in two places at once. How to get them: 1) in Chrome open chrome://extensions → <a href='https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm' target='_blank'>Cookie-Editor</a> → Details → turn on 'Allow in Incognito', 2) open an Incognito window (Ctrl/Cmd+Shift+N) and log in to LinkedIn, 3) click Cookie-Editor → Export → JSON and paste it here, 4) close the Incognito window without signing out. Stored encrypted.\",\n      \"editor\": \"textarea\",\n      \"isSecret\": true,\n      \"sectionCaption\": \"LinkedIn login\",\n      \"sectionDescription\": \"The Actor browses LinkedIn as you. LinkedIn watches automated profile browsing closely and may end the session, so use a session made just for the Actor (Incognito login), never the one you use every day.\"\n    },\n    \"userAgent\": {\n      \"title\": \"Your browser's user agent\",\n      \"type\": \"string\",\n      \"description\": \"The user agent of the Chrome or Edge browser you exported the cookies from. To get it, open DevTools (F12) → Console, type navigator.userAgent and press Enter, then copy the text without quotes. Strongly recommended.\",\n      \"editor\": \"textfield\",\n      \"pattern\": \"^Mozilla/5\\\\.0 \\\\(.+\\\\).*Chrome/\\\\d+\",\n      \"errorMessage\": {\n        \"pattern\": \"Paste the user agent of a Chrome or Edge browser (it starts with 'Mozilla/5.0 (' and contains 'Chrome/').\"\n      }\n    },\n    \"proxyConfiguration\": {\n      \"title\": \"Proxy\",\n      \"type\": \"object\",\n      \"description\": \"Use RESIDENTIAL proxies and select the country you normally use LinkedIn from. A datacenter IP or a far-away country makes LinkedIn suspicious and can log you out. The same IP is kept for the whole run.\",\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      \"sectionCaption\": \"Proxy\",\n      \"sectionDescription\": \"Pick RESIDENTIAL and your own country.\"\n    },\n    \"includeContactInfo\": {\n      \"title\": \"Include contact info\",\n      \"type\": \"boolean\",\n      \"description\": \"Also opens each profile's Contact info window (email, phone, websites, birthday — usually only for your 1st-degree connections). LinkedIn watches this window closely and may end the session, so use it only for small batches of your own connections.\",\n      \"default\": false,\n      \"sectionCaption\": \"Contact info\",\n      \"sectionDescription\": \"Off by default: opening the Contact info window is the action LinkedIn guards most closely.\"\n    },\n    \"min\": {\n      \"title\": \"Minimum delay between profiles\",\n      \"type\": \"integer\",\n      \"description\": \"Shortest pause before opening the next profile. Longer pauses look more natural to LinkedIn.\",\n      \"editor\": \"number\",\n      \"minimum\": 5,\n      \"maximum\": 300,\n      \"default\": 20,\n      \"unit\": \"seconds\",\n      \"sectionCaption\": \"Pacing\",\n      \"sectionDescription\": \"Pauses between profiles, like a person browsing. Keep them generous to protect your LinkedIn account.\"\n    },\n    \"max\": {\n      \"title\": \"Maximum delay between profiles\",\n      \"type\": \"integer\",\n      \"description\": \"Longest pause before opening the next profile. The Actor picks a random pause between the minimum and the maximum.\",\n      \"editor\": \"number\",\n      \"minimum\": 5,\n      \"maximum\": 600,\n      \"default\": 50,\n      \"unit\": \"seconds\"\n    },\n    \"debug\": {\n      \"title\": \"Save troubleshooting snapshots\",\n      \"type\": \"boolean\",\n      \"description\": \"Saves a screenshot and the page HTML for each URL in the run's storage (Debug snapshots). Turn on only when asked to in a support issue.\",\n      \"default\": false,\n      \"sectionCaption\": \"Advanced\"\n    }\n  },\n  \"required\": [\n    \"urls\",\n    \"cookie\"\n  ]\n}",
    "readme": "# LinkedIn Profile Details Scraper\n\nGet full LinkedIn profiles as a logged-in member: **headline, about, top skills, complete experience, education, certifications and skills**, plus optionally the **contact info of your 1st-degree connections** (email, phone, websites, birthday). Add a list of profile URLs and download clean data as Excel, CSV or JSON, or pull it through the API.\n\n## ⚠️ Read this first\n\nLinkedIn watches automated browsing of profiles very closely in 2026 and **often ends the session after a few profiles**, even with all the protections below. In rare cases repeated session endings can lead LinkedIn to restrict the account.\n\n- **Never use the cookies of the LinkedIn tab you use every day.** Give the Actor its own session (see step 1 below) so your everyday session stays separate.\n- Use **small batches** (a handful of profiles per run) and keep the default pauses.\n- If a run says LinkedIn ended the session, wait before trying again and create a new session for the Actor.\n\n## What does LinkedIn Profile Details Scraper do?\n\nIt opens each profile with your LinkedIn session, reads every section, opens the full lists (\"Show all experiences\", \"Show all skills\"...) when a section has more entries, and saves one row per profile:\n\n- 👤 **Top card**: name, headline, location, profile picture, cover image, connection degree, followers, connections\n- 📝 **About** section and **top skills**\n- 💼 **Experience**: every position with company, dates, location and description; several roles at one company become separate entries\n- 🎓 **Education** and 📜 **licenses & certifications**, with issue dates, credential IDs and credential links\n- 🛠️ **All skills**\n- 📇 **Contact info** (optional) visible to your account: email, phone, websites, birthday, IM, address (usually only for your 1st-degree connections)\n\n## How to use it\n\n1. **Create a LinkedIn session just for the Actor.** In Chrome open `chrome://extensions`, find [Cookie-Editor](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) → **Details** → turn on **Allow in Incognito**. Open an **Incognito window** (Ctrl/Cmd+Shift+N), log in to LinkedIn, click **Cookie-Editor → Export → JSON** and paste the result into **LinkedIn cookies**. Then **close the Incognito window without signing out**.\n2. **Copy your user agent.** In Chrome open DevTools (F12) → **Console**, type `navigator.userAgent`, press Enter and paste the text (without quotes) into **Your browser's user agent**.\n3. **Set the proxy** to **RESIDENTIAL** and select **the country you normally use LinkedIn from**.\n4. Add the profile URLs (`linkedin.com/in/...`) and click **Start**.\n\n## How the Actor protects your session\n\n| What LinkedIn checks | What the Actor does |\n| --- | --- |\n| Is it the same browser? | Full cookie set (not just `li_at`), **your user agent** with a matching platform, screen size and Chrome version |\n| Where is it? | A **residential IP in your country**, the same IP for the whole run, and a browser clock set to that country's time zone |\n| Is it a real browser? | A full (non-headless) Chrome with automation traces hidden |\n| Does it behave like a person? | Reads each profile by scrolling, with natural pauses, and waits **20–50 seconds** (configurable) before the next profile |\n| Sensitive actions | Contact info is **off by default**: opening that window is what LinkedIn guards most closely. Edit pages are never opened |\n\nIf LinkedIn ends the session anyway, the run stops right away, keeps the profiles already scraped and tells you.\n\n## Input\n\n| Field | Description |\n| --- | --- |\n| `urls` | Profile URLs (`linkedin.com/in/...`) |\n| `cookie` | Cookie export (JSON from Cookie-Editor) of a LinkedIn session made for the Actor in an Incognito window. Stored encrypted |\n| `userAgent` | Your browser's user agent (recommended) |\n| `proxyConfiguration` | Proxy settings; use RESIDENTIAL in your country |\n| `includeContactInfo` | Also open the Contact info window (off by default; see the FAQ) |\n| `min`, `max` | Pause between profiles in seconds (default 20–50) |\n| `debug` | Saves screenshots and page HTML for troubleshooting |\n\n```json\n{\n  \"urls\": [\"https://www.linkedin.com/in/jane-example/\"],\n  \"cookie\": \"[{\\\"name\\\":\\\"li_at\\\",\\\"value\\\":\\\"...\\\",\\\"domain\\\":\\\".www.linkedin.com\\\"}, ...]\",\n  \"userAgent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36\",\n  \"proxyConfiguration\": { \"useApifyProxy\": true, \"apifyProxyGroups\": [\"RESIDENTIAL\"], \"apifyProxyCountry\": \"EG\" }\n}\n```\n\n## Output\n\nOne row per profile. The **Output** tab has three views: **Overview**, **Career** and **Contact info**. Example (a fictional person):\n\n```json\n{\n  \"profileUrl\": \"https://www.linkedin.com/in/jane-example/\",\n  \"publicIdentifier\": \"jane-example\",\n  \"name\": \"Jane Example\",\n  \"title\": \"Full Stack Web Developer at Example Tech\",\n  \"location\": \"Cairo, Egypt\",\n  \"profileImgURL\": \"https://media.licdn.com/dms/image/...\",\n  \"coverURL\": \"https://media.licdn.com/dms/image/...\",\n  \"distance\": \"1st\",\n  \"followers\": 1834,\n  \"connections\": \"500+\",\n  \"about\": \"A self-taught developer who moved from the medical sector to software...\",\n  \"profileContacts\": {\n    \"linkedinProfile\": \"https://www.linkedin.com/in/jane-example\",\n    \"websites\": [\"https://github.com/jane-example\"],\n    \"email\": \"jane@example.com\",\n    \"birthday\": \"December 7\"\n  },\n  \"experience\": [\n    {\n      \"expTitle\": \"Full Stack Web Developer\",\n      \"expCompName\": \"Example Tech · Full-time\",\n      \"expDuration\": \"Jan 2021 - Present · 2 yrs 11 mos\",\n      \"expLocation\": \"Remote\",\n      \"expDescription\": \"Built the customer dashboard in React and Node.js...\",\n      \"expCompURL\": \"https://www.linkedin.com/company/13224787/\",\n      \"expCompLogo\": \"https://media.licdn.com/dms/image/...\"\n    }\n  ],\n  \"education\": [\n    {\n      \"eduFrom\": \"Example University\",\n      \"eduDegree\": \"Bachelor's degree, Veterinary Medicine\",\n      \"eduDate\": \"Sep 2013 - Jan 2019\",\n      \"eduDescription\": \"\",\n      \"eduURL\": \"https://www.linkedin.com/school/926996/\",\n      \"eduLogo\": \"https://media.licdn.com/dms/image/...\"\n    }\n  ],\n  \"license\": [\n    {\n      \"licenseName\": \"English Proficiency Certificate\",\n      \"compName\": \"Example English Test\",\n      \"licenseDate\": \"Nov 2022 · Expires Nov 2024\",\n      \"credentialID\": \"1336409705\",\n      \"licenseURL\": \"https://certs.example.com/1336409705\",\n      \"compURL\": \"https://www.linkedin.com/company/25016372/\",\n      \"compLogo\": \"https://media.licdn.com/dms/image/...\"\n    }\n  ],\n  \"skills\": [\"SQL\", \"Career Counseling\"],\n  \"topSkills\": [\"React\", \"Node.js\"],\n  \"scrapedAt\": \"2026-10-03T08:00:00.000Z\"\n}\n```\n\n## How much does it cost?\n\nYou pay a fixed price per profile saved to the dataset; see the **Pricing** tab. Proxy and compute costs are included. Profiles that are unavailable or can't be read are skipped and not charged. You can also set a **maximum cost per run** in the run options; the run stops as soon as it is reached.\n\n## Integrations and API\n\nUse the results in Google Sheets, Make, Zapier, n8n, Slack or any CRM through [Apify integrations](https://apify.com/integrations), or call the Actor from code:\n\n```js\nimport { ApifyClient } from 'apify-client';\n\nconst client = new ApifyClient({ token: process.env.APIFY_TOKEN });\nconst run = await client.actor('ahmed-khaled/linkedin-profile-details-scraper').call({\n    urls: ['https://www.linkedin.com/in/jane-example/'],\n    cookie: process.env.LINKEDIN_COOKIES_JSON,\n    userAgent: process.env.MY_USER_AGENT,\n    proxyConfiguration: { useApifyProxy: true, apifyProxyGroups: ['RESIDENTIAL'], apifyProxyCountry: 'US' },\n});\nconst { items } = await client.dataset(run.defaultDatasetId).listItems();\n```\n\n```python\nimport os\nfrom apify_client import ApifyClient\n\nclient = ApifyClient(os.environ[\"APIFY_TOKEN\"])\nrun = client.actor(\"ahmed-khaled/linkedin-profile-details-scraper\").call(run_input={\n    \"urls\": [\"https://www.linkedin.com/in/jane-example/\"],\n    \"cookie\": os.environ[\"LINKEDIN_COOKIES_JSON\"],\n    \"userAgent\": os.environ[\"MY_USER_AGENT\"],\n    \"proxyConfiguration\": {\"useApifyProxy\": True, \"apifyProxyGroups\": [\"RESIDENTIAL\"], \"apifyProxyCountry\": \"US\"},\n})\nitems = client.dataset(run[\"defaultDatasetId\"]).list_items().items\n```\n\n## FAQ\n\n**Why does it need my cookies?**\nFull profiles, complete lists, skills and contact info are only visible to logged-in members. Your cookies are used only inside your own run and are stored encrypted by Apify.\n\n**The run says LinkedIn ended the session.**\nLinkedIn is very strict with automated profile browsing. Wait a while, create a new session for the Actor (Incognito login, export, close without signing out) and use smaller batches with longer pauses.\n\n**Will the Actor log me out of LinkedIn in my browser?**\nNot if you give it its own Incognito session: your browser's session is then separate. Logouts happen when the cookies of your everyday LinkedIn tab are used in the Actor at the same time as in your browser.\n\n**Why is `profileContacts` empty?**\n**Include contact info** is off by default. When on, LinkedIn still shows contact info mostly to 1st-degree connections, and only what each member chose to share.\n\n**A field is missing or looks wrong.**\nOpen an issue in the **Issues** tab. Turn on **Save troubleshooting snapshots** and attach the screenshots from the run's **Debug snapshots**; it helps fix the problem fast.\n\n## Legal\n\nThis Actor processes personal data. Make sure you have a legitimate reason to collect it, process it in line with data protection laws such as the GDPR, and respect LinkedIn's terms of service.\n",
    "changelog": "# Changelog\n\n## 1.1 (October 2026)\n\n### Session safety\n- The Actor now works with its own LinkedIn session (created in an Incognito window), so your everyday LinkedIn tab no longer shares a session with a run.\n- Detects immediately when LinkedIn ends the session (deleted cookie, login redirect, rejected API calls), stops and keeps the profiles already scraped; every run reports whether the session is still active.\n- Uses the full LinkedIn cookie export and refuses to run with `li_at` alone.\n- New **Your browser's user agent** input; the browser's platform, screen size and client hints match it.\n- Residential proxy by default, with the same IP kept for the whole run and a browser time zone matching the proxy country.\n- Full (non-headless) Chrome on the platform; profiles are read by scrolling, with natural pauses.\n\n### Fixed\n- Pasting a JSON cookie export (as the README said) no longer fails every run: all common cookie formats are accepted.\n- You are now charged only for profiles actually saved to the dataset. In 1.0 the profile was charged first and then rejected by the dataset schema because `experience` was nested twice.\n- Experience entries are read reliably, including companies with several roles, descriptions and locations.\n- Certification issue dates and credential IDs are no longer mixed up.\n- Contact info uses stable keys (`email`, `phone`, `websites`...) that match the documentation.\n- A profile mentioning \"Sign in\" or \"Join now\" no longer stops the run with a false \"cookies expired\" error.\n- One unreadable profile no longer stops the run; it is skipped and not charged.\n\n### New\n- Supports LinkedIn's 2026 profile layout (server-driven cards loaded while scrolling) as well as the previous one.\n- Clear warning that LinkedIn may end the session; edit pages are never opened.\n- Contact info is now optional (**Include contact info**, off by default), because opening that window is what LinkedIn guards most closely.\n- New `topSkills` field.\n- Full lists of experience, education, certifications and skills are read from LinkedIn's \"Show all\" pages.\n- New fields: `profileUrl`, `publicIdentifier`, `expDescription`, `eduDescription`, `scrapedAt`.\n- **Overview**, **Career** and **Contact info** output views.\n- **Save troubleshooting snapshots** option, plus automatic snapshots when a profile can't be read.\n\n### Compatibility\n- Inputs from 1.0 (`urls` as `{ \"url\": ... }` objects, `min`, `max`) still work.\n\n## 1.0 (August 2026)\n- Moved to pay-per-event pricing (per profile scraped).\n\n## 0.x (2024–2025)\n- Initial release: main details, experience, education, licenses, skills and contact info.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "linkedin-profile-details-scraper",
      "title": "Linkedin Profile Details Scraper",
      "description": "Scrape full LinkedIn profiles with your own session: headline, about, top skills, experience, education, certifications, skills and optionally contact info.",
      "version": "1.1",
      "meta": {
        "templateId": "js-start"
      },
      "defaultMemoryMbytes": 2048,
      "minMemoryMbytes": 1024,
      "maxMemoryMbytes": 4096,
      "input": {
        "title": "LinkedIn Profile Details Scraper input",
        "description": "Add LinkedIn profile URLs, paste the cookies of a LinkedIn session made for the Actor and run. Read the warning in the README first: LinkedIn may end the session.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "urls": {
            "title": "LinkedIn profile URLs",
            "type": "array",
            "description": "Profiles to scrape, one per line (linkedin.com/in/...).",
            "editor": "stringList",
            "prefill": [
              "https://www.linkedin.com/in/ahmed-khaled-dev/"
            ],
            "example": [
              "https://www.linkedin.com/in/ahmed-khaled-dev/",
              "https://www.linkedin.com/in/williamhgates/"
            ],
            "minItems": 1,
            "errorMessage": {
              "minItems": "Add at least one LinkedIn profile URL."
            }
          },
          "cookie": {
            "title": "LinkedIn cookies",
            "type": "string",
            "description": "Cookies of a LinkedIn session made just for this Actor, so LinkedIn never sees your everyday session in two places at once. How to get them: 1) in Chrome open chrome://extensions → <a href='https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm' target='_blank'>Cookie-Editor</a> → Details → turn on 'Allow in Incognito', 2) open an Incognito window (Ctrl/Cmd+Shift+N) and log in to LinkedIn, 3) click Cookie-Editor → Export → JSON and paste it here, 4) close the Incognito window without signing out. Stored encrypted.",
            "editor": "textarea",
            "isSecret": true,
            "sectionCaption": "LinkedIn login",
            "sectionDescription": "The Actor browses LinkedIn as you. LinkedIn watches automated profile browsing closely and may end the session, so use a session made just for the Actor (Incognito login), never the one you use every day."
          },
          "userAgent": {
            "title": "Your browser's user agent",
            "type": "string",
            "description": "The user agent of the Chrome or Edge browser you exported the cookies from. To get it, open DevTools (F12) → Console, type navigator.userAgent and press Enter, then copy the text without quotes. Strongly recommended.",
            "editor": "textfield",
            "pattern": "^Mozilla/5\\.0 \\(.+\\).*Chrome/\\d+",
            "errorMessage": {
              "pattern": "Paste the user agent of a Chrome or Edge browser (it starts with 'Mozilla/5.0 (' and contains 'Chrome/')."
            }
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Use RESIDENTIAL proxies and select the country you normally use LinkedIn from. A datacenter IP or a far-away country makes LinkedIn suspicious and can log you out. The same IP is kept for the whole run.",
            "editor": "proxy",
            "prefill": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            },
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            },
            "sectionCaption": "Proxy",
            "sectionDescription": "Pick RESIDENTIAL and your own country."
          },
          "includeContactInfo": {
            "title": "Include contact info",
            "type": "boolean",
            "description": "Also opens each profile's Contact info window (email, phone, websites, birthday — usually only for your 1st-degree connections). LinkedIn watches this window closely and may end the session, so use it only for small batches of your own connections.",
            "default": false,
            "sectionCaption": "Contact info",
            "sectionDescription": "Off by default: opening the Contact info window is the action LinkedIn guards most closely."
          },
          "min": {
            "title": "Minimum delay between profiles",
            "type": "integer",
            "description": "Shortest pause before opening the next profile. Longer pauses look more natural to LinkedIn.",
            "editor": "number",
            "minimum": 5,
            "maximum": 300,
            "default": 20,
            "unit": "seconds",
            "sectionCaption": "Pacing",
            "sectionDescription": "Pauses between profiles, like a person browsing. Keep them generous to protect your LinkedIn account."
          },
          "max": {
            "title": "Maximum delay between profiles",
            "type": "integer",
            "description": "Longest pause before opening the next profile. The Actor picks a random pause between the minimum and the maximum.",
            "editor": "number",
            "minimum": 5,
            "maximum": 600,
            "default": 50,
            "unit": "seconds"
          },
          "debug": {
            "title": "Save troubleshooting snapshots",
            "type": "boolean",
            "description": "Saves a screenshot and the page HTML for each URL in the run's storage (Debug snapshots). Turn on only when asked to in a support issue.",
            "default": false,
            "sectionCaption": "Advanced"
          }
        },
        "required": [
          "urls",
          "cookie"
        ]
      },
      "dockerfile": "./Dockerfile",
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "LinkedIn Profile Details Scraper output",
        "properties": {
          "profiles": {
            "type": "string",
            "title": "Profiles",
            "template": "{{links.apiDefaultDatasetUrl}}/items?view=overview"
          },
          "career": {
            "type": "string",
            "title": "Career details",
            "template": "{{links.apiDefaultDatasetUrl}}/items?view=career"
          },
          "contacts": {
            "type": "string",
            "title": "Contact info",
            "template": "{{links.apiDefaultDatasetUrl}}/items?view=contacts"
          },
          "debugSnapshots": {
            "type": "string",
            "title": "Debug snapshots",
            "template": "{{links.apiDefaultKeyValueStoreUrl}}/keys?collection=debugSnapshots"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "title": "LinkedIn profiles",
          "fields": {
            "$schema": "http://json-schema.org/draft-07/schema#",
            "type": "object",
            "properties": {
              "profileUrl": {
                "type": "string",
                "title": "Profile URL",
                "description": "Canonical URL of the LinkedIn profile."
              },
              "publicIdentifier": {
                "type": "string",
                "title": "Public identifier",
                "description": "The profile's vanity name (linkedin.com/in/<identifier>)."
              },
              "name": {
                "type": "string",
                "title": "Full name",
                "description": "Full name of the profile owner."
              },
              "title": {
                "type": "string",
                "title": "Headline",
                "description": "Professional headline shown under the name."
              },
              "location": {
                "type": "string",
                "title": "Location",
                "description": "Location shown on the profile."
              },
              "profileImgURL": {
                "type": "string",
                "title": "Profile picture URL",
                "description": "URL of the profile picture."
              },
              "coverURL": {
                "type": "string",
                "title": "Cover image URL",
                "description": "URL of the profile background image."
              },
              "distance": {
                "type": "string",
                "title": "Connection degree",
                "description": "1st, 2nd or 3rd+ relative to the logged-in account."
              },
              "followers": {
                "type": [
                  "integer",
                  "null"
                ],
                "title": "Followers",
                "description": "Number of followers, when shown."
              },
              "connections": {
                "type": [
                  "string",
                  "null"
                ],
                "title": "Connections",
                "description": "Number of connections as shown (e.g. 500+)."
              },
              "about": {
                "type": "string",
                "title": "About",
                "description": "About section text."
              },
              "profileContacts": {
                "type": [
                  "object",
                  "null"
                ],
                "title": "Contact info",
                "description": "Contact info visible to the logged-in account: linkedinProfile, websites, email, phone, twitter, birthday, ims, address, connectedSince. Usually only for 1st-degree connections."
              },
              "experience": {
                "type": "array",
                "title": "Experience",
                "description": "Positions: expTitle, expCompName, expDuration, expLocation, expDescription, expCompURL, expCompLogo."
              },
              "education": {
                "type": "array",
                "title": "Education",
                "description": "Schools: eduFrom, eduDegree, eduDate, eduDescription, eduURL, eduLogo."
              },
              "license": {
                "type": "array",
                "title": "Licenses & certifications",
                "description": "Certifications: licenseName, compName, licenseDate, credentialID, licenseURL, compURL, compLogo."
              },
              "skills": {
                "type": "array",
                "title": "Skills",
                "description": "All listed skills."
              },
              "topSkills": {
                "type": "array",
                "title": "Top skills",
                "description": "Skills the member highlights in their About section."
              },
              "scrapedAt": {
                "type": "string",
                "title": "Scraped at",
                "description": "When the profile was scraped (ISO 8601, UTC)."
              }
            },
            "required": [
              "profileUrl",
              "name"
            ]
          },
          "views": {
            "overview": {
              "title": "Overview",
              "description": "One row per profile with the main details.",
              "transformation": {
                "fields": [
                  "profileImgURL",
                  "name",
                  "title",
                  "location",
                  "distance",
                  "connections",
                  "followers",
                  "profileUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "profileImgURL": {
                    "label": "Photo",
                    "format": "image"
                  },
                  "name": {
                    "label": "Name",
                    "format": "text"
                  },
                  "title": {
                    "label": "Headline",
                    "format": "text"
                  },
                  "location": {
                    "label": "Location",
                    "format": "text"
                  },
                  "distance": {
                    "label": "Degree",
                    "format": "text"
                  },
                  "connections": {
                    "label": "Connections",
                    "format": "text"
                  },
                  "followers": {
                    "label": "Followers",
                    "format": "number"
                  },
                  "profileUrl": {
                    "label": "Profile",
                    "format": "link"
                  }
                }
              }
            },
            "career": {
              "title": "Career",
              "description": "Experience, education, certifications and skills.",
              "transformation": {
                "fields": [
                  "name",
                  "experience",
                  "education",
                  "license",
                  "skills",
                  "topSkills",
                  "profileUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "name": {
                    "label": "Name",
                    "format": "text"
                  },
                  "experience": {
                    "label": "Experience",
                    "format": "array"
                  },
                  "education": {
                    "label": "Education",
                    "format": "array"
                  },
                  "license": {
                    "label": "Certifications",
                    "format": "array"
                  },
                  "skills": {
                    "label": "Skills",
                    "format": "array"
                  },
                  "topSkills": {
                    "label": "Top skills",
                    "format": "array"
                  },
                  "profileUrl": {
                    "label": "Profile",
                    "format": "link"
                  }
                }
              }
            },
            "contacts": {
              "title": "Contact info",
              "description": "Contact details visible to your account (usually 1st-degree connections).",
              "transformation": {
                "fields": [
                  "name",
                  "profileContacts",
                  "profileUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "name": {
                    "label": "Name",
                    "format": "text"
                  },
                  "profileContacts": {
                    "label": "Contact info",
                    "format": "object"
                  },
                  "profileUrl": {
                    "label": "Profile",
                    "format": "link"
                  }
                }
              }
            }
          }
        },
        "keyValueStore": {
          "actorKeyValueStoreSchemaVersion": 1,
          "title": "LinkedIn Profile Details Scraper storage",
          "collections": {
            "debugSnapshots": {
              "title": "Debug snapshots",
              "description": "Screenshot and HTML of pages, saved when a profile could not be read or when 'Save troubleshooting snapshots' is on. Attach them to an issue so the problem can be fixed quickly.",
              "keyPrefix": "DEBUG-"
            }
          }
        }
      },
      "readme": "# LinkedIn Profile Details Scraper\n\nGet full LinkedIn profiles as a logged-in member: **headline, about, top skills, complete experience, education, certifications and skills**, plus optionally the **contact info of your 1st-degree connections** (email, phone, websites, birthday). Add a list of profile URLs and download clean data as Excel, CSV or JSON, or pull it through the API.\n\n## ⚠️ Read this first\n\nLinkedIn watches automated browsing of profiles very closely in 2026 and **often ends the session after a few profiles**, even with all the protections below. In rare cases repeated session endings can lead LinkedIn to restrict the account.\n\n- **Never use the cookies of the LinkedIn tab you use every day.** Give the Actor its own session (see step 1 below) so your everyday session stays separate.\n- Use **small batches** (a handful of profiles per run) and keep the default pauses.\n- If a run says LinkedIn ended the session, wait before trying again and create a new session for the Actor.\n\n## What does LinkedIn Profile Details Scraper do?\n\nIt opens each profile with your LinkedIn session, reads every section, opens the full lists (\"Show all experiences\", \"Show all skills\"...) when a section has more entries, and saves one row per profile:\n\n- 👤 **Top card**: name, headline, location, profile picture, cover image, connection degree, followers, connections\n- 📝 **About** section and **top skills**\n- 💼 **Experience**: every position with company, dates, location and description; several roles at one company become separate entries\n- 🎓 **Education** and 📜 **licenses & certifications**, with issue dates, credential IDs and credential links\n- 🛠️ **All skills**\n- 📇 **Contact info** (optional) visible to your account: email, phone, websites, birthday, IM, address (usually only for your 1st-degree connections)\n\n## How to use it\n\n1. **Create a LinkedIn session just for the Actor.** In Chrome open `chrome://extensions`, find [Cookie-Editor](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm) → **Details** → turn on **Allow in Incognito**. Open an **Incognito window** (Ctrl/Cmd+Shift+N), log in to LinkedIn, click **Cookie-Editor → Export → JSON** and paste the result into **LinkedIn cookies**. Then **close the Incognito window without signing out**.\n2. **Copy your user agent.** In Chrome open DevTools (F12) → **Console**, type `navigator.userAgent`, press Enter and paste the text (without quotes) into **Your browser's user agent**.\n3. **Set the proxy** to **RESIDENTIAL** and select **the country you normally use LinkedIn from**.\n4. Add the profile URLs (`linkedin.com/in/...`) and click **Start**.\n\n## How the Actor protects your session\n\n| What LinkedIn checks | What the Actor does |\n| --- | --- |\n| Is it the same browser? | Full cookie set (not just `li_at`), **your user agent** with a matching platform, screen size and Chrome version |\n| Where is it? | A **residential IP in your country**, the same IP for the whole run, and a browser clock set to that country's time zone |\n| Is it a real browser? | A full (non-headless) Chrome with automation traces hidden |\n| Does it behave like a person? | Reads each profile by scrolling, with natural pauses, and waits **20–50 seconds** (configurable) before the next profile |\n| Sensitive actions | Contact info is **off by default**: opening that window is what LinkedIn guards most closely. Edit pages are never opened |\n\nIf LinkedIn ends the session anyway, the run stops right away, keeps the profiles already scraped and tells you.\n\n## Input\n\n| Field | Description |\n| --- | --- |\n| `urls` | Profile URLs (`linkedin.com/in/...`) |\n| `cookie` | Cookie export (JSON from Cookie-Editor) of a LinkedIn session made for the Actor in an Incognito window. Stored encrypted |\n| `userAgent` | Your browser's user agent (recommended) |\n| `proxyConfiguration` | Proxy settings; use RESIDENTIAL in your country |\n| `includeContactInfo` | Also open the Contact info window (off by default; see the FAQ) |\n| `min`, `max` | Pause between profiles in seconds (default 20–50) |\n| `debug` | Saves screenshots and page HTML for troubleshooting |\n\n```json\n{\n  \"urls\": [\"https://www.linkedin.com/in/jane-example/\"],\n  \"cookie\": \"[{\\\"name\\\":\\\"li_at\\\",\\\"value\\\":\\\"...\\\",\\\"domain\\\":\\\".www.linkedin.com\\\"}, ...]\",\n  \"userAgent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36\",\n  \"proxyConfiguration\": { \"useApifyProxy\": true, \"apifyProxyGroups\": [\"RESIDENTIAL\"], \"apifyProxyCountry\": \"EG\" }\n}\n```\n\n## Output\n\nOne row per profile. The **Output** tab has three views: **Overview**, **Career** and **Contact info**. Example (a fictional person):\n\n```json\n{\n  \"profileUrl\": \"https://www.linkedin.com/in/jane-example/\",\n  \"publicIdentifier\": \"jane-example\",\n  \"name\": \"Jane Example\",\n  \"title\": \"Full Stack Web Developer at Example Tech\",\n  \"location\": \"Cairo, Egypt\",\n  \"profileImgURL\": \"https://media.licdn.com/dms/image/...\",\n  \"coverURL\": \"https://media.licdn.com/dms/image/...\",\n  \"distance\": \"1st\",\n  \"followers\": 1834,\n  \"connections\": \"500+\",\n  \"about\": \"A self-taught developer who moved from the medical sector to software...\",\n  \"profileContacts\": {\n    \"linkedinProfile\": \"https://www.linkedin.com/in/jane-example\",\n    \"websites\": [\"https://github.com/jane-example\"],\n    \"email\": \"jane@example.com\",\n    \"birthday\": \"December 7\"\n  },\n  \"experience\": [\n    {\n      \"expTitle\": \"Full Stack Web Developer\",\n      \"expCompName\": \"Example Tech · Full-time\",\n      \"expDuration\": \"Jan 2021 - Present · 2 yrs 11 mos\",\n      \"expLocation\": \"Remote\",\n      \"expDescription\": \"Built the customer dashboard in React and Node.js...\",\n      \"expCompURL\": \"https://www.linkedin.com/company/13224787/\",\n      \"expCompLogo\": \"https://media.licdn.com/dms/image/...\"\n    }\n  ],\n  \"education\": [\n    {\n      \"eduFrom\": \"Example University\",\n      \"eduDegree\": \"Bachelor's degree, Veterinary Medicine\",\n      \"eduDate\": \"Sep 2013 - Jan 2019\",\n      \"eduDescription\": \"\",\n      \"eduURL\": \"https://www.linkedin.com/school/926996/\",\n      \"eduLogo\": \"https://media.licdn.com/dms/image/...\"\n    }\n  ],\n  \"license\": [\n    {\n      \"licenseName\": \"English Proficiency Certificate\",\n      \"compName\": \"Example English Test\",\n      \"licenseDate\": \"Nov 2022 · Expires Nov 2024\",\n      \"credentialID\": \"1336409705\",\n      \"licenseURL\": \"https://certs.example.com/1336409705\",\n      \"compURL\": \"https://www.linkedin.com/company/25016372/\",\n      \"compLogo\": \"https://media.licdn.com/dms/image/...\"\n    }\n  ],\n  \"skills\": [\"SQL\", \"Career Counseling\"],\n  \"topSkills\": [\"React\", \"Node.js\"],\n  \"scrapedAt\": \"2026-10-03T08:00:00.000Z\"\n}\n```\n\n## How much does it cost?\n\nYou pay a fixed price per profile saved to the dataset; see the **Pricing** tab. Proxy and compute costs are included. Profiles that are unavailable or can't be read are skipped and not charged. You can also set a **maximum cost per run** in the run options; the run stops as soon as it is reached.\n\n## Integrations and API\n\nUse the results in Google Sheets, Make, Zapier, n8n, Slack or any CRM through [Apify integrations](https://apify.com/integrations), or call the Actor from code:\n\n```js\nimport { ApifyClient } from 'apify-client';\n\nconst client = new ApifyClient({ token: process.env.APIFY_TOKEN });\nconst run = await client.actor('ahmed-khaled/linkedin-profile-details-scraper').call({\n    urls: ['https://www.linkedin.com/in/jane-example/'],\n    cookie: process.env.LINKEDIN_COOKIES_JSON,\n    userAgent: process.env.MY_USER_AGENT,\n    proxyConfiguration: { useApifyProxy: true, apifyProxyGroups: ['RESIDENTIAL'], apifyProxyCountry: 'US' },\n});\nconst { items } = await client.dataset(run.defaultDatasetId).listItems();\n```\n\n```python\nimport os\nfrom apify_client import ApifyClient\n\nclient = ApifyClient(os.environ[\"APIFY_TOKEN\"])\nrun = client.actor(\"ahmed-khaled/linkedin-profile-details-scraper\").call(run_input={\n    \"urls\": [\"https://www.linkedin.com/in/jane-example/\"],\n    \"cookie\": os.environ[\"LINKEDIN_COOKIES_JSON\"],\n    \"userAgent\": os.environ[\"MY_USER_AGENT\"],\n    \"proxyConfiguration\": {\"useApifyProxy\": True, \"apifyProxyGroups\": [\"RESIDENTIAL\"], \"apifyProxyCountry\": \"US\"},\n})\nitems = client.dataset(run[\"defaultDatasetId\"]).list_items().items\n```\n\n## FAQ\n\n**Why does it need my cookies?**\nFull profiles, complete lists, skills and contact info are only visible to logged-in members. Your cookies are used only inside your own run and are stored encrypted by Apify.\n\n**The run says LinkedIn ended the session.**\nLinkedIn is very strict with automated profile browsing. Wait a while, create a new session for the Actor (Incognito login, export, close without signing out) and use smaller batches with longer pauses.\n\n**Will the Actor log me out of LinkedIn in my browser?**\nNot if you give it its own Incognito session: your browser's session is then separate. Logouts happen when the cookies of your everyday LinkedIn tab are used in the Actor at the same time as in your browser.\n\n**Why is `profileContacts` empty?**\n**Include contact info** is off by default. When on, LinkedIn still shows contact info mostly to 1st-degree connections, and only what each member chose to share.\n\n**A field is missing or looks wrong.**\nOpen an issue in the **Issues** tab. Turn on **Save troubleshooting snapshots** and attach the screenshots from the run's **Debug snapshots**; it helps fix the problem fast.\n\n## Legal\n\nThis Actor processes personal data. Make sure you have a legitimate reason to collect it, process it in line with data protection laws such as the GDPR, and respect LinkedIn's terms of service.\n",
      "changelog": "# Changelog\n\n## 1.1 (October 2026)\n\n### Session safety\n- The Actor now works with its own LinkedIn session (created in an Incognito window), so your everyday LinkedIn tab no longer shares a session with a run.\n- Detects immediately when LinkedIn ends the session (deleted cookie, login redirect, rejected API calls), stops and keeps the profiles already scraped; every run reports whether the session is still active.\n- Uses the full LinkedIn cookie export and refuses to run with `li_at` alone.\n- New **Your browser's user agent** input; the browser's platform, screen size and client hints match it.\n- Residential proxy by default, with the same IP kept for the whole run and a browser time zone matching the proxy country.\n- Full (non-headless) Chrome on the platform; profiles are read by scrolling, with natural pauses.\n\n### Fixed\n- Pasting a JSON cookie export (as the README said) no longer fails every run: all common cookie formats are accepted.\n- You are now charged only for profiles actually saved to the dataset. In 1.0 the profile was charged first and then rejected by the dataset schema because `experience` was nested twice.\n- Experience entries are read reliably, including companies with several roles, descriptions and locations.\n- Certification issue dates and credential IDs are no longer mixed up.\n- Contact info uses stable keys (`email`, `phone`, `websites`...) that match the documentation.\n- A profile mentioning \"Sign in\" or \"Join now\" no longer stops the run with a false \"cookies expired\" error.\n- One unreadable profile no longer stops the run; it is skipped and not charged.\n\n### New\n- Supports LinkedIn's 2026 profile layout (server-driven cards loaded while scrolling) as well as the previous one.\n- Clear warning that LinkedIn may end the session; edit pages are never opened.\n- Contact info is now optional (**Include contact info**, off by default), because opening that window is what LinkedIn guards most closely.\n- New `topSkills` field.\n- Full lists of experience, education, certifications and skills are read from LinkedIn's \"Show all\" pages.\n- New fields: `profileUrl`, `publicIdentifier`, `expDescription`, `eduDescription`, `scrapedAt`.\n- **Overview**, **Career** and **Contact info** output views.\n- **Save troubleshooting snapshots** option, plus automatic snapshots when a profile can't be read.\n\n### Compatibility\n- Inputs from 1.0 (`urls` as `{ \"url\": ... }` objects, `min`, `max`) still work.\n\n## 1.0 (August 2026)\n- Moved to pay-per-event pricing (per profile scraped).\n\n## 0.x (2024–2025)\n- Initial release: main details, experience, education, licenses, skills and contact info.\n"
    },
    "buildNumber": "1.1.7",
    "imageDigest": "47089b0333ff04f7f6abd217a37b2fb906aad023e831c4be17826ee1cd991f93",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.1"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.05614888888888889
    }
  }
}