# Export LinkedIn Post Engagement to CSV or Sheets

**Use case:** 

Every post comes back as one flat row with its reactions split by type, plus comments and reposts. removeEmptyFields is on, so columns that do not apply to a given post are dropped and the export stays clean. Open it in Excel or push it to Google Sheets with the integration and it is already a table, with no flattening step in between.

## Input

```json
{
  "profileUrls": [
    "pascalbornet",
    "emollick"
  ],
  "totalPostsPerProfile": 100,
  "includeReposts": true,
  "removeEmptyFields": true
}
```

## Output

```json
{
  "profileUsername": {
    "label": "Profile Username",
    "format": "string"
  },
  "profile_url": {
    "label": "Profile URL",
    "format": "string"
  },
  "posted_at": {
    "label": "Posted (Relative)",
    "format": "string"
  },
  "posted_date": {
    "label": "Posted Date",
    "format": "string"
  },
  "post_is_repost": {
    "label": "Is Repost",
    "format": "boolean"
  },
  "post_text": {
    "label": "Post Text",
    "format": "string"
  },
  "post_url": {
    "label": "Post URL",
    "format": "string"
  },
  "author_first_name": {
    "label": "Author First Name",
    "format": "string"
  },
  "author_last_name": {
    "label": "Author Last Name",
    "format": "string"
  },
  "author_headline": {
    "label": "Author Headline",
    "format": "string"
  },
  "author_profile_url": {
    "label": "Author Profile URL",
    "format": "string"
  },
  "author_profile_picture": {
    "label": "Author Profile Picture",
    "format": "string"
  },
  "media_type": {
    "label": "Media Type",
    "format": "string"
  },
  "media_url": {
    "label": "Media URL",
    "format": "string"
  },
  "media_thumbnail_url": {
    "label": "Media Thumbnail URL",
    "format": "string"
  },
  "media_thumbnail_width": {
    "label": "Thumbnail Width",
    "format": "integer"
  },
  "media_thumbnail_height": {
    "label": "Thumbnail Height",
    "format": "integer"
  },
  "media_thumbnail_expires_at": {
    "label": "Thumbnail Expires At",
    "format": "string"
  },
  "newsletter_url": {
    "label": "Newsletter URL",
    "format": "string"
  },
  "newsletter_title": {
    "label": "Newsletter Title",
    "format": "string"
  },
  "stats_total_reactions": {
    "label": "Total Reactions",
    "format": "integer"
  },
  "stats_likes": {
    "label": "Likes",
    "format": "integer"
  },
  "stats_appreciations": {
    "label": "Appreciations",
    "format": "integer"
  },
  "stats_empathy": {
    "label": "Empathy",
    "format": "integer"
  },
  "stats_interests": {
    "label": "Interests",
    "format": "integer"
  },
  "stats_praises": {
    "label": "Praises",
    "format": "integer"
  },
  "stats_comments": {
    "label": "Comments",
    "format": "integer"
  },
  "stats_reposts": {
    "label": "Reposts",
    "format": "integer"
  },
  "post_id": {
    "label": "Post ID",
    "format": "string"
  },
  "post_share_url": {
    "label": "Post Share URL",
    "format": "string"
  },
  "author_website": {
    "label": "Author Website",
    "format": "string"
  },
  "author_website_label": {
    "label": "Author Website Label",
    "format": "string"
  },
  "media_image_count": {
    "label": "Image Count",
    "format": "integer"
  },
  "media_image_urls": {
    "label": "All Image URLs",
    "format": "string"
  },
  "stats_entertainment": {
    "label": "Entertainment",
    "format": "integer"
  },
  "repost_author_name": {
    "label": "Original Author Name",
    "format": "string"
  },
  "repost_author_headline": {
    "label": "Original Author Headline",
    "format": "string"
  },
  "repost_author_profile_url": {
    "label": "Original Author Profile URL",
    "format": "string"
  },
  "repost_text": {
    "label": "Original Post Text",
    "format": "string"
  },
  "repost_url": {
    "label": "Original Post URL",
    "format": "string"
  },
  "repost_posted_date": {
    "label": "Original Post Date",
    "format": "string"
  },
  "post_hashtags": {
    "label": "Hashtags",
    "format": "string"
  },
  "post_hashtag_count": {
    "label": "Hashtag Count",
    "format": "integer"
  },
  "post_external_links": {
    "label": "External Links",
    "format": "string"
  },
  "post_mentions": {
    "label": "Mentions",
    "format": "string"
  },
  "post_mention_urls": {
    "label": "Mention URLs",
    "format": "string"
  },
  "post_mention_count": {
    "label": "Mention Count",
    "format": "integer"
  },
  "media_document_page_count": {
    "label": "Document Page Count",
    "format": "integer"
  },
  "media_document_title": {
    "label": "Document Title",
    "format": "string"
  },
  "post_type": {
    "label": "Post Type",
    "format": "string"
  },
  "reshared_by_name": {
    "label": "Reshared By",
    "format": "string"
  },
  "reshared_by_profile_url": {
    "label": "Reshared By Profile URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [LinkedIn Profile Posts Scraper - Bulk [NO COOKIES] ✅](https://apify.com/unseenuser/linkedin-content.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/unseenuser/linkedin-content.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-content.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`).
