# Export comments from a LinkedIn post

**Use case:** 

Export every comment on a LinkedIn post to CSV, Excel or JSON: commenter name, headline, profile URL, comment text and date.

## Input

```json
{
  "postUrls": [
    "https://www.linkedin.com/feed/update/urn:li:activity:7532493194983563265"
  ],
  "maxItems": 50,
  "sortOrder": "recent",
  "concurrency": 3
}
```

## Output

```json
{
  "commenter.title": {
    "label": "Commenter",
    "format": "text"
  },
  "commenter.subtitle": {
    "label": "Headline",
    "format": "text"
  },
  "text": {
    "label": "Comment",
    "format": "text"
  },
  "times": {
    "label": "Posted",
    "format": "date"
  },
  "reactions_count": {
    "label": "Reactions",
    "format": "number"
  },
  "replies_count": {
    "label": "Replies",
    "format": "number"
  },
  "commenter.navigation_url": {
    "label": "Commenter profile",
    "format": "link"
  },
  "permalink": {
    "label": "Comment",
    "format": "link"
  },
  "post_url": {
    "label": "Post",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The LinkedIn Post Comments Scraper (No Cookies, Bulk) Actor is ready to run with the inputs already set for "Export comments from a LinkedIn post". [Sign up or log in](https://console.apify.com/create-task-from-example/I6D4Zn5CNLuZX8CTo) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export comments from a LinkedIn post" task

The LinkedIn Post Comments Scraper (No Cookies, Bulk) Actor will start running based on the input automatically. You can also change all the input fields, like post urls, max comments per input, and more, to match your specific use case.

### 3. Receive the "Export comments from a LinkedIn post" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as commenter, headline, comment, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Export comments from a LinkedIn post" task via API](https://apify.com/pratikdani/linkedin-post-comments-scraper.md).

## FAQ

### What does the Export comments from a LinkedIn post task return?

The Export comments from a LinkedIn post task returns each comment's text and date, with the commenter's name, headline and profile URL, as JSON, CSV or Excel.

### Do I need a LinkedIn account or cookies?

No. The Export comments from a LinkedIn post task never logs in to LinkedIn and uses no cookies, so no account can be restricted.

### How do I run it on a schedule or through the API?

Duplicate the Export comments from a LinkedIn post task, put in your own input, then schedule it (on every new post you want to mine) or call it through the Apify API. Add an integration to send results to Sheets, Slack or your CRM.

### How is it priced?

The Export comments from a LinkedIn post task is billed per comment returned, with lower prices on higher Apify plans. Inputs that fail or return nothing are not charged.

## About this Actor

This example demonstrates how to use [LinkedIn Post Comments Scraper (No Cookies, Bulk)](https://apify.com/pratikdani/linkedin-post-comments-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/pratikdani/linkedin-post-comments-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/pratikdani/linkedin-post-comments-scraper.md

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`).
