API ReferenceLinkedIn Company Posts API

LinkedIn Company Posts API

The LinkedIn Company Posts API retrieves recent posts from a LinkedIn company page, including engagement metrics, post text, images, and author information.

Endpoint

https://api.socialkit.dev/linkedin/company-posts

Example Request

GET https://api.socialkit.dev/linkedin/company-posts?access_key=<your-access-key>&url=https://www.linkedin.com/company/openai/&limit=10

Response

{
	"success": true,
	"data": {
		"url": "https://www.linkedin.com/company/openai/",
		"posts": [
			{
				"id": "7209876543210123456",
				"text": "We're thrilled to announce that GPT-5 is now available to all ChatGPT users. This is our most capable model to date, featuring enhanced reasoning and multimodal understanding.",
				"likes": 18400,
				"comments": 1200,
				"shares": 3500,
				"imageUrl": "https://media.licdn.com/dms/image/D4E22AQF_example/feedshare-shrink_1280/0/1719000000000",
				"publishedAt": "2026-06-20T14:00:00.000Z",
				"author": {
					"name": "OpenAI",
					"url": "https://www.linkedin.com/company/openai/"
				}
			},
			{
				"id": "7209800000000111111",
				"text": "Join us for our upcoming webinar on AI safety and alignment research. Register at the link below.",
				"likes": 4200,
				"comments": 310,
				"shares": 890,
				"imageUrl": null,
				"publishedAt": "2026-06-15T09:30:00.000Z",
				"author": {
					"name": "OpenAI",
					"url": "https://www.linkedin.com/company/openai/"
				}
			}
		]
	}
}

Parameters

url string Required
The LinkedIn company page URL (e.g. https://www.linkedin.com/company/openai/).


access_key string Required
Your API access key. Can be provided via the access_key query parameter, x-access-key header, or request body.


limit number Optional Defaults to 10
The number of posts to return. Maximum value is 50.


cache boolean Optional Defaults to false
Cache the response for faster subsequent requests.


cache_ttl number Optional Defaults to 2592000
Cache the response for a custom TTL (in seconds). Maximum 2592000 seconds (1 month), minimum 3600 seconds (1 hour).

Response Fields

The API returns the following data fields:

  • url: The original LinkedIn company page URL provided
  • posts: Array of recent post objects
    • id: Unique post ID string
    • text: The text content of the post
    • likes: Total like/reaction count (number)
    • comments: Total comment count (number)
    • shares: Total share count (number)
    • imageUrl: URL to the post’s primary image, or null if no image is attached
    • publishedAt: ISO 8601 timestamp of when the post was published
    • author: Object containing name and url of the posting entity

Use Cases

  • Content Strategy: Analyze what types of posts drive engagement for top brands
  • Competitive Benchmarking: Track competitor content cadence and performance
  • Brand Monitoring: Stay up to date on announcements from key companies in your space
  • Lead Intelligence: Understand what a target company is actively promoting
  • Content Aggregation: Build feeds or digests of company activity for newsletters or dashboards
  • Market Research: Identify trends in how companies communicate with their LinkedIn audience
  • PR Tracking: Monitor press releases and campaign posts from public companies

Notes

  • Posts are returned in reverse chronological order (newest first)
  • Only publicly visible posts are returned; member-only or restricted posts are excluded
  • imageUrl is null for text-only posts or video posts without a thumbnail
  • The shares count reflects LinkedIn reposts and may differ from the figure shown in the LinkedIn UI