Get LinkedIn Post Reactions
curl --request GET \
--url https://search.clado.ai/api/enrich/post-reactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://search.clado.ai/api/enrich/post-reactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://search.clado.ai/api/enrich/post-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://search.clado.ai/api/enrich/post-reactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://search.clado.ai/api/enrich/post-reactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://search.clado.ai/api/enrich/post-reactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://search.clado.ai/api/enrich/post-reactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"post_url": "https://www.linkedin.com/posts/alexjohnson_activity-123456789",
"total_reactions": 245,
"reaction_breakdown": {
"like": 180,
"love": 35,
"celebrate": 20,
"support": 8,
"insightful": 2
},
"reactions": [
{
"profile": {
"name": "Sarah Wilson",
"headline": "Product Manager at StartupCo",
"linkedin_url": "https://www.linkedin.com/in/sarahwilson"
},
"reaction_type": "like",
"timestamp": "2024-01-15T10:30:00Z"
}
],
"pagination": {
"current_page": 1,
"total_pages": 5,
"has_next": true
}
}
}Enrichment API
Get Post Reactions
Analyze LinkedIn post reactions and engagement
GET
/
api
/
enrich
/
post-reactions
Get LinkedIn Post Reactions
curl --request GET \
--url https://search.clado.ai/api/enrich/post-reactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://search.clado.ai/api/enrich/post-reactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://search.clado.ai/api/enrich/post-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://search.clado.ai/api/enrich/post-reactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://search.clado.ai/api/enrich/post-reactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://search.clado.ai/api/enrich/post-reactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://search.clado.ai/api/enrich/post-reactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"post_url": "https://www.linkedin.com/posts/alexjohnson_activity-123456789",
"total_reactions": 245,
"reaction_breakdown": {
"like": 180,
"love": 35,
"celebrate": 20,
"support": 8,
"insightful": 2
},
"reactions": [
{
"profile": {
"name": "Sarah Wilson",
"headline": "Product Manager at StartupCo",
"linkedin_url": "https://www.linkedin.com/in/sarahwilson"
},
"reaction_type": "like",
"timestamp": "2024-01-15T10:30:00Z"
}
],
"pagination": {
"current_page": 1,
"total_pages": 5,
"has_next": true
}
}
}Get detailed reaction data for LinkedIn posts, including who reacted and what type of reactions were given.
Get Specific Reaction Type:
Paginated Results:
Get Post Reactions
curl -X GET "https://search.clado.ai/api/enrich/post-reactions?url=https://www.linkedin.com/posts/alexjohnson_activity-123456789&page=1" \
-H "Authorization: Bearer YOUR_API_KEY"
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | LinkedIn post URL to analyze |
| page | integer | No | Page number for pagination (default: 1) |
| reaction_type | string | No | Filter by reaction type (like, love, celebrate, etc.) |
Examples
Get All Reactions:curl -X GET "https://search.clado.ai/api/enrich/post-reactions?url=https://www.linkedin.com/posts/alexjohnson_activity-123456789" \
-H "Authorization: Bearer YOUR_API_KEY"
curl -X GET "https://search.clado.ai/api/enrich/post-reactions?url=https://www.linkedin.com/posts/alexjohnson_activity-123456789&reaction_type=like" \
-H "Authorization: Bearer YOUR_API_KEY"
curl -X GET "https://search.clado.ai/api/enrich/post-reactions?url=https://www.linkedin.com/posts/alexjohnson_activity-123456789&page=2" \
-H "Authorization: Bearer YOUR_API_KEY"
Response
{
"data": {
"post_url": "https://www.linkedin.com/posts/alexjohnson_activity-123456789",
"total_reactions": 245,
"reaction_breakdown": {
"like": 180,
"love": 35,
"celebrate": 20,
"support": 8,
"insightful": 2
},
"reactions": [
{
"profile": {
"name": "Sarah Wilson",
"headline": "Product Manager at StartupCo",
"linkedin_url": "https://www.linkedin.com/in/sarahwilson"
},
"reaction_type": "like",
"timestamp": "2024-01-15T10:30:00Z"
},
{
"profile": {
"name": "David Chen",
"headline": "Software Engineer at InnovateTech",
"linkedin_url": "https://www.linkedin.com/in/davidchen"
},
"reaction_type": "celebrate",
"timestamp": "2024-01-15T11:45:00Z"
}
],
"pagination": {
"current_page": 1,
"total_pages": 5,
"has_next": true
}
}
}
Reaction Types
| Type | Description |
|---|---|
| like | Standard like reaction |
| love | Love/heart reaction |
| celebrate | Celebration reaction |
| support | Support reaction |
| insightful | Insightful reaction |
| funny | Funny/laugh reaction |
Error Responses
| Status Code | Description |
|---|---|
| 400 | Bad Request - Missing or invalid post URL |
| 401 | Unauthorized - API key missing or invalid |
| 402 | Payment Required - Insufficient credits |
| 404 | Not Found - Post not found or private |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error - Analysis service error |
Rate Limits
Rate limits vary by subscription tier:- Free Tier: 5 requests per minute
- Tier 1: 15 requests per minute
- Tier 2: 150 requests per minute
- Tier 3: 300 requests per minute
Notes
- Costs 1 credit per request
- Results are paginated with up to 50 reactions per page
- Some posts may be private or have restricted access
- Reaction data includes profile information of reactors
Authorizations
API key authentication. Keys start with 'lk_'.
Query Parameters
LinkedIn post URL to analyze reactions for (e.g., 'https://www.linkedin.com/posts/username_activity-123456789')
Page number for pagination of reaction results (default: 1)
Filter reactions by type (like, love, celebrate, support, insightful, funny)
Response
200 - application/json
Reactions retrieved
Show child attributes
Show child attributes