API Reference
LinkedIn Post Reactions
Retrieve reactions (likes, comments, shares) for a specific LinkedIn post
GET
Get detailed reaction data for any LinkedIn post including who reacted and what type of reaction they gave. This endpoint uses RapidAPI to fetch real-time reaction data from LinkedIn.
Get Post Reactions
Query Parameters
Parameter | Type | Required | Description |
---|---|---|---|
url | string | Yes | LinkedIn post URL to get reactions for |
page | integer | No | Page number for pagination (default: 1) |
reaction_type | string | No | Type of reaction to filter by (leave empty for all reactions) |
Response
Response (No Reactions)
Response Fields
Field | Type | Description |
---|---|---|
success | boolean | Whether the request was successful |
message | string | Status message from the API |
data | object | Container for the reaction data |
data.currentPage | integer | Current page number |
data.items | array | Array of reaction objects |
data.total | integer | Total number of reactions |
data.totalPages | integer | Total number of pages available |
Reaction Item Fields
Field | Type | Description |
---|---|---|
id | integer | Unique identifier for the reaction |
urn | string | LinkedIn URN for the person who reacted |
fullName | string | Full name of the person who reacted |
profileType | string | Type of profile (typically “user”) |
profileUrl | string | LinkedIn profile URL of the person |
reactionType | string | Type of reaction (LIKE, LOVE, CELEBRATE, SUPPORT, FUNNY, ANGRY, PRAISE, APPRECIATION, EMPATHY) |
profilePicture | array/null | Array of profile picture objects with different sizes, or null if no picture |
headline | string | LinkedIn headline of the person |
Profile Picture Object
Field | Type | Description |
---|---|---|
width | integer | Width of the image in pixels |
height | integer | Height of the image in pixels |
url | string | URL to the profile picture image |
Error Responses
Status Code | Description |
---|---|
400 | Bad Request - Invalid LinkedIn post URL format |
401 | Unauthorized - API key missing or invalid |
402 | Payment Required - Insufficient credits (costs 1 credit) |
422 | Validation Error - Missing required ‘url’ parameter |
500 | Internal Server Error - Error processing request |
Notes
- Each request costs 1 credit
- Supports pagination for posts with many reactions
- Filter by specific reaction types or get all reactions
- Real-time data fetched directly from LinkedIn via RapidAPI
- Reaction types include: LIKE, LOVE, CELEBRATE, SUPPORT, FUNNY, ANGRY, PRAISE, APPRECIATION, EMPATHY
- Profile pictures are provided in multiple sizes (typically 100x100, 200x200, 400x400, 800x800)
- Some profiles may not have profile pictures (profilePicture will be null)
Authorizations
API key must be provided as a Bearer token in the Authorization header. Example: lk_your_api_key_here
Query Parameters
LinkedIn post URL to get reactions for.
Page number for pagination.
Required range:
x >= 1
Type of reaction to filter by (optional).
Response
200
application/json
Successful post reactions retrieval
The response is of type object
.