GET
/
linkedin
/
profile-reactions
Get reactions of LinkedIn profile
curl --request GET \
  --url https://api.harvest-api.com/linkedin/profile-reactions \
  --header 'X-API-Key: <api-key>'
{
  "elements": [
    {
      "id": "urn:li:fsd_reaction:(urn:li:fsd_profile:ACoAAFsSba4BjCtAJXsUcfwXs0LPljAa2PsGpc8,urn:li:activity:7330681775884533760,0)",
      "reactionType": "LIKE",
      "postId": "7330681775884533760",
      "actor": {
        "id": "ACoAAFsSba4BjCtAJXsUcfwXs0LPljAa2PsGpc8",
        "name": "Om More",
        "linkedinUrl": "https://www.linkedin.com/in/ACoAAFsSba4BjCtAJXsUcfwXs0LPljAa2PsGpc8",
        "position": "Student at Yashwantrao Mohite College of Arts, Science and Commerce, Pune",
        "pictureUrl": "https://media.licdn.com/dms/image/v2/D4E03AQEjFjWHGRTC2Q/profile-displayphoto-shrink_800_800/B4EZcG0eZVHAAc-/0/1748166110665?e=1753920000&v=beta&t=HOMnbBij0Z_MV2RvUu5zLKCpOaN8Cbnh72uqaH99ZLA",
        "picture": {
          "url": "https://media.licdn.com/dms/image/v2/D4E03AQEjFjWHGRTC2Q/profile-displayphoto-shrink_800_800/B4EZcG0eZVHAAc-/0/1748166110665?e=1753920000&v=beta&t=HOMnbBij0Z_MV2RvUu5zLKCpOaN8Cbnh72uqaH99ZLA",
          "width": 800,
          "height": 800,
          "expiresAt": 1753920000000
        }
      }
    }
  ],
  "pagination": {
    "totalPages": 123,
    "totalElements": 123,
    "pageNumber": 123,
    "previousElements": 123,
    "pageSize": 123,
    "paginationToken": "<string>"
  },
  "status": "<string>",
  "error": "<string>"
}
Get reactions on a LinkedIn profile.
For example, it will scrape this page: https://www.linkedin.com/in/satyanadella/recent-activity/reactions/
const params = new URLSearchParams({
  profile: 'https://www.linkedin.com/in/satyanadella',
  // profileId: 'ACoAAAEkwwAB9KEc2TrQgOLEQ-vzRyZeCDyc6DQ', // profileId is preferable & faster
});
fetch(`https://api.harvest-api.com/linkedin/profile-reactions?${params.toString()}`, {
  headers: { 'X-API-Key': '<api-key>' },
})
  .then((response) => response.json())
  .then((data) => console.log(data));

Authorizations

X-API-Key
string
header
required

Query Parameters

profile
string

URL of the LinkedIn profile

profileId
string

Profile ID of the LinkedIn profile. It's faster to search by ID

page
integer
default:1

Page number for pagination. Default is 1

paginationToken
string<nullable>

Required for pages > 1. Use this token from the previous page response.

Response

200
application/json

Post reactions response

The response is of type object.