Skip to main content
GET
/
api
/
v1
/
post
/
reactions
Get reactions on a LinkedIn post
curl --request GET \
  --url https://api.fetchin.io/api/v1/post/reactions \
  --header 'X-API-Key: <api-key>'
{
  "reactions": [
    {
      "reactionType": "LIKE",
      "actor": {
        "urn": "urn:li:fsd_profile:ACoAABBfDXAB9eK9V6vEHbzfQXZ-wcjke_QuT7g",
        "name": "Kevin Piacentini",
        "headline": "Lead Engineer | Scaled my SaaS to $250K ARR",
        "profileUrl": "https://www.linkedin.com/in/ACoAABBfDXAB9eK9V6vEHbzfQXZ-wcjke_QuT7g",
        "profilePictureUrl": "https://media.licdn.com/dms/image/..."
      }
    },
    {
      "reactionType": "EMPATHY",
      "actor": {
        "urn": "urn:li:fsd_profile:ACoAAElKiMcBWNSGaHLmNaJXyyVbUFfQNxR3jpM",
        "name": "Yasmine Damnati",
        "headline": "Apprentie ingenieur automatisme",
        "profileUrl": "https://www.linkedin.com/in/ACoAAElKiMcBWNSGaHLmNaJXyyVbUFfQNxR3jpM",
        "profilePictureUrl": "https://media.licdn.com/dms/image/..."
      }
    }
  ],
  "hasMore": false
}

Endpoint

GET /api/v1/post/reactions

Authentication

Include your API key in the request header:
X-API-Key: your-api-key-here

Parameters

postUrlOrUrn
string
required
LinkedIn post URL or URN.Examples:
  • https://www.linkedin.com/posts/username_some-post-slug-1234567890-abcd
  • urn:li:activity:7287782484287606784
  • urn:li:ugcPost:7287782484287606784
count
integer
default:"100"
Number of reactions to fetch per page.
  • Minimum: 1
  • Maximum: 100
  • Default: 100
start
integer
default:"0"
Offset for pagination.
  • Default: 0

Response

reactions
array
Array of reactions on the post
hasMore
boolean
Indicates whether there are more reactions to fetch.

Example Request

curl -X GET "https://api.fetchin.io/api/v1/post/reactions?postUrlOrUrn=https://www.linkedin.com/posts/username_post-slug-1234567890-abcd&count=100" \
  -H "X-API-Key: your-api-key-here"

Example Response

{
  "reactions": [
    {
      "reactionType": "LIKE",
      "actor": {
        "urn": "urn:li:fsd_profile:ACoAABBfDXAB9eK9V6vEHbzfQXZ-wcjke_QuT7g",
        "name": "Kevin Piacentini",
        "headline": "Lead Engineer | Scaled my SaaS to $250K ARR",
        "profileUrl": "https://www.linkedin.com/in/ACoAABBfDXAB9eK9V6vEHbzfQXZ-wcjke_QuT7g",
        "profilePictureUrl": "https://media.licdn.com/dms/image/..."
      }
    },
    {
      "reactionType": "EMPATHY",
      "actor": {
        "urn": "urn:li:fsd_profile:ACoAAElKiMcBWNSGaHLmNaJXyyVbUFfQNxR3jpM",
        "name": "Yasmine Damnati",
        "headline": "Apprentie ingenieur automatisme",
        "profileUrl": "https://www.linkedin.com/in/ACoAAElKiMcBWNSGaHLmNaJXyyVbUFfQNxR3jpM",
        "profilePictureUrl": "https://media.licdn.com/dms/image/..."
      }
    }
  ],
  "hasMore": false
}

Pagination

To fetch all reactions from a post with many reactions, use offset pagination:
  1. Make an initial request with start=0
  2. If hasMore is true, increment start by count in your next request
  3. Continue until hasMore is false
async function fetchAllReactions(postUrlOrUrn) {
  const allReactions = [];
  let start = 0;
  const count = 100;
  let hasMore = true;

  while (hasMore) {
    const params = new URLSearchParams({ postUrlOrUrn, count: String(count), start: String(start) });

    const response = await fetch(
      `https://api.fetchin.io/api/v1/post/reactions?${params}`,
      { headers: { 'X-API-Key': 'your-api-key-here' } }
    );

    const data = await response.json();
    allReactions.push(...data.reactions);
    hasMore = data.hasMore;
    start += count;
  }

  return allReactions;
}

Notes

This endpoint counts as 1 request toward your monthly quota per API call, regardless of the count parameter value.
You can pass either a LinkedIn post URL (e.g. https://www.linkedin.com/posts/...) or a post URN (e.g. urn:li:activity:...). When a URL is provided, the API automatically resolves it to the correct activity URN.

Authorizations

X-API-Key
string
header
required

Query Parameters

postUrlOrUrn
string
required

LinkedIn post URL or URN

Example:

"https://www.linkedin.com/posts/username_post-slug-1234567890-abcd"

count
integer
default:100

Number of reactions to fetch (default: 100)

Required range: 1 <= x <= 100
start
integer
default:0

Offset for pagination (default: 0)

Required range: x >= 0

Response

Successfully fetched post reactions

reactions
object[]
hasMore
boolean

Whether more reactions are available