# LinkedIn Profile Scraper (No Cookies) (`baseball/social-url-ap`) Actor

Extract detailed information from LinkedIn profiles in bulk, including complete work experience, education history, skills and more. No cookies or account required.

- **URL**: https://apify.com/baseball/social-url-ap.md
- **Developed by:** [Tools Email](https://apify.com/baseball) (community)
- **Categories:** Automation, Lead generation, Open source
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 linkedin profile scrapers

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🧠 LinkedIn profile scraper

Extract complete LinkedIn profile-level data from profile URLs including work experience, education, skills, recommendations, languages, and additional metadata. Designed for deep enrichment, recruiting intelligence, research, and advanced outreach workflows.

No login cookies required.

---

### 📌 Data Fields Included

| Field                   | Description                                                                      |
| ----------------------- | -------------------------------------------------------------------------------- |
| publicIdentifier        | Public LinkedIn profile username (profile slug)                                  |
| linkedInIdentifier      | Internal LinkedIn profile identifier                                             |
| memberIdentifier        | Unique LinkedIn member ID                                                        |
| linkedInUrl             | Direct LinkedIn profile URL                                                      |
| firstName               | Member first name                                                                |
| lastName                | Member last name                                                                 |
| headline                | Profile headline                                                                 |
| summary                 | About section description                                                        |
| location                | Profile location                                                                 |
| followerCount           | Total number of followers                                                        |
| premium                 | Indicates if the member has LinkedIn Premium                                     |
| is_open_profile         | Can receive messages without connection                                          |
| is_creator              | Creator mode enabled status                                                      |
| is_influencer           | Influencer badge status                                                          |
| is_self                 | Indicates whether profile belongs to logged-in user                              |
| is_relationship         | Relationship indicator between viewer and member                                 |
| websites                | Websites listed on the profile                                                   |
| connections_count       | Total number of connections                                                      |
| birthdate               | Birthdate (if available)                                                         |
| positions               | Full work experience history including company, title, duration, and description |
| schools                 | Education history including institutes, degrees, and fields of study             |
| skills                  | Skills listed on the profile with endorsements where available                   |
| languages               | Languages listed on the profile                                                  |
| recommendations         | Recommendations received or given on the profile                                 |
| volunteering_experience | Volunteer work and associated organizations                                      |
| photoUrl                | Profile image URL                                                                |
| backgroundUrl           | Cover image URL                                                                  |
| request_type            | Type of extraction request processed                                             |

---

### 📊 Sample Output

```json
{
    "publicIdentifier": "salman-ha***d-638****198",
    "linkedInIdentifier": "ACoAAC5u7Aw*****z1lWSxgaqWCG1uV3cRARQ",
    "memberIdentifier": "779021324",
    "linkedInUrl": "https://www.linkedin.com/in/salman-h****d-638****98",
    "firstName": "Salman",
    "lastName": "H****d",
    "headline": "Founder/CEO of Kainaat Studios, and Professor of Integrated Science & Humanities, Hampshire College, Massachusetts",
    "summary": "Salman H****d is the founder and CEO of the non-profit Kainaat Studios, that creates topical astronomy videos in Urdu for audiences in Pakistan (and broader South Asia). He is also Charles Taylor Chair and Professor of Integrated Science & Humanities at Hampshire College, Amherst, Massachusetts. He holds a Ph.D. in astronomy and is a member of the Five College Astronomy Department (FCAD), but his research is inter-disciplinary and it focuses on analyzing how science interacts with society. Science communication is still his primary focus: Salman has a YouTube Channel (Kainaat Astronomy) for Urdu videos and a weekly astronomy segment in English for a radio station (WRSI FM93.9) in Western Massachusetts. His writings have appeared in Dawn Magazine, Express Tribune, Science Magazine, NPR, and the Guardian.",
    "location": "Amherst, Massachusetts, United States",
    "followerCount": "1606",
    "premium": "FALSE",
    "is_open_profile": "FALSE",
    "is_creator": "FALSE",
    "is_influencer": "FALSE",
    "is_self": "FALSE",
    "is_relationship": "FALSE",
    "websites": "[\"https://www.kainaatstudios.com/salman-hameed\",\"https://www.youtube.com/KainaatAstronomyInUrdu\"]",
    "connections_count": "1440",
    "birthdate": "",
    "positions": "{\"positionsCount\": 3, \"positionHistory\": [{\"end\": null, \"start\": \"7/1/2005\", \"skills\": [], \"status\": \"Full-time\", \"company\": \"Hampshire College\", \"position\": \"Charles Taylor Chair and Professor of Integrated Science & Humanities\", \"company_id\": \"21340\", \"company_picture_url\": \"https://media.licdn.com/dms/image/v2/C4D0BAQFbLrZ0GjCa8Q/company-logo_200_200/company-logo_200_200/0/1631313355679?e=1780531200&v=beta&t=z9qIhdDdYfAogF7-bA7zMXfFhGy24nQu_O9O-ND37X4\", \"company_linkedin_url\": \"http://www.linkedin.com/school/hampshire-college\"}, {\"end\": null, \"start\": \"1/1/2019\", \"skills\": [], \"status\": \"Self-employed\", \"company\": \"Kainaat Studios\", \"location\": \"United States\", \"position\": \"President and CEO\", \"company_id\": \"72754179\", \"company_picture_url\": \"https://media.licdn.com/dms/image/v2/D4D0BAQHQwjPpkMadAw/company-logo_200_200/B4DZpBB8w3IkAI-/0/1762027622118/kainaat_logo?e=1780531200&v=beta&t=9V602KmM-PaCVwY7qvFjaKHCotbZdOGklky5LvFwVDw\", \"company_linkedin_url\": \"http://www.linkedin.com/company/kainaat\"}, {\"end\": null, \"start\": \"4/1/2019\", \"skills\": [], \"status\": \"Self-employed\", \"company\": \"Amherst Cinema Arts Center\", \"location\": \"United States\", \"position\": \"Board Of Directors\", \"company_id\": \"4026193\", \"company_picture_url\": \"https://media.licdn.com/dms/image/v2/C4D0BAQG4RE69Qa-Bfg/company-logo_200_200/company-logo_200_200/0/1630527737296/amherst_cinema_logo?e=1780531200&v=beta&t=ZkF_1z-pJJOjsIgXiCMZ1kYP1JnN0d3Bva4mnro9Dgc\", \"company_linkedin_url\": \"http://www.linkedin.com/company/amherst-cinema\"}]}",
    "schools": "{\"educationsCount\": 2, \"educationHistory\": [{\"end\": \"1/1/2001\", \"start\": \"1/1/1994\", \"degree\": \"Doctor of Philosophy - PhD, Astronomy\", \"school\": \"New Mexico State University\", \"school_id\": \"10188\", \"school_picture_url\": \"https://media.licdn.com/dms/image/v2/C4E0BAQGrCLDBTVSazw/company-logo_200_200/company-logo_200_200/0/1630620059876/new_mexico_state_university_logo?e=1780531200&v=beta&t=P6t0oSQxMHxI87C1eQ_Ib9YMtDA8ZPUo26mc5H6CuoQ\"}, {\"end\": \"1/1/1993\", \"start\": \"1/1/1989\", \"degree\": \"Bachelor of Science - BS, Physics and Astronomy\", \"school\": \"Stony Brook University\", \"school_id\": \"7201\", \"school_picture_url\": \"https://media.licdn.com/dms/image/v2/C4E0BAQHOeNb0KmKXYQ/company-logo_200_200/company-logo_200_200/0/1630647027307/stony_brook_university_logo?e=1780531200&v=beta&t=bCxt2h0qrNyv-2Chn2BCsGoYu8uHMYiOupRm4D4QvkQ\"}]}",
    "skills": "{\"Skills\": []}",
    "languages": "{\"Languages\": []}",
    "recommendations": "",
    "volunteering_experience": "{\"recommendationsCount\": 0, \"recommendationHistory\": []}",
    "photoUrl": "https://media.licdn.com/dms/image/v2/C4D03AQEmEDnuXjO3Rw/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1574796321477?e=1780531200&v=beta&t=QcVjTqICS9u-JKEQMmQWzf5Rjqoad-F_1u5zPHFi8PY",
    "backgroundUrl": "",
    "request_type": "Social Enrichment"
  }
````

***

### 💰 Pricing

LinkedIn Profile Complete Export is available on a pay-per-result basis:

**On the free Apify plan, the platform caps at 50 leads one time**

**$5.00 per 1,000 profiles → just $0.005 per profile**

***

### 📦 Estimated Delivery Time

| Volume               | Delivery Time   |
| -------------------- | --------------- |
| 1k – 50k profiles    | within 3 hours  |
| 50k – 100k profiles  | 3 – 6 hours     |
| 100k – 500k profiles | within 12 hours |

***

### 🗂️ How to Use

1. Create a free Apify account
2. Provide LinkedIn profile URLs as input
3. Run the actor
4. Download structured JSON, CSV, or Excel output

# Actor input Schema

## `fileName` (type: `string`):

Name of the Excel file to be uploaded.

## `linkedinUrls` (type: `array`):

Enter one or more LinkedIn profile URLs.

## Actor input object example

```json
{
  "fileName": "linkedin scraper",
  "linkedinUrls": [
    "https://www.linkedin.com/in/williamhgates"
  ]
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "linkedinUrls": [
        "https://www.linkedin.com/in/williamhgates"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("baseball/social-url-ap").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "linkedinUrls": ["https://www.linkedin.com/in/williamhgates"] }

# Run the Actor and wait for it to finish
run = client.actor("baseball/social-url-ap").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "linkedinUrls": [
    "https://www.linkedin.com/in/williamhgates"
  ]
}' |
apify call baseball/social-url-ap --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=baseball/social-url-ap",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "LinkedIn Profile Scraper (No Cookies)",
        "description": "Extract detailed information from LinkedIn profiles in bulk, including complete work experience, education history, skills and more. No cookies or account required.",
        "version": "0.0",
        "x-build-id": "s8wxRgrpQ2d3pzMyg"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/baseball~social-url-ap/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-baseball-social-url-ap",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/baseball~social-url-ap/runs": {
            "post": {
                "operationId": "runs-sync-baseball-social-url-ap",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/baseball~social-url-ap/run-sync": {
            "post": {
                "operationId": "run-sync-baseball-social-url-ap",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "fileName",
                    "linkedinUrls"
                ],
                "properties": {
                    "fileName": {
                        "title": "File Name",
                        "type": "string",
                        "description": "Name of the Excel file to be uploaded.",
                        "default": "linkedin scraper"
                    },
                    "linkedinUrls": {
                        "title": "LinkedIn Profile URLs",
                        "type": "array",
                        "description": "Enter one or more LinkedIn profile URLs.",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
