# LinkedIn Comment Reactions API

> List who reacted to a comment on a LinkedIn post - reactor name, profile URL, job title, and reaction type, 100 per page.

Source: https://www.sandbase.ai/apis/linkedin/comment-reactions
API reference: https://www.sandbase.ai/apis/linkedin/comment-reactions/docs

## Facts

- Provider: LinkedIn
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/linkedin/comment-reactions`
- Price: From $0.0026 per call
- Capabilities: api, linkedin, social media
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/linkedin/comment-reactions` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `url` | string | yes |  |
| `page` | integer | no |  |

## FAQ

### How do I use the LinkedIn Comment Reactions API?

Send a POST request to https://api.sandbase.ai/v1/api/linkedin/comment-reactions with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the LinkedIn Comment Reactions API cost?

From $0.0026 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the LinkedIn Comment Reactions API accept?

Required: url (string). Optional: page (integer). The Parameters table and the Playground on this page list every field.

### What does the LinkedIn Comment Reactions API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a LinkedIn developer account or API key?

No. LinkedIn Comment Reactions runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for LinkedIn API access separately.

## README

### LinkedIn Comment Reactions API

List who reacted to a comment on a LinkedIn post - reactor name, profile URL, job title, and reaction type, 100 per page.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "linkedin/comment-reactions", "url": "https://www.linkedin.com/feed/update/urn:li:activity:7510715600319467520?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7510715600319467520%2C7510768837462745088%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287510768837462745088%2Curn%3Ali%3Aactivity%3A7510715600319467520%29"}'
```

The result is returned in `outputs[0].data`. A lookup that finds nothing still succeeds and returns `found: false`.

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `url` | string | Yes | LinkedIn comment URL, as returned in the url field of linkedin.post_comments or copied with "Copy link to comment" (a /feed/update/... link carrying commentUrn and dashCommentUrn). A post URL without dashCommentUrn, or a |
| `page` | integer | No | Which page of up to 100 reactions to return, starting at 1 (default 1). Each page is billed as one request; totalPages in the response says how many there are. |

#### Pricing

Billed at the actual cost of each call, usually $0.0026 per request. A call can cost more when the first data source fails and another one answers. Failed calls are not charged. Lookups that find nothing and searches with no results are billed at their actual cost, which is often lower and can be $0.
