# Export LinkedIn Post Comments to CSV or Excel

**Use case:** 

Download every comment on a LinkedIn post as a structured spreadsheet. Each row includes the comment text, author name, headline, profile URL, and timestamp - ready to import into your CRM, Google Sheets, or analytics tool.

## Input

```json
{
  "posts": [
    "7307459240586010624"
  ],
  "includeComments": true,
  "includeReactions": false,
  "sortBy": "relevant",
  "commentsLimit": 50,
  "reactionsLimit": 0
}
```

## Output

```json
{
  "comment_id": {
    "label": "Comment ID",
    "format": "string"
  },
  "text": {
    "label": "Comment Text",
    "format": "string"
  },
  "comment_type": {
    "label": "Type",
    "format": "string"
  },
  "author.name": {
    "label": "Author",
    "format": "string"
  },
  "author.headline": {
    "label": "Headline",
    "format": "string"
  },
  "author.profile_url": {
    "label": "Profile URL",
    "format": "string"
  },
  "posted_at.date": {
    "label": "Date",
    "format": "string"
  },
  "posted_at.relative": {
    "label": "Posted",
    "format": "string"
  },
  "post_date.date": {
    "label": "Post Date",
    "format": "string"
  },
  "is_edited": {
    "label": "Edited",
    "format": "boolean"
  },
  "is_pinned": {
    "label": "Pinned",
    "format": "boolean"
  },
  "stats.total_reactions": {
    "label": "Reactions",
    "format": "integer"
  },
  "stats.comments": {
    "label": "Replies",
    "format": "integer"
  },
  "comment_url": {
    "label": "Comment URL",
    "format": "string"
  },
  "post_input": {
    "label": "Post Input",
    "format": "string"
  },
  "parent_comment_id": {
    "label": "Parent Comment ID",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [LinkedIn Post Comment & Reaction Extractor [NO COOKIES] ✅](https://apify.com/unseenuser/linkedin-post-comment-reaction-extractor-no-cookies.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/unseenuser/linkedin-post-comment-reaction-extractor-no-cookies.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/unseenuser/linkedin-post-comment-reaction-extractor-no-cookies.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`).
