# LinkedIn Event Attendees Parser (`lobachevsky/linkedin-event-attendees-parser`) Actor

Collect attendee profile details from a LinkedIn event you can access.

- **URL**: https://apify.com/lobachevsky/linkedin-event-attendees-parser.md
- **Developed by:** [Никита Лобачеевский](https://apify.com/lobachevsky) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 50.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / actor start

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/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 Event Attendees Parser

Collect attendee profile details from a LinkedIn event that your account can access. The Actor saves one record per attendee to the run's default Dataset. You can export the Dataset as an Excel file (`.xlsx`) from Apify after the run finishes.

The Dataset contains `first_name`, `last_name`, `full_name`, `headline`, `location`, and `profile_url`.

> **LinkedIn RSVP notice:** If the Actor finds an **Attend** button, it may click it while opening the attendee list. LinkedIn may register the account associated with your cookies as attending the event. Run the Actor only if you are willing to attend.

> **LinkedIn terms notice:** LinkedIn's published rules prohibit third-party tools that scrape or automate LinkedIn. Use this Actor only if you have the necessary authorization. LinkedIn may restrict accounts that use prohibited tools. This Actor is not affiliated with LinkedIn.

### One-time setup

#### Install Cookie-Editor

Cookie-Editor lets you export the LinkedIn session cookies that the Actor needs to access attendee information.

1. Open the [Cookie-Editor page in the Chrome Web Store](https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm).
2. Select **Add to Chrome**, then **Add extension**.
3. Pin the extension to your browser toolbar if you want to open it easily.

You only need to install the extension once.

### Before each run

#### 1. Sign in to LinkedIn

Open [linkedin.com](https://www.linkedin.com) in Chrome and sign in to the account that can view the event. Use your regular browser profile, not an Incognito window.

#### 2. Export your LinkedIn cookies

1. While on a `linkedin.com` page, open the Cookie-Editor extension.
2. Select **Export** and choose **JSON**.
3. Copy the exported JSON array, or open the downloaded `.json` file and copy its contents.

Paste the array into the Actor's **LinkedIn browser cookies** field. It must include the `li_at` cookie. This field is marked as secret in Apify. Treat the cookies like your password: do not share them in chat, screenshots, or support messages.

Cookies can expire or be invalidated. Export them again if the Actor reports that it is not authenticated.

#### 3. Set your browser User-Agent

The **User-Agent** field is optional and has a default value. For the best match with your LinkedIn session, copy the User-Agent from the same browser profile:

1. Open [WhatIsMyBrowser's User-Agent page](https://www.whatismybrowser.com/detect/what-is-my-user-agent/) in the browser where you signed in to LinkedIn.
2. Copy the full User-Agent string.
3. Paste it into the Actor's **User-Agent** field.

Update it if you change browsers or the browser updates its User-Agent.

### Run the Actor

1. Paste the LinkedIn event URL into **LinkedIn event URL**. For example: `https://www.linkedin.com/events/123456789/`.
2. Paste the exported cookie JSON array into **LinkedIn browser cookies**.
3. Optionally set the matching **User-Agent**.
4. Select **Start**.

The Actor processes one event per run. When the run finishes, open its **Storage** or **Dataset** tab to view the attendee records.

### Export an Excel file

The Actor stores results in Apify Dataset rather than creating an `.xlsx` file inside the run.

1. Open the completed run and select its **Storage** tab.
2. Open the default Dataset.
3. Select **Export**, choose **Excel**, then select **Download**.

### Troubleshooting

**“Not authenticated” or “Cookies expired or invalid”**\
Export fresh cookies from the same signed-in browser profile and run the Actor again. Make sure the cookie array contains `li_at` and that the User-Agent, if set, comes from that same browser.

**Some attendees are missing or the Actor stops at an empty page**\
The Actor can only collect profiles that LinkedIn makes available to your account. LinkedIn may limit or paginate the results differently from the event's attendee count, so the Dataset may contain fewer records than the number shown on the event page.

**The Actor clicked “Attend”**\
This can happen when LinkedIn displays an available Attend button. The account whose cookies you supplied may be registered as attending. Only run the Actor for events you are willing to attend.

# Actor input Schema

## `eventUrl` (type: `string`):

HTTPS URL of a LinkedIn event you can access.

## `cookies` (type: `array`):

Paste the cookie array exported from your logged-in browser. It must contain the li_at cookie. This value is treated as a secret.

## `userAgent` (type: `string`):

Optional browser User-Agent. The default matches this parser's configured browser profile.

## Actor input object example

```json
{
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36"
}
```

# Actor output Schema

## `attendees` (type: `string`):

One record per attendee, with name, headline, location, and LinkedIn profile URL.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("lobachevsky/linkedin-event-attendees-parser").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("lobachevsky/linkedin-event-attendees-parser").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 '{}' |
apify call lobachevsky/linkedin-event-attendees-parser --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lobachevsky/linkedin-event-attendees-parser"
        }
    }
}
```

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/IjAvO3qq1QiUoqbu6/builds/a4gfXuYCr5ESGtBjb/openapi.json
