API Direct
Endpoints
LinkedIn Post Details

LinkedIn Post Details

GET /v1/linkedin/post
Documentation

Get detailed information about a specific LinkedIn post by URL. Returns full post text, author details, and engagement metrics including likes, comments, shares, and reaction type breakdowns.

Cost
$0.006 per request
Free tier
50 requests/month

Parameters

url *
LinkedIn post URL (max 500 characters)
get_sentiment
Set to true to add AI emotion analysis (+$0.001/request)

Example Request

curl "https://apidirect.io/v1/linkedin/post?url=https://www.linkedin.com/feed/update/urn:li:activity:7219434359085252608" \
  -H "X-API-Key: YOUR_API_KEY"

Example Response

{
  "url": "https://www.linkedin.com/feed/update/urn:li:activity:7219434359085252608",
  "text": "Excited to share our latest project on AI...",
  "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-07-15 10:30:00",
  "author": "Jane Smith",
  "author_description": "1,234 followers",
  "author_image": "https://media.licdn.com/...",
  "author_url": "https://www.linkedin.com/in/janesmith/",
  "likes": 142,
  "comments": 23,
  "shares": 8,
  "reactions": {
    "like": 100,
    "celebrate": 25,
    "support": 17
  },
  "is_repost": false,
  "images": ["https://media.licdn.com/..."],
  "links": [],
  "urn": "urn:li:activity:7219434359085252608",
  "source": "LinkedIn",
  "domain": "linkedin.com"
}

Your Usage

Free tier this month
Loading...
Recent Activity