LinkedIn Company Posts Scraper
Scrape recent public LinkedIn company posts from a company slug or URL, including post URL, text, author name, and published timestamp when exposed in public structured data.
Overview
LinkedIn Company Posts Scraper gives agents a focused public-company monitoring primitive. Provide a LinkedIn company slug or URL and the tool reads the logged-out company page, extracts public post objects from LinkedIn's structured data, and returns a clean list of recent updates ready for research, content analysis, or alerting workflows.
Last validated: Jul 3, 2026
Playground
Input
slugstringLinkedIn company slug, such as openai. Use company_url or slug.
max_postsintegerdefault: 8Maximum recent public posts to return.
company_urlstring (uri)Public LinkedIn company URL. Use company_url or slug.
max_text_charsintegerdefault: 1200Maximum characters per returned post text.
Output
slugstringrequiredLinkedIn company slug
countintegerrequiredNumber of posts returned
postsobject[]requiredRecent public LinkedIn company posts
company_urlstringrequiredCanonical LinkedIn company URL
company_namestringCompany name
Examples
openai-posts
{
"slug": "openai",
"max_posts": 3,
"max_text_chars": 800
}Use cases
FAQ
Does LinkedIn Company Posts Scraper require login cookies?
No. Version 0.1 reads public structured data from the logged-out company page and does not use passwords, exported sessions, or private LinkedIn API tokens.
Does it paginate through every company post?
No. Version 0.1 returns the recent posts LinkedIn exposes on the public company page. Deep pagination and full activity feeds remain future validated slices.
Does it return reactions or comments?
No. This version returns post URL, text, author, and timestamp. Reaction counts, comment counts, and media attachment expansion should be added separately.
Use it anywhere
MCP (Claude, Cursor, any client)
# Add the Better Fetch MCP connector (or paste the URL into # Claude → Settings → Connectors → Add custom connector): claude mcp add --transport http better-fetch https://betterfetch.co/api/mcp \ --header "Authorization: Bearer bf_your_key_here" # Then ask for the tool by name: linkedin_company_posts_scraper
REST
curl -sS -X POST "https://betterfetch.co/api/tools/linkedin_company_posts_scraper/run" \
-H "Authorization: Bearer bf_your_key_here" \
-H "Content-Type: application/json" \
-d '{"input": {"slug":"openai","max_posts":3,"max_text_chars":800}}'Run locally
git clone https://github.com/better-fetch/linkedin-company-posts-scraper && cd linkedin-company-posts-scraper && npm i
BETTER_FETCH_API_KEY=bf_your_key_here npx bf-tool run --input '{"slug":"openai","max_posts":3,"max_text_chars":800}'