Call it
curl https://api.peume.com/v1/call/linkedin-post-reactions-by-url-or-urn \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"postUrlOrUrn": "urn:li:activity:7508596155145043968",
"count": 100,
"start": 0
}
}'const res = await fetch("https://api.peume.com/v1/call/linkedin-post-reactions-by-url-or-urn", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"postUrlOrUrn": "urn:li:activity:7508596155145043968",
"count": 100,
"start": 0
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/linkedin-post-reactions-by-url-or-urn",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"postUrlOrUrn": "urn:li:activity:7508596155145043968",
"count": 100,
"start": 0
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: linkedin-post-reactions-by-url-or-urn.
Parameters
postUrlOrUrnRequiredstringPost URL, activity URN or share URN.
Example: urn:li:activity:7508596155145043968
countintegerExample: 100
startintegerExample: 0
Other ways to do it
Same job, other sources, cheapest first.
List a post's reactionsBest sourceList a post's reactions. Checks the cheapest source first and moves to the next one until it finds an answer.Get reactions to a LinkedIn postGet reactions of LinkedIn post by post URL.LinkedIn post reactions by post idRetrieves LinkedIn reaction records for a post, optionally filtered by reaction type and page.
