LinkedIn Company Posts API
The recent posts a company page shows logged-out visitors (about 10), with engagement{likes,comments}.
Pass a LinkedIn company URL and get the recent public posts its page shows a logged-out visitor — about 10. Older posts are not available: LinkedIn only shows them to signed-in members, and Captapi never signs in. Each row always includes id, url (www.linkedin.com — locale hosts like fr. are canonicalised), text, publishedAt, author{name,url}, and engagement{likes,comments}. likes and comments are real public counts (0 is a real zero). Homepage structured data often ships text without counts; we read each post page for reaction/comment totals. Every 200 includes totalReturned, nextCursor and hasMore (numeric offset). You can page through the posts the guest page shows with a smaller limit; when you reach the last of them, hasMore is false and truncatedReason is public_page_limit with a note — there is no deeper pagination. timings{nativeMs,totalMs} name the fetch. If the clock runs out after some posts were read, we return them with degraded=true and degradedReason=deadline. A page that exists but shows no posts publicly is 200 with an empty list, truncatedReason=no_public_posts and 0 credits. A page we could not read (including a sign-in wall) is 502 UPSTREAM_UNAVAILABLE, retryable, 0 credits. A company URL LinkedIn 404s is resolved to its live page name when there is a safe match (resolvedFrom), otherwise 404. Flat 1 credit. Pass cache=true for the 24h shared cache.
Request
- Base URL: https://api.captapi.com
- URL: https://api.captapi.com/v1/linkedin/company-posts
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Query parameters
LinkedIn company URL, e.g. https://linkedin.com/company/slug. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
Max items to return (default 20, max 100). Only the ~10 posts the public page shows are available. Flat 1 credit.
Pagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response (numeric offset, e.g. 5). A null nextCursor means the end of the list. Only the recent posts LinkedIn shows logged-out visitors (about 10) are available.
Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
Response
Success. The data object for this endpoint.
Changes
No recorded changes to this operation across all 3 revisions of this API.