Skip to main content
POST
/
intents
/
leads
/
reactions
Extract reactions from a LinkedIn profile
curl --request POST \
  --url https://app.pipecorn.com/api/v2/intents/leads/reactions \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "linkedin_profile_url": "https://www.linkedin.com/in/john-doe",
  "limit": 10
}
'
import requests

url = "https://app.pipecorn.com/api/v2/intents/leads/reactions"

payload = {
"linkedin_profile_url": "https://www.linkedin.com/in/john-doe",
"limit": 10
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({linkedin_profile_url: 'https://www.linkedin.com/in/john-doe', limit: 10})
};

fetch('https://app.pipecorn.com/api/v2/intents/leads/reactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://app.pipecorn.com/api/v2/intents/leads/reactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'linkedin_profile_url' => 'https://www.linkedin.com/in/john-doe',
'limit' => 10
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://app.pipecorn.com/api/v2/intents/leads/reactions"

payload := strings.NewReader("{\n \"linkedin_profile_url\": \"https://www.linkedin.com/in/john-doe\",\n \"limit\": 10\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://app.pipecorn.com/api/v2/intents/leads/reactions")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"linkedin_profile_url\": \"https://www.linkedin.com/in/john-doe\",\n \"limit\": 10\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://app.pipecorn.com/api/v2/intents/leads/reactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedin_profile_url\": \"https://www.linkedin.com/in/john-doe\",\n \"limit\": 10\n}"

response = http.request(request)
puts response.read_body
{
  "reactions": [
    {
      "id": "1234567890123456789",
      "reaction_type": "CELEBRATE",
      "post_url": "https://www.linkedin.com/posts/jane-smith_post-title-activity-1234567890123456789-abcd",
      "author": "Jane Smith",
      "author_url": "https://www.linkedin.com/in/jane-smith",
      "reacted_at": "2026-03-11",
      "urn": "urn:li:activity:1234567890123456789"
    }
  ]
}
{
"error": 400,
"message": "Missing required keys: linkedin_profile_url, limit"
}
{
"error": 404,
"message": "LinkedIn profile not found"
}
Extract the LinkedIn reactions left by a profile on other people’s posts. This endpoint paginates through the profile’s feed activity and filters for reaction-type elements, returning up to the specified limit.

Use Cases

  • Surface intent signals from prospects actively engaging with relevant content
  • Identify which topics a lead is reacting to (celebrating, finding insightful, etc.) to personalise outreach
  • Track engagement patterns of key prospects or customers
  • Enrich lead profiles with recent activity data

Parameters

Required Parameters

  • linkedin_profile_url: LinkedIn profile URL to extract reactions from (e.g., https://www.linkedin.com/in/mathieu-brun-picard/)
  • limit: Maximum number of reactions to extract (minimum: 1)

Response

The response includes an array of reactions with the following fields:
  • id: Numeric activity ID extracted from the URN
  • reaction_type: Type of reaction — one of LIKE, CELEBRATE, INSIGHTFUL, FUNNY, SUPPORT, LOVE
  • post_url: Full LinkedIn URL of the post that was reacted to
  • author: Full name of the post author
  • author_url: LinkedIn profile URL of the post author
  • reacted_at: Date when the reaction was made (YYYY-MM-DD format)
  • urn: LinkedIn URN identifying the activity (urn:li:activity:<id>)

Example Request

curl --request POST \
  --url https://app.pipecorn.com/api/v2/intents/leads/reactions \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: your-api-key' \
  --data '{
    "linkedin_profile_url": "https://www.linkedin.com/in/mathieu-brun-picard/",
    "limit": 10
  }'

Example Response

{
  "reactions": [
    {
      "id": "1234567890123456789",
      "reaction_type": "CELEBRATE",
      "post_url": "https://www.linkedin.com/posts/jane-smith_post-title-activity-1234567890123456789-abcd",
      "author": "Jane Smith",
      "author_url": "https://www.linkedin.com/in/jane-smith",
      "reacted_at": "2026-03-11",
      "urn": "urn:li:activity:1234567890123456789"
    },
    {
      "id": "9876543210987654321",
      "reaction_type": "INSIGHTFUL",
      "post_url": "https://www.linkedin.com/posts/bob-jones_another-post-activity-9876543210987654321-efgh",
      "author": "Bob Jones",
      "author_url": "https://www.linkedin.com/in/bob-jones",
      "reacted_at": "2026-03-10",
      "urn": "urn:li:activity:9876543210987654321"
    },
    {
      "id": "1122334455667788990",
      "reaction_type": "LIKE",
      "post_url": "https://www.linkedin.com/posts/alice-martin_third-post-activity-1122334455667788990-ijkl",
      "author": "Alice Martin",
      "author_url": "https://www.linkedin.com/in/alice-martin",
      "reacted_at": "2026-03-09",
      "urn": "urn:li:activity:1122334455667788990"
    }
  ]
}

Notes

  • This endpoint returns results synchronously (HTTP 200 OK) — no polling required
  • The service paginates through the profile’s feed until the limit is reached or the feed is exhausted
  • reaction_type reflects the LinkedIn reaction emoji: LIKE (👍), CELEBRATE (👏), INSIGHTFUL (💡), FUNNY (😄), SUPPORT (🤝), LOVE (❤️)
  • author_url is returned with tracking query parameters stripped

Authorizations

X-API-KEY
string
header
required

Body

application/json
linkedin_profile_url
string<uri>
required

LinkedIn profile URL to extract reactions from

Example:

"https://www.linkedin.com/in/john-doe"

limit
integer
required

Maximum number of reactions to extract

Required range: x >= 1
Example:

10

Response

Successfully extracted reactions

reactions
object[]

Array of reactions left by the LinkedIn profile on other posts