LinkedIn

LinkedIn Company Posts

Retrieve recent posts published by a specific LinkedIn company page. Returns post content, engagement metrics (likes, comments, shares, reaction breakdowns), author info, images, videos, and pagination info. Pass the full company page URL.

Price: $0.006 per request. Free tier: 50 requests/month.

get/v1/linkedin/company/posts

Request

  • Base URL: https://apidirect.io
  • URL: https://apidirect.io/v1/linkedin/company/posts
  • Auth: API key in header X-API-Key

Query parameters

urlstring required

Full URL of the LinkedIn company page (max 500 characters)

pageinteger

Page number, 1-50 (default: 1). 10 posts per page; LinkedIn serves a company page's newest 500 posts. Values below 1 are treated as 1; a page above 50 returns 400.

get_sentimentboolean

Set to true to add AI emotion analysis to each post. Adds a sentiment object containing emotions (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), dominant_emotion, emotional_intensity (0-10), and polarity (positive, negative or neutral). Any post that cannot be scored returns sentiment: null.

Response

Successful response

countnumber nullable
pagenumber nullable
totalnumber nullable

Changes

No recorded changes to this operation across all 1 revision of this API.