{
  "data": {
    "id": "7omA0cxi9Dw5njIEk",
    "actId": "BLvaP8deI7uD5shHk",
    "userId": "lYFTyXdtC0euTyCF3",
    "startedAt": "2025-11-23T07:23:04.113Z",
    "finishedAt": "2025-11-23T07:23:15.631Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "WEB"
    },
    "inputSchema": "{\n  \"title\": \"LinkedIn Profile Scraper Input\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"action\": {\n      \"title\": \"Action\",\n      \"type\": \"string\",\n      \"description\": \"Choose whether to generate a snapshot ID or fetch data\",\n      \"enum\": [\n        \"generate_snap_id\",\n        \"fetch_data\"\n      ],\n      \"enumTitles\": [\n        \"Generate Snapshot ID\",\n        \"Fetch Data\"\n      ],\n      \"default\": \"generate_snap_id\",\n      \"editor\": \"select\",\n      \"prefill\": \"generate_snap_id\"\n    },\n    \"snap_id\": {\n      \"title\": \"Snapshot ID\",\n      \"type\": \"string\",\n      \"description\": \"Snapshot ID to fetch data (required only for fetch_data action). ⚠️ IMPORTANT: Wait at least 30 seconds after generating snap_id before fetching data.\",\n      \"editor\": \"textfield\",\n      \"example\": \"linkedIn_profile_s_abc123xyz\",\n      \"prefill\": \"\"\n    },\n    \"urls\": {\n      \"title\": \"LinkedIn Profile URLs\",\n      \"type\": \"string\",\n      \"description\": \"Enter LinkedIn profile URLs, ONE URL PER LINE. You can add as many URLs as you want.\",\n      \"editor\": \"textarea\",\n      \"example\": \"https://www.linkedin.com/in/williamhgates/\\nhttps://www.linkedin.com/in/satyanadella/\\nhttps://www.linkedin.com/in/jeffweiner08/\",\n      \"prefill\": \"https://www.linkedin.com/in/williamhgates/\"\n    }\n  },\n  \"required\": [\n    \"action\"\n  ]\n}",
    "readme": "# LinkedIn Profile Scraper\n\nExtract detailed information from LinkedIn profiles quickly and easily. Get comprehensive data including work experience, education, connections, and more.\n\n## Features\n\n- ✅ Scrape multiple LinkedIn profiles at once\n- ✅ Extract complete profile information\n- ✅ Get work experience and education history\n- ✅ Retrieve connection and follower counts\n- ✅ Export data in JSON format\n- ✅ Fast and reliable processing\n\n## How It Works\n\nThis actor uses a **two-step process**:\n\n1. **Generate Snapshot ID**: Submit LinkedIn profile URLs to start the scraping process\n2. **Fetch Data**: After 30 seconds, retrieve your scraped data using the snapshot ID\n\n**Why two steps?** This approach ensures reliable data collection and prevents timeouts for large scraping jobs.\n\n## Input\n\n### Required Fields\n\n- **Action** (required): Choose between:\n  - `generate_snap_id` - Start a new scraping job\n  - `fetch_data` - Retrieve results from a completed job\n\n### For \"Generate Snapshot ID\" Action\n\n- **LinkedIn Profile URLs** (required): Enter LinkedIn profile URLs, one per line\n\n### For \"Fetch Data\" Action\n\n- **Snapshot ID** (required): The ID you received from the generate step\n\n## Input Examples\n\n### Step 1: Start Scraping\n```json\n{\n  \"action\": \"generate_snap_id\",\n  \"urls\": \"https://www.linkedin.com/in/williamhgates/\\nhttps://www.linkedin.com/in/satyanadella/\\nhttps://www.linkedin.com/in/jeffweiner08/\"\n}\n```\n\n**Result**: You'll receive a snapshot ID like `linkedIn_profile_s_abc123xyz`\n\n### Step 2: Get Your Data (Wait 30 seconds first!)\n```json\n{\n  \"action\": \"fetch_data\",\n  \"snap_id\": \"linkedIn_profile_s_abc123xyz\"\n}\n```\n\n## Output\n\n### Data Fields Extracted\n\n- Full Name\n- Current Position & Company\n- Location (City, Country)\n- Professional Summary\n- Complete Work Experience\n- Education History\n- Skills\n- Number of Connections\n- Number of Followers\n- Profile URL\n- Profile Picture\n\n### Example Output\n```json\n{\n  \"name\": \"Bill Gates\",\n  \"city\": \"Seattle\",\n  \"country_code\": \"us\",\n  \"about\": \"Co-chair of the Bill & Melinda Gates Foundation. Founder of Breakthrough Energy...\",\n  \"current_company\": {\n    \"name\": \"Bill & Melinda Gates Foundation\",\n    \"location\": \"Seattle, WA\",\n    \"link\": \"https://www.linkedin.com/company/bill-&-melinda-gates-foundation\"\n  },\n  \"experience\": [\n    {\n      \"title\": \"Co-chair\",\n      \"company\": \"Bill & Melinda Gates Foundation\",\n      \"duration\": \"2000 - Present\",\n      \"location\": \"Seattle, Washington\"\n    }\n  ],\n  \"education\": [\n    {\n      \"school\": \"Harvard University\",\n      \"degree\": \"Attended\",\n      \"field_of_study\": \"Computer Science\",\n      \"dates\": \"1973 - 1975\"\n    }\n  ],\n  \"followers\": 35720000,\n  \"connections\": \"500+\",\n  \"url\": \"https://www.linkedin.com/in/williamhgates/\",\n  \"avatar\": \"https://media.licdn.com/dms/image/...\"\n}\n```\n\n## Important: Wait Time\n\n⚠️ **You must wait at least 30 seconds between steps 1 and 2**\n\nThe scraping process needs time to gather all the data. If you try to fetch data too soon, you may get an error or incomplete results.\n\n**Pro tip**: Set a timer for 30 seconds after receiving your snapshot ID!\n\n## Step-by-Step Guide\n\n1. **Prepare Your URLs**\n   - Collect the LinkedIn profile URLs you want to scrape\n   - Make sure they're complete URLs (starting with https://)\n\n2. **Start the Job**\n   - Set Action to \"Generate Snapshot ID\"\n   - Paste your URLs (one per line)\n   - Click Run\n   - **Copy the snapshot ID from the results**\n\n3. **Wait**\n   - Set a timer for 30 seconds\n   - Grab a coffee ☕\n\n4. **Get Your Data**\n   - Set Action to \"Fetch Data\"\n   - Paste the snapshot ID you copied\n   - Click Run\n   - Your data will appear in the dataset!\n\n## Tips & Best Practices\n\n### URL Format\n✅ **Correct**: `https://www.linkedin.com/in/username/`\n❌ **Incorrect**: `linkedin.com/in/username` (missing https://)\n❌ **Incorrect**: `https://www.linkedin.com/in/username/details/experience/` (too specific)\n\n### Batch Processing\n- You can scrape up to 100 profiles at once\n- Each URL should be on a new line\n- No commas or separators needed\n\n### Error Handling\nIf data fetching fails:\n1. Wait another 30 seconds\n2. Try fetching again with the same snapshot ID\n3. Check that your snapshot ID is complete and correct\n\n## Use Cases\n\n- **Recruitment**: Research candidates and their backgrounds\n- **Sales Prospecting**: Gather information about potential leads\n- **Market Research**: Analyze professionals in specific industries\n- **Networking**: Research people before connecting\n- **Competitive Analysis**: Study profiles of competitors' employees\n\n## Pricing & Limits\n\n- Charged per profile scraped\n- No limit on number of profiles per run\n- Snapshot IDs are valid for 24 hours\n- Data is available in your dataset for 7 days\n\n## Common Questions\n\n**Q: How long does the snapshot ID remain valid?**\nA: 24 hours. After that, you'll need to generate a new one.\n\n**Q: Can I scrape profiles from different countries?**\nA: Yes, any public LinkedIn profile worldwide.\n\n**Q: What if a profile is private?**\nA: Only publicly visible information will be extracted. Private profiles may return limited data.\n\n**Q: Can I use the same snapshot ID multiple times?**\nA: Yes! You can fetch data multiple times with the same snapshot ID within 24 hours.\n\n**Q: What happens if I don't wait 30 seconds?**\nA: You may receive an error or incomplete data. Always wait at least 30 seconds.\n\n## Data Format\n\nAll data is returned in JSON format and automatically saved to your Apify dataset. You can export it as:\n- JSON\n- CSV\n- Excel\n- XML\n- RSS\n\n## Support\n\nHaving issues? Here's how to get help:\n\n1. **Check the Logs**: The run logs contain detailed error messages\n2. **Common Issues**: \n   - \"Invalid snapshot ID\" → Check you copied the full ID\n   - \"Data not ready\" → Wait longer before fetching\n   - \"Invalid URL\" → Verify your LinkedIn URLs are correct\n3. **Contact Support**: Reach out through Apify support for assistance\n\n## Privacy & Legal\n\n- This actor only accesses publicly available information\n- Respect LinkedIn's Terms of Service\n- Use scraped data responsibly and in compliance with applicable laws\n- Do not use for spam or unauthorized purposes\n\n## Updates & Changelog\n\nWe regularly update this actor to ensure compatibility with LinkedIn's structure. Check back for improvements and new features!\n\n---\n\n**Happy Scraping! 🚀**",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "my-actor",
      "title": "Getting started with Python Crawlee and BeautifulSoup",
      "description": "Scrapes titles of websites using Crawlee and BeautifulSoup.",
      "version": "0.0",
      "buildTag": "latest",
      "meta": {
        "templateId": "python-crawlee-beautifulsoup",
        "generatedBy": "<FILL-IN-MODEL>"
      },
      "input": {
        "title": "LinkedIn Profile Scraper Input",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "action": {
            "title": "Action",
            "type": "string",
            "description": "Choose whether to generate a snapshot ID or fetch data",
            "enum": [
              "generate_snap_id",
              "fetch_data"
            ],
            "enumTitles": [
              "Generate Snapshot ID",
              "Fetch Data"
            ],
            "default": "generate_snap_id",
            "editor": "select",
            "prefill": "generate_snap_id"
          },
          "snap_id": {
            "title": "Snapshot ID",
            "type": "string",
            "description": "Snapshot ID to fetch data (required only for fetch_data action). ⚠️ IMPORTANT: Wait at least 30 seconds after generating snap_id before fetching data.",
            "editor": "textfield",
            "example": "linkedIn_profile_s_abc123xyz",
            "prefill": ""
          },
          "urls": {
            "title": "LinkedIn Profile URLs",
            "type": "string",
            "description": "Enter LinkedIn profile URLs, ONE URL PER LINE. You can add as many URLs as you want.",
            "editor": "textarea",
            "example": "https://www.linkedin.com/in/williamhgates/\nhttps://www.linkedin.com/in/satyanadella/\nhttps://www.linkedin.com/in/jeffweiner08/",
            "prefill": "https://www.linkedin.com/in/williamhgates/"
          }
        },
        "required": [
          "action"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Output schema of the files scraper",
        "properties": {
          "overview": {
            "type": "string",
            "title": "Overview",
            "template": "{{links.apiDefaultDatasetUrl}}/items?view=overview"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "fields": {},
          "views": {
            "overview": {
              "title": "Overview",
              "transformation": {
                "fields": [
                  "title",
                  "url",
                  "h1s",
                  "h2s",
                  "h3s"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "title": {
                    "label": "Title",
                    "format": "text"
                  },
                  "url": {
                    "label": "URL",
                    "format": "link"
                  },
                  "h1s": {
                    "label": "H1s",
                    "format": "array"
                  },
                  "h2s": {
                    "label": "H2s",
                    "format": "array"
                  },
                  "h3s": {
                    "label": "H3s",
                    "format": "array"
                  }
                }
              }
            }
          }
        }
      },
      "dockerfile": "../Dockerfile",
      "readme": "# LinkedIn Profile Scraper\n\nExtract detailed information from LinkedIn profiles quickly and easily. Get comprehensive data including work experience, education, connections, and more.\n\n## Features\n\n- ✅ Scrape multiple LinkedIn profiles at once\n- ✅ Extract complete profile information\n- ✅ Get work experience and education history\n- ✅ Retrieve connection and follower counts\n- ✅ Export data in JSON format\n- ✅ Fast and reliable processing\n\n## How It Works\n\nThis actor uses a **two-step process**:\n\n1. **Generate Snapshot ID**: Submit LinkedIn profile URLs to start the scraping process\n2. **Fetch Data**: After 30 seconds, retrieve your scraped data using the snapshot ID\n\n**Why two steps?** This approach ensures reliable data collection and prevents timeouts for large scraping jobs.\n\n## Input\n\n### Required Fields\n\n- **Action** (required): Choose between:\n  - `generate_snap_id` - Start a new scraping job\n  - `fetch_data` - Retrieve results from a completed job\n\n### For \"Generate Snapshot ID\" Action\n\n- **LinkedIn Profile URLs** (required): Enter LinkedIn profile URLs, one per line\n\n### For \"Fetch Data\" Action\n\n- **Snapshot ID** (required): The ID you received from the generate step\n\n## Input Examples\n\n### Step 1: Start Scraping\n```json\n{\n  \"action\": \"generate_snap_id\",\n  \"urls\": \"https://www.linkedin.com/in/williamhgates/\\nhttps://www.linkedin.com/in/satyanadella/\\nhttps://www.linkedin.com/in/jeffweiner08/\"\n}\n```\n\n**Result**: You'll receive a snapshot ID like `linkedIn_profile_s_abc123xyz`\n\n### Step 2: Get Your Data (Wait 30 seconds first!)\n```json\n{\n  \"action\": \"fetch_data\",\n  \"snap_id\": \"linkedIn_profile_s_abc123xyz\"\n}\n```\n\n## Output\n\n### Data Fields Extracted\n\n- Full Name\n- Current Position & Company\n- Location (City, Country)\n- Professional Summary\n- Complete Work Experience\n- Education History\n- Skills\n- Number of Connections\n- Number of Followers\n- Profile URL\n- Profile Picture\n\n### Example Output\n```json\n{\n  \"name\": \"Bill Gates\",\n  \"city\": \"Seattle\",\n  \"country_code\": \"us\",\n  \"about\": \"Co-chair of the Bill & Melinda Gates Foundation. Founder of Breakthrough Energy...\",\n  \"current_company\": {\n    \"name\": \"Bill & Melinda Gates Foundation\",\n    \"location\": \"Seattle, WA\",\n    \"link\": \"https://www.linkedin.com/company/bill-&-melinda-gates-foundation\"\n  },\n  \"experience\": [\n    {\n      \"title\": \"Co-chair\",\n      \"company\": \"Bill & Melinda Gates Foundation\",\n      \"duration\": \"2000 - Present\",\n      \"location\": \"Seattle, Washington\"\n    }\n  ],\n  \"education\": [\n    {\n      \"school\": \"Harvard University\",\n      \"degree\": \"Attended\",\n      \"field_of_study\": \"Computer Science\",\n      \"dates\": \"1973 - 1975\"\n    }\n  ],\n  \"followers\": 35720000,\n  \"connections\": \"500+\",\n  \"url\": \"https://www.linkedin.com/in/williamhgates/\",\n  \"avatar\": \"https://media.licdn.com/dms/image/...\"\n}\n```\n\n## Important: Wait Time\n\n⚠️ **You must wait at least 30 seconds between steps 1 and 2**\n\nThe scraping process needs time to gather all the data. If you try to fetch data too soon, you may get an error or incomplete results.\n\n**Pro tip**: Set a timer for 30 seconds after receiving your snapshot ID!\n\n## Step-by-Step Guide\n\n1. **Prepare Your URLs**\n   - Collect the LinkedIn profile URLs you want to scrape\n   - Make sure they're complete URLs (starting with https://)\n\n2. **Start the Job**\n   - Set Action to \"Generate Snapshot ID\"\n   - Paste your URLs (one per line)\n   - Click Run\n   - **Copy the snapshot ID from the results**\n\n3. **Wait**\n   - Set a timer for 30 seconds\n   - Grab a coffee ☕\n\n4. **Get Your Data**\n   - Set Action to \"Fetch Data\"\n   - Paste the snapshot ID you copied\n   - Click Run\n   - Your data will appear in the dataset!\n\n## Tips & Best Practices\n\n### URL Format\n✅ **Correct**: `https://www.linkedin.com/in/username/`\n❌ **Incorrect**: `linkedin.com/in/username` (missing https://)\n❌ **Incorrect**: `https://www.linkedin.com/in/username/details/experience/` (too specific)\n\n### Batch Processing\n- You can scrape up to 100 profiles at once\n- Each URL should be on a new line\n- No commas or separators needed\n\n### Error Handling\nIf data fetching fails:\n1. Wait another 30 seconds\n2. Try fetching again with the same snapshot ID\n3. Check that your snapshot ID is complete and correct\n\n## Use Cases\n\n- **Recruitment**: Research candidates and their backgrounds\n- **Sales Prospecting**: Gather information about potential leads\n- **Market Research**: Analyze professionals in specific industries\n- **Networking**: Research people before connecting\n- **Competitive Analysis**: Study profiles of competitors' employees\n\n## Pricing & Limits\n\n- Charged per profile scraped\n- No limit on number of profiles per run\n- Snapshot IDs are valid for 24 hours\n- Data is available in your dataset for 7 days\n\n## Common Questions\n\n**Q: How long does the snapshot ID remain valid?**\nA: 24 hours. After that, you'll need to generate a new one.\n\n**Q: Can I scrape profiles from different countries?**\nA: Yes, any public LinkedIn profile worldwide.\n\n**Q: What if a profile is private?**\nA: Only publicly visible information will be extracted. Private profiles may return limited data.\n\n**Q: Can I use the same snapshot ID multiple times?**\nA: Yes! You can fetch data multiple times with the same snapshot ID within 24 hours.\n\n**Q: What happens if I don't wait 30 seconds?**\nA: You may receive an error or incomplete data. Always wait at least 30 seconds.\n\n## Data Format\n\nAll data is returned in JSON format and automatically saved to your Apify dataset. You can export it as:\n- JSON\n- CSV\n- Excel\n- XML\n- RSS\n\n## Support\n\nHaving issues? Here's how to get help:\n\n1. **Check the Logs**: The run logs contain detailed error messages\n2. **Common Issues**: \n   - \"Invalid snapshot ID\" → Check you copied the full ID\n   - \"Data not ready\" → Wait longer before fetching\n   - \"Invalid URL\" → Verify your LinkedIn URLs are correct\n3. **Contact Support**: Reach out through Apify support for assistance\n\n## Privacy & Legal\n\n- This actor only accesses publicly available information\n- Respect LinkedIn's Terms of Service\n- Use scraped data responsibly and in compliance with applicable laws\n- Do not use for spam or unauthorized purposes\n\n## Updates & Changelog\n\nWe regularly update this actor to ensure compatibility with LinkedIn's structure. Check back for improvements and new features!\n\n---\n\n**Happy Scraping! 🚀**"
    },
    "buildNumber": "0.0.6",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "0.0"
    }
  }
}