# Scrape a LinkedIn company page's posts with likes, comments and reposts

Name a LinkedIn company page. RouterGrowth reads its recent public posts and returns them as rows with text, link, date, likes, comments and reposts. There is no browser extension to keep logged in and no script to fix when LinkedIn changes its pages; the agent gets the posts and works on them.

HTML page: https://www.routergrowth.com/tools/linkedin/post-scraper
Part of: [LinkedIn tools](https://www.routergrowth.com/tools/linkedin.md)

## The call

[`social.posts`](https://www.routergrowth.com/catalog/social.posts): Recent public posts for a social handle.

Price on this network: $0.0035 per post plus $0.000088 per call, $0.002 minimum a call. The exact quote is shown before every run.

## What a real run returned

Run on 2026-10-19: 6 records in 8.4 s for $0.021088. Personal fields are masked. Six posts read from Canva's company page; five are Canva's own and one is a post by another company that appeared in the page feed.

| text | created_at | likes | replies | reposts |
|---|---|---|---|---|
| Still manually resizing your posts? Not after this quick tip from #DesignSchool. Learn more here https://lnkd.in/e_bUwNWp #CanvaWorldTour | 2026-10-15 | 68 | 12 | 6 |
| Have you heard? New bite-sized lessons from our partners have just landed in Design School. Learn how to level up your workflow and unlock… | 2026-10-14 | 113 | 5 | 22 |
| “Sending over a quick pre-read ahead of the meeting...” But how many pages is too many pages? 👀 | 2026-10-13 | 130 | 9 | 4 |

## How to do it

1. **Connect RouterGrowth once.** Add the MCP server to Claude, ChatGPT, Claude Code, Codex or Cursor. A new workspace starts with $1 of credit, enough to run this example many times.
2. **Pick the page.** Give the company page as company/canva or its full URL, and how many posts to read.
3. **Get the posts.** social.posts returns each post with its link, text, date and engagement.
4. **Compare and report.** Ask which topics drew the most comments, or line the page up against a competitor's.

## Ask it like this

- Scrape Canva's last 30 LinkedIn posts and tell me which formats get the most reposts. (`social.posts`)
- Compare the last 20 posts of these three company pages by average comments per post. (`social.posts`)
- Take the post with the most comments on our page and summarise what people asked under it. (`social.posts`, `social.comments`)

## Connect

MCP server: `https://api.routergrowth.com/mcp`

```bash
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
```

```bash
npm install -g routergrowth && routergrowth setup
routergrowth run -c social.posts -i '{"platform": "linkedin", "handle": "company/canva", "limit": 6}'
```

```bash
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "social.posts", "input": {"platform": "linkedin", "handle": "company/canva", "limit": 6}}'
```

## Worth knowing

- **No extension, no login.** The posts are read on RouterGrowth's providers. Your LinkedIn session is never used.
- **Check the author.** In this run one of six posts came from another company. Filter on author when only the page's own posts matter.
- **Engagement, not reach.** Likes, comments and reposts come back; impressions are private to page admins and are not returned.

## Questions

### Can it scrape a page I do not manage?

Yes, when the page and its posts are public. No admin access is needed.

### Does it return impressions?

No. Only public engagement: likes, comments and reposts.

### Can I get the comments too?

Yes. Pass a post URL to social.comments to read the thread under it.

### How far back does it go?

Set limit to the number of recent posts you want. Sort on created_at if the order matters.

## Related

- [Get a company's LinkedIn firmographics from its domain in one call](https://www.routergrowth.com/tools/linkedin/company-scraper.md)
- [Scrape LinkedIn from a Python script with a single POST request](https://www.routergrowth.com/tools/linkedin/scrape-python.md)
- [Search people the way LinkedIn search does, from one API call](https://www.routergrowth.com/tools/linkedin/search-api.md)
- [Scrape LinkedIn posts that mention a keyword, without running a scraper](https://www.routergrowth.com/tools/linkedin/scraper.md)
- [Get a company's LinkedIn job postings from one API call](https://www.routergrowth.com/tools/linkedin/jobs-api.md)
- [Scrape LinkedIn jobs for a title in a city, without a scraper to run](https://www.routergrowth.com/tools/linkedin/job-scraper.md)
- [What reading LinkedIn company posts costs when you pay per record](https://www.routergrowth.com/tools/linkedin/api-costs.md)
- [How Claude reads public LinkedIn posts, jobs and companies](https://www.routergrowth.com/tools/linkedin/claude.md)
- [Read a LinkedIn company page's posts through one REST call](https://www.routergrowth.com/tools/linkedin/api.md)
