{
  "data": {
    "id": "HDfxnuqfNMMMYqbcj",
    "actId": "cr0SYSUSfvWkiiXFM",
    "userId": "XQ4b5NlpHfNjEMtso",
    "startedAt": "2026-11-01T11:19:27.550Z",
    "finishedAt": "2026-11-01T11:19:40.669Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "inputSchema": "{\n  \"title\": \"LinkedIn Profile Scraper Input\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"profiles\": {\n      \"title\": \"Profile URLs or Usernames\",\n      \"type\": \"array\",\n      \"description\": \"List of LinkedIn profile usernames or full profile URLs to scrape (e.g. \\\"jeffweiner08\\\" or \\\"https://www.linkedin.com/in/jeffweiner08\\\")\",\n      \"editor\": \"json\",\n      \"prefill\": [\n        \"jeffweiner08\"\n      ]\n    },\n    \"concurrency\": {\n      \"title\": \"Concurrency\",\n      \"type\": \"integer\",\n      \"description\": \"Number of profiles to scrape in parallel. Lower values are safer, higher values are faster.\",\n      \"default\": 3,\n      \"minimum\": 1,\n      \"maximum\": 10\n    },\n    \"proxyConfiguration\": {\n      \"title\": \"Proxy configuration\",\n      \"type\": \"object\",\n      \"description\": \"Proxy settings for anti-bot protection. Apify Residential proxies are used by default. Override with custom proxyUrls for local testing.\",\n      \"editor\": \"proxy\",\n      \"default\": {\n        \"useApifyProxy\": true,\n        \"apifyProxyGroups\": [\n          \"RESIDENTIAL\"\n        ]\n      }\n    }\n  },\n  \"required\": [\n    \"profiles\"\n  ]\n}",
    "readme": "**LinkedIn Profile Scraper** creates a structured dataset of public LinkedIn profiles. Each dataset item can include the profile URL, name, headline, about summary, location, follower count, profile and background image URLs, work positions, education, certifications, skills, recent activity, and articles. Query the source using a list of profile URLs or usernames, control parallelism with `concurrency`, and retrieve records through the Apify Dataset API or export them as JSON, CSV, Excel, XML, or another supported format.\n\n## Dataset at a glance\n\n| Property | Value |\n|---|---|\n| Source | LinkedIn public profiles (linkedin.com/in/...) |\n| Record unit | One public profile |\n| Input methods | `profiles` (list of usernames or URLs) |\n| Main identifiers | `profileId`, `url` |\n| Delivery | Apify Dataset and API |\n| Export formats | JSON, CSV, Excel, XML, HTML |\n| Update model | Fresh records per Actor run |\n| Pricing | $3.00 per 1,000 profiles |\n\n## Coverage and available records\n\nThe Actor scrapes public LinkedIn profiles by username or full URL. Supported behavior:\n\n- **Profile inputs** — `profiles` accepts usernames (`\"jeffweiner08\"`) or full URLs (`\"https://www.linkedin.com/in/jeffweiner08\"`).\n- **Parallelism** — `concurrency` (1–10, default 3) controls how many profiles are scraped in parallel.\n- **Public data only** — the Actor reads the public profile view; it does not authenticate or bypass login walls.\n\nRecords include work history (`positions`), education, certifications, skills, recent activities, articles, recommendations, and other public sections. Some sections may be empty for private or lightly-populated profiles.\n\nNot currently collected: full connection lists, private-members-only content, and profiles that require authentication to view.\n\n## Data dictionary\n\n| Field | Type | Nullable | Description | Example |\n|---|---:|---|---|---|\n| `url` | string | no | Profile URL; unique per profile | `https://www.linkedin.com/in/jeffweiner08` |\n| `name` | string | yes | Full display name | `Jeff Weiner` |\n| `firstName` | string | yes | First name | `Jeff` |\n| `lastName` | string | yes | Last name | `Weiner` |\n| `headline` | string | yes | Profile headline | `Founding Partner · Founding LP...` |\n| `about` | string | yes | About/summary text (may contain HTML) | `For much of the last three decades...` |\n| `location` | string | yes | Display location | `United States` |\n| `profileId` | string | yes | LinkedIn profile identifier; recommended deduplication key | `22330283` |\n| `profilePicture` | string | yes | Profile photo URL | `https://media.licdn.com/dms/...jpg` |\n| `backgroundPicture` | string | yes | Background image URL | `https://media.licdn.com/dms/...jpg` |\n| `followerCount` | integer | yes | Follower count | `10370544` |\n| `openToWork` | boolean | yes | Open-to-work flag | `true` |\n| `openToHiring` | boolean | yes | Open-to-hiring flag | `false` |\n| `disambiguatingDescription` | string | yes | Platform subtitle | `Creator, Top Voice` |\n| `positions` | array | yes | Work history objects | see below |\n| `education` | array | yes | Education entries | `[]` |\n| `certifications` | array | yes | Certification entries | `[]` |\n| `skills` | array | yes | Skill objects with `name` | `[{\"name\":\"Leadership\"}]` |\n| `activities` | array | yes | Recent post objects (`postUrl`, `text`, `likes`) | `[{\"postUrl\":\"...\",\"text\":\"...\"}]` |\n| `articles` | array | yes | Article objects (`title`, `url`, `datePublished`, `likeCount`) | `[{\"title\":\"...\",\"url\":\"...\"}]` |\n| `recommendations` | array | yes | Recommendation objects (`author`, `text`) | `[{\"author\":\"...\",\"text\":\"...\"}]` |\n| `volunteer`, `projects`, `languages`, `honors`, `publications`, `courses`, `testScores`, `patents`, `organizations`, `causes` | array | yes | Other public sections | `[]` |\n\nEach `positions` element typically contains `title`, `company`, `companyUrl`, `companyLogo`, `location`, `startDate`, `endDate`, and `duration`.\n\n## Example dataset record\n\n```json\n{\n  \"url\": \"https://www.linkedin.com/in/jeffweiner08\",\n  \"name\": \"Jeff Weiner\",\n  \"firstName\": \"Jeff\",\n  \"lastName\": \"Weiner\",\n  \"headline\": \"Founding Partner · Founding LP, Investment Committee · Co-Founder\",\n  \"location\": \"United States\",\n  \"profileId\": \"22330283\",\n  \"followerCount\": 10370544,\n  \"openToWork\": true,\n  \"openToHiring\": false,\n  \"positions\": [\n    {\n      \"title\": \"Founding Partner\",\n      \"company\": \"Next Play Ventures\",\n      \"companyUrl\": \"https://www.linkedin.com/company/next-play-ventures\",\n      \"location\": \"San Francisco Bay Area\",\n      \"startDate\": \"2020-07\",\n      \"duration\": \"6 years\"\n    }\n  ],\n  \"education\": [],\n  \"certifications\": [],\n  \"skills\": [\n    {\"name\": \"Leadership\"},\n    {\"name\": \"Entrepreneurship\"}\n  ]\n}\n```\n\nThe record above was produced by a run with `profiles: [\"jeffweiner08\"]`.\n\n## Query and input reference\n\n| Input | Type | Required | Default | Accepted values | Description |\n|---|---:|---|---|---|---|\n| `profiles` | array | yes | — | usernames or full URLs | List of profiles to scrape |\n| `concurrency` | integer | no | `3` | 1–10 | Number of profiles scraped in parallel |\n| `proxyConfiguration` | object | no | residential proxy | proxy settings | Residential proxies are used by default |\n\nMinimal request:\n\n```json\n{\n  \"profiles\": [\"jeffweiner08\"],\n  \"proxyConfiguration\": {\n    \"useApifyProxy\": true,\n    \"apifyProxyGroups\": [\"RESIDENTIAL\"]\n  }\n}\n```\n\nAdvanced request (multiple profiles, higher parallelism):\n\n```json\n{\n  \"profiles\": [\n    \"jeffweiner08\",\n    \"https://www.linkedin.com/in/faizanaliii\"\n  ],\n  \"concurrency\": 5,\n  \"proxyConfiguration\": {\n    \"useApifyProxy\": true,\n    \"apifyProxyGroups\": [\"RESIDENTIAL\"]\n  }\n}\n```\n\n## Retrieve the data through the API\n\n1. Start the Actor with a JSON input (see above).\n2. Wait for the run to finish.\n3. Retrieve items from the run's default dataset.\n4. Paginate or export the dataset.\n\nPython example:\n\n```python\nimport json\nimport urllib.request\n\nAPI_TOKEN = \"<your Apify API token>\"\nACTOR_ID = \"datascrapers/linkedin-profile-scraper\"\n\npayload = {\n    \"profiles\": [\"jeffweiner08\"],\n    \"concurrency\": 3,\n    \"proxyConfiguration\": {\"useApifyProxy\": True, \"apifyProxyGroups\": [\"RESIDENTIAL\"]},\n}\n\nreq = urllib.request.Request(\n    f\"https://api.apify.com/v2/acts/{ACTOR_ID}/runs?token={API_TOKEN}\",\n    data=json.dumps(payload).encode(),\n    headers={\"Content-Type\": \"application/json\"},\n)\nwith urllib.request.urlopen(req) as resp:\n    run = json.loads(resp.read())[\"data\"]\n\ndataset_id = run[\"defaultDatasetId\"]\nwith urllib.request.urlopen(\n    f\"https://api.apify.com/v2/datasets/{dataset_id}/items?token={API_TOKEN}\"\n) as resp:\n    items = json.loads(resp.read())\n```\n\nFor other languages, use the generated API tab on the Actor's page.\n\n## Data quality and record handling\n\n- **Public data only** — the Actor reads the public profile view; authenticated-only or private content is not collected.\n- **Nullable/empty sections** — `education`, `certifications`, `skills`, `volunteer`, and other sections are empty arrays when a profile does not expose them.\n- **Raw HTML** — `about` may contain `<br>` and other HTML tags; strip them if you need plain text.\n- **Deduplication** — `profileId` is the stable, recommended unique key; `url` is also unique.\n- **Retries and errors** — profiles that fail to load are retried; a profile that cannot be reached is skipped.\n- **Dates** — `startDate`/`endDate` follow LinkedIn's own formatting (`YYYY-MM`, `Mon YYYY`, or `YYYY`), so formats vary.\n\nThe Actor reflects the public profile at run time and does not retain historical snapshots.\n\n## Export and pipeline examples\n\n| Destination | Recommended method | Typical use |\n|---|---|---|\n| PostgreSQL/Supabase | Dataset API or webhook consumer | Contact/profile store keyed by `profileId` |\n| Google Sheets | Apify integration | Review a short list of profiles |\n| S3/cloud storage | Scheduled export or integration | Periodic profile snapshots |\n| CRM | Dataset API or integration | Lead enrichment from public profiles |\n\n## Pricing and cost examples\n\nThe Actor uses pay-per-event billing. One charge event applies:\n\n- **`profile-scraped`** — $3.00 per 1,000 profiles returned.\n\n| Records | Estimated base cost |\n|---:|---:|\n| 1,000 profiles | $3.00 |\n| 10,000 profiles | $30.00 |\n| 100,000 profiles | $300.00 |\n\nEstimates assume the free-tier rate and no proxy markup; actual cost depends on your Apify plan and selected options.\n\n## Limitations and responsible data use\n\n- The Actor collects publicly accessible profile data only; it does not bypass login or paywalls.\n- Results depend on LinkedIn's current page structure; site changes can require Actor updates.\n- Some sections are conditional or empty (see Data dictionary).\n- The Actor does not retain historical snapshots unless you store them yourself.\n- You are responsible for complying with LinkedIn's terms of service and applicable privacy, contractual, and data-protection obligations.\n\n## Dataset questions\n\n### What does one dataset item represent?\n\nOne public LinkedIn profile with its work history, education, skills, and other public sections.\n\n### Which field should I use as a unique identifier?\n\n`profileId`. `url` is also unique per profile.\n\n### Are fields nullable or conditional?\n\nYes. Many sections (education, certifications, skills) are empty arrays when a profile does not expose them; individual fields may be null.\n\n### Can I retrieve the records as CSV or JSON?\n\nYes. The default dataset supports JSON, CSV, Excel, and XML exports, and the Dataset API returns JSON.\n\n### How do I paginate large datasets?\n\nThe Actor accepts a list of profiles; split large lists into multiple runs, or paginate the default dataset via the Dataset API.\n\n### What counts as a billable result?\n\nEach profile successfully returned counts as one `profile-scraped` event.\n\n## Related datasets from Data Scrapers\n\n- **[LinkedIn Company Scraper](https://apify.com/datascrapers/linkedin-company-scraper)** — company-level data that joins with profiles by employer name.\n- **[Instagram Post Scraper](https://apify.com/datascrapers/instagram-post-scraper)** — social posts for cross-platform identity and brand analysis.\n- **[Instagram Comment Scraper](https://apify.com/datascrapers/my-actor-1)** — engagement data that complements profile-level research.\n- **[Clutch.co Company Scraper](https://apify.com/datascrapers/clutch-scraper)** — company ratings and reviews for B2B lead enrichment.\n\n## Data Scrapers support\n\nNeed an additional field, record type, or export workflow? Contact Data Scrapers at stardustspotlight@gmail.com. Include a sample source URL, required fields, expected record volume, and preferred delivery format.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "linkedin-profile-scraper",
      "title": "LinkedIn Profile Scraper - Extract Public Profile Data",
      "description": "Scrape public LinkedIn profiles by username or URL. Extract experience, education, certifications, skills, articles, about section, activity, and more. Pay-per-event pricing at $3/1000 profiles.",
      "version": "0.0",
      "buildTag": "latest",
      "meta": {
        "templateId": "data-scrapers/linkedin-profile-scraper",
        "generatedBy": "Data Scrapers"
      },
      "input": {
        "title": "LinkedIn Profile Scraper Input",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "profiles": {
            "title": "Profile URLs or Usernames",
            "type": "array",
            "description": "List of LinkedIn profile usernames or full profile URLs to scrape (e.g. \"jeffweiner08\" or \"https://www.linkedin.com/in/jeffweiner08\")",
            "editor": "json",
            "prefill": [
              "jeffweiner08"
            ]
          },
          "concurrency": {
            "title": "Concurrency",
            "type": "integer",
            "description": "Number of profiles to scrape in parallel. Lower values are safer, higher values are faster.",
            "default": 3,
            "minimum": 1,
            "maximum": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings for anti-bot protection. Apify Residential proxies are used by default. Override with custom proxyUrls for local testing.",
            "editor": "proxy",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        },
        "required": [
          "profiles"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "LinkedIn Profile Scraper Output",
        "description": "Output from the LinkedIn Profile Scraper - each item is a complete profile with experience, education, certifications, skills, and more.",
        "properties": {
          "dataset": {
            "type": "string",
            "title": "Dataset",
            "description": "Link to the default dataset containing all scraped profiles",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          },
          "run": {
            "type": "string",
            "title": "Run URL",
            "description": "Link to the run in Apify Console",
            "template": "{{links.publicRunUrl}}"
          }
        }
      },
      "dockerfile": "../Dockerfile",
      "minMemoryMbytes": 256,
      "maxMemoryMbytes": 4096,
      "memory": 4096,
      "timeout": 3600,
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Overview",
              "transformation": {
                "fields": [
                  "profilePicture",
                  "url",
                  "name",
                  "headline",
                  "disambiguatingDescription",
                  "location",
                  "followerCount",
                  "connectionCount",
                  "about",
                  "positions",
                  "education",
                  "skills",
                  "certifications",
                  "articles",
                  "activities",
                  "recommendations",
                  "volunteer",
                  "languages",
                  "honors",
                  "projects",
                  "publications",
                  "courses"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "profilePicture": {
                    "format": "image",
                    "label": "Profile Picture"
                  },
                  "url": {
                    "format": "link",
                    "label": "Profile URL"
                  },
                  "name": {
                    "format": "text",
                    "label": "Name"
                  },
                  "headline": {
                    "format": "text",
                    "label": "Headline"
                  },
                  "disambiguatingDescription": {
                    "format": "text",
                    "label": "Subtitle"
                  },
                  "location": {
                    "format": "text",
                    "label": "Location"
                  },
                  "followerCount": {
                    "format": "number",
                    "label": "Followers"
                  },
                  "connectionCount": {
                    "format": "number",
                    "label": "Connections"
                  },
                  "about": {
                    "format": "text",
                    "label": "About"
                  },
                  "positions": {
                    "format": "array",
                    "label": "Experience"
                  },
                  "education": {
                    "format": "array",
                    "label": "Education"
                  },
                  "skills": {
                    "format": "array",
                    "label": "Skills"
                  },
                  "certifications": {
                    "format": "array",
                    "label": "Certifications"
                  },
                  "articles": {
                    "format": "array",
                    "label": "Articles"
                  },
                  "activities": {
                    "format": "array",
                    "label": "Activity"
                  },
                  "recommendations": {
                    "format": "array",
                    "label": "Recommendations"
                  },
                  "volunteer": {
                    "format": "array",
                    "label": "Volunteer"
                  },
                  "languages": {
                    "format": "array",
                    "label": "Languages"
                  },
                  "honors": {
                    "format": "array",
                    "label": "Honors"
                  },
                  "projects": {
                    "format": "array",
                    "label": "Projects"
                  },
                  "publications": {
                    "format": "array",
                    "label": "Publications"
                  },
                  "courses": {
                    "format": "array",
                    "label": "Courses"
                  }
                }
              }
            }
          }
        }
      },
      "readme": "**LinkedIn Profile Scraper** creates a structured dataset of public LinkedIn profiles. Each dataset item can include the profile URL, name, headline, about summary, location, follower count, profile and background image URLs, work positions, education, certifications, skills, recent activity, and articles. Query the source using a list of profile URLs or usernames, control parallelism with `concurrency`, and retrieve records through the Apify Dataset API or export them as JSON, CSV, Excel, XML, or another supported format.\n\n## Dataset at a glance\n\n| Property | Value |\n|---|---|\n| Source | LinkedIn public profiles (linkedin.com/in/...) |\n| Record unit | One public profile |\n| Input methods | `profiles` (list of usernames or URLs) |\n| Main identifiers | `profileId`, `url` |\n| Delivery | Apify Dataset and API |\n| Export formats | JSON, CSV, Excel, XML, HTML |\n| Update model | Fresh records per Actor run |\n| Pricing | $3.00 per 1,000 profiles |\n\n## Coverage and available records\n\nThe Actor scrapes public LinkedIn profiles by username or full URL. Supported behavior:\n\n- **Profile inputs** — `profiles` accepts usernames (`\"jeffweiner08\"`) or full URLs (`\"https://www.linkedin.com/in/jeffweiner08\"`).\n- **Parallelism** — `concurrency` (1–10, default 3) controls how many profiles are scraped in parallel.\n- **Public data only** — the Actor reads the public profile view; it does not authenticate or bypass login walls.\n\nRecords include work history (`positions`), education, certifications, skills, recent activities, articles, recommendations, and other public sections. Some sections may be empty for private or lightly-populated profiles.\n\nNot currently collected: full connection lists, private-members-only content, and profiles that require authentication to view.\n\n## Data dictionary\n\n| Field | Type | Nullable | Description | Example |\n|---|---:|---|---|---|\n| `url` | string | no | Profile URL; unique per profile | `https://www.linkedin.com/in/jeffweiner08` |\n| `name` | string | yes | Full display name | `Jeff Weiner` |\n| `firstName` | string | yes | First name | `Jeff` |\n| `lastName` | string | yes | Last name | `Weiner` |\n| `headline` | string | yes | Profile headline | `Founding Partner · Founding LP...` |\n| `about` | string | yes | About/summary text (may contain HTML) | `For much of the last three decades...` |\n| `location` | string | yes | Display location | `United States` |\n| `profileId` | string | yes | LinkedIn profile identifier; recommended deduplication key | `22330283` |\n| `profilePicture` | string | yes | Profile photo URL | `https://media.licdn.com/dms/...jpg` |\n| `backgroundPicture` | string | yes | Background image URL | `https://media.licdn.com/dms/...jpg` |\n| `followerCount` | integer | yes | Follower count | `10370544` |\n| `openToWork` | boolean | yes | Open-to-work flag | `true` |\n| `openToHiring` | boolean | yes | Open-to-hiring flag | `false` |\n| `disambiguatingDescription` | string | yes | Platform subtitle | `Creator, Top Voice` |\n| `positions` | array | yes | Work history objects | see below |\n| `education` | array | yes | Education entries | `[]` |\n| `certifications` | array | yes | Certification entries | `[]` |\n| `skills` | array | yes | Skill objects with `name` | `[{\"name\":\"Leadership\"}]` |\n| `activities` | array | yes | Recent post objects (`postUrl`, `text`, `likes`) | `[{\"postUrl\":\"...\",\"text\":\"...\"}]` |\n| `articles` | array | yes | Article objects (`title`, `url`, `datePublished`, `likeCount`) | `[{\"title\":\"...\",\"url\":\"...\"}]` |\n| `recommendations` | array | yes | Recommendation objects (`author`, `text`) | `[{\"author\":\"...\",\"text\":\"...\"}]` |\n| `volunteer`, `projects`, `languages`, `honors`, `publications`, `courses`, `testScores`, `patents`, `organizations`, `causes` | array | yes | Other public sections | `[]` |\n\nEach `positions` element typically contains `title`, `company`, `companyUrl`, `companyLogo`, `location`, `startDate`, `endDate`, and `duration`.\n\n## Example dataset record\n\n```json\n{\n  \"url\": \"https://www.linkedin.com/in/jeffweiner08\",\n  \"name\": \"Jeff Weiner\",\n  \"firstName\": \"Jeff\",\n  \"lastName\": \"Weiner\",\n  \"headline\": \"Founding Partner · Founding LP, Investment Committee · Co-Founder\",\n  \"location\": \"United States\",\n  \"profileId\": \"22330283\",\n  \"followerCount\": 10370544,\n  \"openToWork\": true,\n  \"openToHiring\": false,\n  \"positions\": [\n    {\n      \"title\": \"Founding Partner\",\n      \"company\": \"Next Play Ventures\",\n      \"companyUrl\": \"https://www.linkedin.com/company/next-play-ventures\",\n      \"location\": \"San Francisco Bay Area\",\n      \"startDate\": \"2020-07\",\n      \"duration\": \"6 years\"\n    }\n  ],\n  \"education\": [],\n  \"certifications\": [],\n  \"skills\": [\n    {\"name\": \"Leadership\"},\n    {\"name\": \"Entrepreneurship\"}\n  ]\n}\n```\n\nThe record above was produced by a run with `profiles: [\"jeffweiner08\"]`.\n\n## Query and input reference\n\n| Input | Type | Required | Default | Accepted values | Description |\n|---|---:|---|---|---|---|\n| `profiles` | array | yes | — | usernames or full URLs | List of profiles to scrape |\n| `concurrency` | integer | no | `3` | 1–10 | Number of profiles scraped in parallel |\n| `proxyConfiguration` | object | no | residential proxy | proxy settings | Residential proxies are used by default |\n\nMinimal request:\n\n```json\n{\n  \"profiles\": [\"jeffweiner08\"],\n  \"proxyConfiguration\": {\n    \"useApifyProxy\": true,\n    \"apifyProxyGroups\": [\"RESIDENTIAL\"]\n  }\n}\n```\n\nAdvanced request (multiple profiles, higher parallelism):\n\n```json\n{\n  \"profiles\": [\n    \"jeffweiner08\",\n    \"https://www.linkedin.com/in/faizanaliii\"\n  ],\n  \"concurrency\": 5,\n  \"proxyConfiguration\": {\n    \"useApifyProxy\": true,\n    \"apifyProxyGroups\": [\"RESIDENTIAL\"]\n  }\n}\n```\n\n## Retrieve the data through the API\n\n1. Start the Actor with a JSON input (see above).\n2. Wait for the run to finish.\n3. Retrieve items from the run's default dataset.\n4. Paginate or export the dataset.\n\nPython example:\n\n```python\nimport json\nimport urllib.request\n\nAPI_TOKEN = \"<your Apify API token>\"\nACTOR_ID = \"datascrapers/linkedin-profile-scraper\"\n\npayload = {\n    \"profiles\": [\"jeffweiner08\"],\n    \"concurrency\": 3,\n    \"proxyConfiguration\": {\"useApifyProxy\": True, \"apifyProxyGroups\": [\"RESIDENTIAL\"]},\n}\n\nreq = urllib.request.Request(\n    f\"https://api.apify.com/v2/acts/{ACTOR_ID}/runs?token={API_TOKEN}\",\n    data=json.dumps(payload).encode(),\n    headers={\"Content-Type\": \"application/json\"},\n)\nwith urllib.request.urlopen(req) as resp:\n    run = json.loads(resp.read())[\"data\"]\n\ndataset_id = run[\"defaultDatasetId\"]\nwith urllib.request.urlopen(\n    f\"https://api.apify.com/v2/datasets/{dataset_id}/items?token={API_TOKEN}\"\n) as resp:\n    items = json.loads(resp.read())\n```\n\nFor other languages, use the generated API tab on the Actor's page.\n\n## Data quality and record handling\n\n- **Public data only** — the Actor reads the public profile view; authenticated-only or private content is not collected.\n- **Nullable/empty sections** — `education`, `certifications`, `skills`, `volunteer`, and other sections are empty arrays when a profile does not expose them.\n- **Raw HTML** — `about` may contain `<br>` and other HTML tags; strip them if you need plain text.\n- **Deduplication** — `profileId` is the stable, recommended unique key; `url` is also unique.\n- **Retries and errors** — profiles that fail to load are retried; a profile that cannot be reached is skipped.\n- **Dates** — `startDate`/`endDate` follow LinkedIn's own formatting (`YYYY-MM`, `Mon YYYY`, or `YYYY`), so formats vary.\n\nThe Actor reflects the public profile at run time and does not retain historical snapshots.\n\n## Export and pipeline examples\n\n| Destination | Recommended method | Typical use |\n|---|---|---|\n| PostgreSQL/Supabase | Dataset API or webhook consumer | Contact/profile store keyed by `profileId` |\n| Google Sheets | Apify integration | Review a short list of profiles |\n| S3/cloud storage | Scheduled export or integration | Periodic profile snapshots |\n| CRM | Dataset API or integration | Lead enrichment from public profiles |\n\n## Pricing and cost examples\n\nThe Actor uses pay-per-event billing. One charge event applies:\n\n- **`profile-scraped`** — $3.00 per 1,000 profiles returned.\n\n| Records | Estimated base cost |\n|---:|---:|\n| 1,000 profiles | $3.00 |\n| 10,000 profiles | $30.00 |\n| 100,000 profiles | $300.00 |\n\nEstimates assume the free-tier rate and no proxy markup; actual cost depends on your Apify plan and selected options.\n\n## Limitations and responsible data use\n\n- The Actor collects publicly accessible profile data only; it does not bypass login or paywalls.\n- Results depend on LinkedIn's current page structure; site changes can require Actor updates.\n- Some sections are conditional or empty (see Data dictionary).\n- The Actor does not retain historical snapshots unless you store them yourself.\n- You are responsible for complying with LinkedIn's terms of service and applicable privacy, contractual, and data-protection obligations.\n\n## Dataset questions\n\n### What does one dataset item represent?\n\nOne public LinkedIn profile with its work history, education, skills, and other public sections.\n\n### Which field should I use as a unique identifier?\n\n`profileId`. `url` is also unique per profile.\n\n### Are fields nullable or conditional?\n\nYes. Many sections (education, certifications, skills) are empty arrays when a profile does not expose them; individual fields may be null.\n\n### Can I retrieve the records as CSV or JSON?\n\nYes. The default dataset supports JSON, CSV, Excel, and XML exports, and the Dataset API returns JSON.\n\n### How do I paginate large datasets?\n\nThe Actor accepts a list of profiles; split large lists into multiple runs, or paginate the default dataset via the Dataset API.\n\n### What counts as a billable result?\n\nEach profile successfully returned counts as one `profile-scraped` event.\n\n## Related datasets from Data Scrapers\n\n- **[LinkedIn Company Scraper](https://apify.com/datascrapers/linkedin-company-scraper)** — company-level data that joins with profiles by employer name.\n- **[Instagram Post Scraper](https://apify.com/datascrapers/instagram-post-scraper)** — social posts for cross-platform identity and brand analysis.\n- **[Instagram Comment Scraper](https://apify.com/datascrapers/my-actor-1)** — engagement data that complements profile-level research.\n- **[Clutch.co Company Scraper](https://apify.com/datascrapers/clutch-scraper)** — company ratings and reviews for B2B lead enrichment.\n\n## Data Scrapers support\n\nNeed an additional field, record type, or export workflow? Contact Data Scrapers at stardustspotlight@gmail.com. Include a sample source URL, required fields, expected record volume, and preferred delivery format.\n"
    },
    "buildNumber": "0.0.6",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "0.0"
    }
  }
}