# Linkedin Open Profile Status - Cheapest (`socialdataapi/linkedin-open-profile-status`) Actor

Linkedin Open Profile Status checks LinkedIn profile URLs for the green Open to work status and returns name and headline. Name and headline need no login; the status check uses your own li_at cookie. Export JSON, CSV or Excel, or use the API.

- **URL**: https://apify.com/socialdataapi/linkedin-open-profile-status.md
- **Developed by:** [Social Data API](https://apify.com/socialdataapi) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### LinkedIn Open Profile Status — Open to Work Flag, Name and Headline

LinkedIn Open Profile Status checks LinkedIn profiles and tells you whether each one shows the green **Open to work** status, together with the person's public name and headline. Every response is structured JSON — ready to pass directly to an LLM, index into a vector store, or feed a candidate sourcing pipeline. Name and headline work without a LinkedIn account; add your own cookie to read the status. Start with a short list, then check your whole talent pipeline.

![Linkedin Open Profile Status - hero image: what it collects and the JSON output](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/q-linkedin-open-status-hero.webp)

***

### What data can I extract with LinkedIn Open Profile Status?

Using this LinkedIn open to work API, you will be able to extract the following LinkedIn profile data:

| 🔗 Profile link | 🟢 Open to work status (true / false) | 👤 Full name | 💼 Headline |
|---|---|---|---|
| 💬 Result message (ok or the reason) | | | |

***

### How to use LinkedIn Open Profile Status

Recruiters and sourcers use it to see, in one run, which people on their list are open to new roles, with the name and headline next to each answer.

**Copy to your AI assistant:**

```text
LinkedIn Open Profile Status (Apify Actor ID: socialdataapi/linkedin-open-profile-status, https://apify.com/socialdataapi/linkedin-open-profile-status) is an Apify Actor that returns whether LinkedIn profiles show the green Open to work status as structured JSON: profile URL, open to work flag, full name, headline and a result message. Use it whenever someone needs to check LinkedIn profiles in bulk - shortlisting candidates who are open to work, refreshing a recruiting CRM, or enriching a lead list with current headlines; name and headline work without a login, while the Open to work flag needs the user's own li_at cookie. Run it with curl: curl -X POST "https://api.apify.com/v2/acts/socialdataapi~linkedin-open-profile-status/run-sync-get-dataset-items?token=APIFY_TOKEN" -H "Content-Type: application/json" -d '{"startUrls":["https://www.linkedin.com/in/ajjames","williamhgates"],"liAtCookie":"YOUR_LI_AT"}'. Or in Python: ApifyClient("APIFY_TOKEN").actor("socialdataapi/linkedin-open-profile-status").call(run_input={"startUrls": ["https://www.linkedin.com/in/ajjames"], "liAtCookie": "YOUR_LI_AT"}) then client.dataset(run["defaultDatasetId"]).list_items().items. Inputs: startUrls (array of strings, required, LinkedIn profile URLs or plain usernames, no default), liAtCookie (string, secret, optional, the user's own LinkedIn li_at session cookie, needed for the Open to work flag), proxyConfiguration (object, optional, fallback proxy used only when LinkedIn blocks a request, Apify Residential when empty). Every profile gives one row; rows with a status or a public name are billed as one row_result event, and failed lookups (profile not found, blocked, not a profile link) are saved with the reason in the message field and are not charged. Without a cookie the open_to_work field is null, because LinkedIn hides the status from logged-out visitors. Full input schema, every enum and default, and the complete output field list: GET https://api.apify.com/v2/acts/socialdataapi~linkedin-open-profile-status/builds/default
```

#### LinkedIn Open Profile Status MCP Server: use these Actors from ChatGPT, Claude or Cursor

Point your AI assistant at this Actor and it can check LinkedIn profiles on its own: Open to work status, full name and headline. No glue code, no scraping logic in your prompts.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/linkedin-open-profile-status"
```

#### Step by step

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open [LinkedIn Open Profile Status](https://apify.com/socialdataapi/linkedin-open-profile-status) in the Apify Store.
3. Enter the LinkedIn profile URLs or usernames, and paste your li_at cookie if you want the Open to work status.
4. Click **Start** (or send your API request).
5. Download or stream your results in JSON, CSV or Excel.

#### How to get your LinkedIn li_at cookie

1. Log in to linkedin.com in Chrome, Edge or Firefox.
2. Open DevTools (F12) > Application (Storage in Firefox) > Cookies > https://www.linkedin.com.
3. Find the cookie named li_at and copy its value.
4. Paste it into the LinkedIn li_at cookie field. It is stored encrypted as a secret input.
5. If a run reports that the cookie is invalid or expired, log in again and copy a fresh value.

#### How to scale LinkedIn Open Profile Status to bulk

Use it as a bulk LinkedIn profile checker: put every profile link or username into the Profile URLs list, one per line, and the Actor checks three profiles at a time and saves each row as soon as it is ready. Duplicates are checked once. For a daily or weekly refresh of a candidate list, save the input as a task and schedule it, or call the API in a loop from your own code and read the dataset after each run.

***

### ✨ Features

LinkedIn Open Profile Status fetches clean, structured profiles from LinkedIn ⚡. It works as a LinkedIn open to work scraper for candidate lists and is ideal for candidate sourcing, recruiting CRM updates, outreach timing and job-market research — a LinkedIn open to work checker and a LinkedIn profile headline scraper in one run.

It extracts, per profile:

- **Open to work status** – true when the profile shows the green Open to work badge, false when it does not
- **Full name** – the public profile name
- **Headline** – the public headline under the name
- **Profile link** – the normalized profile URL you asked for
- **Result message** – "ok", or the plain reason a profile could not be read

⚡ Failed lookups are saved with their reason and are never charged, so you only pay for profiles that returned data.

***

### Use cases 💡

- **Recruiter** — find candidates open to work LinkedIn flags in a sourced list, then reach out.
- **Talent sourcer** — use it as a LinkedIn job seekers scraper on a shortlist each week.
- **Sales team** — refresh prospect headlines to spot new roles and job changes.
- **HR analyst** — count how many people in a talent pool show the LinkedIn open to work badge.
- **AI agent builder** — give a sourcing agent the status and headline as context for outreach drafts.

Building an AI agent? [Connect LinkedIn Open Profile Status over MCP](#mcp-integration-for-ai-agents) and let it call the actor on its own.

***

### Why choose this actor?

- **One row per profile, saved as it finishes.** A recorded run checked 3 profiles in 3.2 seconds, and the first row was in the dataset after 1.9 seconds.
- **The answer plus the context.** Each row carries the Open to work flag, the full name, the headline and a plain result message, for example "Satya Nadella – Chairman and CEO at Microsoft".
- **3 inputs, nothing else to learn.** A profile list, an optional cookie and an optional fallback proxy; usernames and full links both work.

***

### ⬇️ Input

![Linkedin Open Profile Status input form with example values](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/q-linkedin-open-status-input.webp)

The Actor takes a list of LinkedIn profile URLs or usernames (required). The li_at cookie is optional but needed to check LinkedIn open to work status.

| Parameter | Required | Type | Description | Example value |
|---|---|---|---|---|
| `startUrls` | Yes | array of strings | LinkedIn profile URLs or plain usernames, one per line. Each profile gives one row; duplicates are checked once. No default. | `["https://www.linkedin.com/in/ajjames", "williamhgates"]` |
| `liAtCookie` | No | string (secret) | Your own LinkedIn li_at session cookie. Needed for the Open to work status; without it you get name and headline only. No default. | `AQEDAR...` |
| `proxyConfiguration` | No | object | Fallback proxy, used only when LinkedIn blocks a request. Apify Residential is used when left empty. | `{"useApifyProxy": false}` |

Accepted profile formats:

- `https://www.linkedin.com/in/ajjames`
- `https://www.linkedin.com/in/ajjames/?trk=public_profile` (the query part is removed)
- `ajjames` (a plain username)

#### Free plan limits

Users on the Apify free plan can fetch up to 20 profiles per run (all profile URLs together) and 200 profiles per month. When the limit is reached, the run finishes successfully with a status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.

#### Example input

```json
{
  "startUrls": [
    "https://www.linkedin.com/in/ajjames",
    "williamhgates",
    "satyanadella"
  ],
  "liAtCookie": "AQEDARxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

***

### ⬆️ Output

![Linkedin Open Profile Status output fields with example values](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/q-linkedin-open-status-output.webp)

Every profile is one typed, normalized JSON item with the same five fields on every run; export it as JSON (default), CSV or Excel. A profile that could not be read is still saved, free of charge, with an empty status and the reason in the result message.

#### Example output

```json
[
  {
    "url": "https://www.linkedin.com/in/ajjames",
    "open_to_work": false,
    "name": "Anthony J James",
    "headline": "Trinity Consulting Services",
    "message": "ok"
  },
  {
    "url": "https://www.linkedin.com/in/satyanadella",
    "open_to_work": null,
    "name": "Satya Nadella",
    "headline": "Chairman and CEO at Microsoft",
    "message": "public info only - add your li_at cookie to read the Open to work status"
  },
  {
    "url": "https://www.linkedin.com/in/not-a-real-profile-xyz-123456",
    "open_to_work": null,
    "name": null,
    "headline": null,
    "message": "Failed to fetch profile after 3 attempts (HTTP 999)"
  }
]
```

***

### How does it work?

The Actor reads each LinkedIn profile page with plain web requests, with no browser, three profiles at a time. Without a cookie it reads what any logged-out visitor sees: the public name and headline. LinkedIn only shows the green Open to work status to logged-in members, so when you add your own li_at cookie the Actor reads the profile the way you would see it when logged in and reports the status as true or false.

Requests go out without a proxy first. When LinkedIn blocks a request, the Actor waits, retries up to three times and switches to your proxy, or to Apify Residential proxies when you set none, with a fresh IP for each retry. Every row has the same five fields, and a profile that cannot be read comes back with a clear reason instead of stopping the run. The team that maintains this Actor keeps the output schema stable when LinkedIn changes its pages.

***

### How do you integrate LinkedIn Open Profile Status into your stack?

It works with what you already use: the REST API from any language, MCP for AI agents, and no-code tools.

#### Using LinkedIn Open Profile Status with the Apify API

```python
import requests

resp = requests.post(
    "https://api.apify.com/v2/acts/socialdataapi~linkedin-open-profile-status/run-sync-get-dataset-items",
    params={"token": "APIFY_TOKEN"},
    json={"startUrls": ["https://www.linkedin.com/in/ajjames", "williamhgates"], "liAtCookie": "YOUR_LI_AT"},
)
for item in resp.json():
    print(item["name"], item["open_to_work"])
```

*Works in Go, Ruby, Node.js, cURL — any language that can make an HTTP request.*

#### MCP integration for AI agents

Add the Actor to your agent with one command:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/linkedin-open-profile-status"
```

This registers LinkedIn Open Profile Status as a tool your agent can call directly. It works in Claude Code, Cursor and Windsurf; the agent passes a list of profiles and gets back the status, name and headline for each one as JSON.

#### No-code tools (n8n, Make, LangChain)

- **n8n** — use the Apify node with "Run an Actor" and pick `socialdataapi/linkedin-open-profile-status`, or point the HTTP Request node at the run-sync endpoint above with your token.
- **Make** — add the Apify app's "Run an Actor" module, then "Get Dataset Items" to pass each profile to the next step.
- **LangChain** — install `langchain-apify` and use `ApifyActorsTool("socialdataapi/linkedin-open-profile-status")` as a tool in your agent.

***

### Is it legal to scrape LinkedIn data?

Collecting data that LinkedIn shows publicly is generally lawful, but how you store and use it is regulated. Without a cookie, LinkedIn Open Profile Status returns only what any visitor sees without logging in: the name and headline. With your own cookie it reads the Open to work status that LinkedIn shows to logged-in members on the profile itself; only check profiles you are allowed to view and keep volumes moderate. Under GDPR, scraping public data is generally permissible, but storing and using it must comply with local data-protection law. Consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### What fields does LinkedIn Open Profile Status return?

It returns the profile link, the Open to work status, the full name, the headline and a result message for every profile. See [the data fields section](#what-data-can-i-extract-with-linkedin-open-profile-status).

#### Does LinkedIn Open Profile Status require a LinkedIn account or login?

Only for the status. Name and headline come back without any account, but LinkedIn hides the Open to work badge from logged-out visitors, so the status needs your own li_at cookie. The cookie is stored as an encrypted secret input and never written to the logs or the output.

#### How fast does LinkedIn Open Profile Status run?

A recorded run checked 3 profiles without a cookie in 3.2 seconds, with the first row saved after 1.9 seconds. Every run reads live pages, nothing is cached.

#### What happens if a profile is private or doesn't exist?

You still get a row, free of charge, with an empty status and name and the reason in the result message, for example "profile not found (HTTP 404)", "not a LinkedIn profile URL" or "li_at invalid or expired". Filter on the message value "ok" in your code to keep full results only.

#### Can I scrape multiple LinkedIn profiles at once?

Yes. Put as many profile links or usernames as you need into the Profile URLs list; the Actor checks three at a time and saves each row as soon as it is ready.

#### Does LinkedIn Open Profile Status work with Claude, ChatGPT, and other AI agent tools?

Yes — LinkedIn Open Profile Status is available as an MCP tool. Register it in Claude Code, Cursor or Windsurf with:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/linkedin-open-profile-status"
```

Any agent that can call an HTTP endpoint can use the REST API directly.

#### Does LinkedIn Open Profile Status return data in a format LLMs can use directly?

Yes. Every row is typed, normalized JSON with the same field names on every run. No HTML parsing and no selectors: pass it straight to an LLM, index it into a vector store or hand it to an agent tool.

#### What happens when LinkedIn changes its layout or updates its anti-bot system?

The team that maintains this Actor updates it when LinkedIn changes. Your calls keep returning the same JSON schema with no changes on your end.

#### Can I use LinkedIn Open Profile Status without managing proxies or browser infrastructure?

Yes. Retries and the switch to a fallback proxy when LinkedIn blocks a request run on the Actor's side, and no browser is needed. You send one request and get structured JSON back.

#### Which LinkedIn profile fields work best for AI training data and RAG indexing?

For RAG, the headline and full name are the text fields worth indexing. For training data or scoring, the Open to work status is a clean true/false label. All fields are plain strings or booleans, so no normalization is needed.

***

### Related scrapers

| Scraper | What it extracts |
|---|---|
| [LinkedIn Profile Scraper](https://apify.com/socialdataapi/linkedin-profile-scraper) | Full LinkedIn profile details |
| [LinkedIn Mass People Profile Finder](https://apify.com/socialdataapi/linkedin-mass-people-profile-finder) | LinkedIn profiles found in bulk |
| [LinkedIn Company Employees Scraper](https://apify.com/socialdataapi/linkedin-company-employees-scraper) | Employees listed for a LinkedIn company |
| [LinkedIn Jobs Scraper](https://apify.com/socialdataapi/linkedin-jobs-scraper) | LinkedIn job listings |
| [LinkedIn Email Scraper](https://apify.com/socialdataapi/linkedin-email-scraper) | Public emails linked to LinkedIn profiles |

***

### Your feedback

Found a bug or missing a field? Let us know in the Issues tab of this Actor's page in the Apify Store. The team that maintains this Actor reads every report and ships fixes.

# Changelog

This Actor's version history is a separate document: https://apify.com/socialdataapi/linkedin-open-profile-status/changelog.md

# Actor input Schema

## `startUrls` (type: `array`):

LinkedIn profile URLs or plain usernames, one per line, e.g. https://www.linkedin.com/in/ajjames or ajjames. Each profile gives one row. Duplicates are checked once.

## `liAtCookie` (type: `string`):

Your own logged-in LinkedIn session cookie (li_at). Needed to read the Open to work status, because LinkedIn only shows it to logged-in members. Without it you still get the public name and headline. To copy it: 1. Log in to linkedin.com in your browser. 2. Open DevTools > Application > Cookies > https://www.linkedin.com. 3. Copy the value of li_at. Stored encrypted as a secret.

## `proxyConfiguration` (type: `object`):

Optional. Requests go without a proxy first; this proxy (or Apify Residential when left empty) is only used when LinkedIn blocks a request.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.linkedin.com/in/ajjames"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

All scraped items in the Actor's default dataset.

# 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 = {
    "startUrls": [
        "https://www.linkedin.com/in/ajjames"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("socialdataapi/linkedin-open-profile-status").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 = { "startUrls": ["https://www.linkedin.com/in/ajjames"] }

# Run the Actor and wait for it to finish
run = client.actor("socialdataapi/linkedin-open-profile-status").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://www.linkedin.com/in/ajjames"
  ]
}' |
apify call socialdataapi/linkedin-open-profile-status --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,socialdataapi/linkedin-open-profile-status"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/xtb2uT8HGuEdkD8pY/builds/CF8DNPCRMWmN4x44s/openapi.json
