> ## Documentation Index
> Fetch the complete documentation index at: https://mindcase.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# LinkedIn Post Reactions

> Extract reactions from LinkedIn posts and comments, providing likes and appreciations

`$1.7 / 1k reactions`

Extract reactions from LinkedIn posts and comments, providing likes and appreciations

## Endpoint

`POST /api/v1/agents/linkedin/post-reactions/run`

## Parameters

<ParamField body="posts" type="array" required>
  **List** · LinkedIn post URLs to scrape reactions from. One per line.
</ParamField>

<ParamField body="maxResults" type="integer" default={100}>
  **Number** · Reactions per post. Use 0 for all.
</ParamField>

<ParamField body="reactionTypeFilter" type="array">
  **Multi-select** · Filter to specific reaction types. Leave empty for all.

  **Options:** `LIKE`, `PRAISE`, `EMPATHY`, `APPRECIATION`, `INTEREST`, `ENTERTAINMENT`

  *Legend: `LIKE` = Like, `PRAISE` = Praise (Celebrate), `EMPATHY` = Empathy (Support), `APPRECIATION` = Appreciation (Love), `INTEREST` = Interest (Insightful), `ENTERTAINMENT` = Entertainment (Funny)*
</ParamField>

## Response columns

| Field           | Display name    | Type |
| --------------- | --------------- | ---- |
| `sourcePostUrl` | Source Post URL | url  |
| `reaction`      | Reaction        | text |
| `reactorUrl`    | Reactor URL     | url  |
| `reactor`       | Reactor         | text |
| `reactorTitle`  | Reactor Title   | text |
| `reactorAvatar` | Reactor Avatar  | url  |

## Example

<CodeGroup>
  ```bash curl theme={null}
  curl -X POST https://api.mindcase.co/api/v1/agents/linkedin/post-reactions/run \
    -H "Authorization: Bearer mk_live_abc123def456" \
    -H "Content-Type: application/json" \
    -d '{
    "params": {
      "posts": [
        "https://www.linkedin.com/posts/reidhoffman_ten-years-ago-if-youd-told-me-a-pope-would-activity-7455254577534107648-o-Gf"
      ],
      "maxResults": 10
    }
  }'
  ```

  ```python Python theme={null}
  import requests

  resp = requests.post(
      "https://api.mindcase.co/api/v1/agents/linkedin/post-reactions/run",
      headers={"Authorization": "Bearer mk_live_abc123def456"},
      json={"params": {
      "posts": [
          "https://www.linkedin.com/posts/reidhoffman_ten-years-ago-if-youd-told-me-a-pope-would-activity-7455254577534107648-o-Gf"
      ],
      "maxResults": 10
  }},
  )
  data = resp.json()
  ```
</CodeGroup>

### Example response

```json Response theme={null}
{
  "job_id": "job_7f3a2b1c",
  "status": "completed",
  "data": [
    {
      "sourcePostUrl": "https://www.linkedin.com/posts/reidhoffman_ten-years-ago-if-youd-told-me-a-pope-would-activity-7455254577534107648-o-Gf",
      "reaction": "LIKE",
      "reactorUrl": "https://www.linkedin.com/in/ACoAAAAXQFsByNh5A8RPbn8mmjIJ5juhNZ1vZEw",
      "reactor": "Charley Moore",
      "reactorTitle": "Founder, Invictus AI",
      "reactorAvatar": "https://media.licdn.com/dms/image/v2/D5635AQHHjlmKZS0Ycw/profile-framedphoto-shrink_800_800/B56Zw0qhrJIYAo-/0/1770410089597?e=1778425200&v=beta&t=6Il8s1Q19sMAXMLLRTRwh8MzmT58h445WsjbcR4wXjA"
    }
  ]
}
```
