POST REACTIONS API
Everyone Who Reacted to a Post
Send a post URL and get the people and company pages that reacted to it as JSON, with name, headline, profile link and reaction type. Page through the full list with a cursor.
POST/api/v1/post/reactions
{
"cursor": 2,
"message": {
"reactions": [
{
"title": "Jane Smith",
"subtitle": "Owner at Example Projects",
"reaction_type": "LIKE"
}
],
"total": 211
}
}What is the Datamagnet Post Reactions API?
The Datamagnet Post Reactions API lists the people and company pages that reacted to a post, from the post URL, as structured JSON. Each reaction includes the name, headline, a profile link, a profile URN and the reaction type, such as LIKE, PRAISE or EMPATHY. A page cursor walks the full list, and total gives the overall reaction count.
- Input
- Post URL
- Cost
- 10 credits per page
- Freshness
- Live at request time
One request
Authenticate with your API key as a bearer token and send a JSON body. This is the request behind the sample response.
POST /api/v1/post/reactions- Input: Post URL
- Cost: 10 credits per page
curl -X POST \
"https://api.datamagnet.co/api/v1/post/reactions" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.linkedin.com/feed/update/urn:li:activity:7430615551086850048", "page": 1}'→ 200 OK · 10 credits
{ "cursor": 2, "message": { "reactions": [ { "title": "Jane Smith", "subtitle": "Owner at Example Projects", "navigation_url": "https://www.linkedin.com/in/ACoAADRTEF0B...", "action_urn": "urn:li:fsd_profile:ACoAADRTEF0B...", "reaction_type": "LIKE" }, ... ], "total": 211 }}
What you get
The main fields in the response. The Post Reactions reference documents every field.
| Field | Type | Description |
|---|---|---|
title | string | Name of the person, or the company page, that reacted. |
subtitle | string | The person’s headline. |
navigation_url | string | Link to the profile (usually the id form, /in/ACoA...) or to /company/... for a page. |
reaction_type | string | LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION or ENTERTAINMENT. |
action_urn | string | URN of the person’s profile. null for a company page. |
image.profile_pic | string | Profile picture URL. null when there is none. |
total | integer | Total number of reactions on the post. |
cursor | integer | null | Next page number. null when there are no more pages. |
Use cases
Audiences from engagement
Turn the people who reacted to a competitor’s or an industry post into a list of profiles that showed interest in the topic.
Filter by reaction
Every reaction type is returned. Filter on reaction_type to keep only the ones you want, such as PRAISE or INTEREST.
Enrich the reactors
navigation_url is usually the id form of the profile link. The People API accepts it and returns the full profile with the vanity username.
Frequently asked questions
List your first reactions with 10 free credits
No credit card required. Get an API key and turn a post’s reactions into a list in a few minutes.
- 10 credits per page
- Charged only on success
- People and company pages
Interactive Demo
~15 minutes
Get your API key
1 minPOST a post URL
1 minPage until cursor is null
Instant