Get recent posts from a LinkedIn company page by URL. Returns post content, engagement metrics (likes, comments, shares, reaction breakdowns), author info, images, videos, and pagination info.
curl "https://apidirect.io/v1/linkedin/company/posts?url=https://www.linkedin.com/company/visualsoft-uk-ltd&page=1" \
-H "X-API-Key: YOUR_API_KEY"
{
"posts": [
{
"url": "https://www.linkedin.com/feed/update/urn:li:activity:...",
"text": "Exciting news from our team...",
"sentiment": {
"emotions": {
"joy": 40,
"trust": 55,
"fear": 0,
"surprise": 10,
"sadness": 0,
"disgust": 0,
"anger": 0,
"anticipation": 30
},
"dominant_emotion": "trust",
"emotional_intensity": 5,
"polarity": "positive"
},
"date": "2024-01-15 10:30:00",
"author": "Company Name",
"likes": 46,
"comments": 3,
"shares": 5,
"reactions": {"like": 40, "empathy": 4, "praise": 2},
"is_repost": false,
"images": ["https://media.licdn.com/..."],
"video": null
}
],
"page": 1,
"count": 10,
"total": 462
}