# LinkedIn Post Reactions

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

**Pricing:** $2 / 1k reactions

**Endpoint:** `POST /api/v1/agents/linkedin/post-reactions/run`

**Auth:** `Authorization: Bearer mk_live_...`

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `posts` | array | Yes | LinkedIn post URLs to scrape reactions from. One per line. |
| `maxResults` | integer | No | Reactions per post. Use 0 for all. |
| `reactionTypeFilter` | array | No | Filter to specific reaction types. Leave empty for all. |

## Example

```bash
curl -X POST https://api.mindcase.co/api/v1/agents/linkedin/post-reactions/run \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"posts":["..."]}}'
```

```python
import requests

resp = requests.post(
    "https://api.mindcase.co/api/v1/agents/linkedin/post-reactions/run",
    headers={"Authorization": "Bearer mk_live_YOUR_API_KEY"},
    json={"params": {
    "posts": [
        "..."
    ]
}},
)
data = resp.json()
```

## Get the results

`run` is async and returns a `job_id`. Poll until `status` is `completed`, then read the rows:

```bash
# 1) check status
curl https://api.mindcase.co/api/v1/jobs/JOB_ID \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"

# 2) when status == completed, fetch the rows
curl https://api.mindcase.co/api/v1/jobs/JOB_ID/results \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"
```

Full API reference (auth, jobs, balance, endpoints): https://mindcase.co/skills.md

## Response columns

| Field | Display name | Type |
|-------|--------------|------|
| `reactorName` | Reactor Name | text |
| `reactorUrl` | Reactor URL | url |
| `reactorHeadline` | Reactor Headline | text |
| `reactorPhoto` | Reactor Photo | image |
| `reactorLocation` | Reactor Location | text |
| `reactionType` | Reaction Type | text |
| `postUrl` | Post URL | url |
