---
title: "LinkedIn proxy: scrape likers and/or commenters of the account's recent posts"
method: GET
path: "/api/linkedin/{account_id}/scrape-my-posts"
tags: ["LinkedIn – Posts"]
---

# LinkedIn proxy: scrape likers and/or commenters of the account's recent posts

`GET /api/linkedin/{account_id}/scrape-my-posts`

## Request

- Base URL: `https://api.reachmcp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.reachmcp.com/api/linkedin/{account_id}/scrape-my-posts`
- Auth: API key in header `X-API-Key`

Fetches recent posts published by the connected LinkedIn account (via the ``MY_POSTS_ALL`` notification feed), then retrieves likers and/or commenters for each post using the Voyager GraphQL reactions/comments APIs.

**Parameters:**

- ``liked`` — include people who liked each post (paginated, up to all reactions)
- ``comments`` — include people who commented on each post (paginated, up to all comments)
- ``since_hours`` — only consider posts published within the last N hours (default 24)
- ``max_posts`` — maximum number of posts to process (default 10, max 20)

At least one of ``liked`` or ``comments`` must be ``true``.

Each item in ``items`` has ``type='like'`` or ``type='comment'``. Comment items also carry ``comment_id`` (full URN) and ``comment_text``.

## Path parameters

- `account_id` integer, required

## Query parameters

- `liked` boolean: Include people who liked each post.
- `comments` boolean: Include people who commented on each post.
- `since_hours` integer: Only consider posts published within the last N hours.
- `max_posts` integer: Maximum number of posts to process.

## Response `200`

Successful Response

- LinkedInScrapeMyPostsOut: Engagers across recent posts published by the connected account.
  - `posts` LinkedInMyPostOut[], required
    - `post_urn` string, required
    - `post_url` string, required: Public LinkedIn URL of the post.
    - `post_text` string, nullable: Excerpt of the post text (from the notification card).
    - `published_at` string, date-time, nullable: ISO 8601 UTC timestamp of the post.
    - `total_likes` integer, nullable
    - `total_comments` integer, nullable
    - `items` LinkedInPostEngagerOut[], required
      - `type` string, required: ``like`` or ``comment``.
      - `linkedin_id` string, nullable
      - `linkedin_public_id` string, nullable
      - `firstname` string, nullable
      - `lastname` string, nullable
      - `full_name` string, nullable
      - `headline` string, nullable
      - `picture` string, nullable
      - `comment_id` string, nullable: Full comment URN (comments only).
      - `comment_text` string, nullable
      - `reply_to_comment_id` string, nullable: URN of the parent comment when this item is a reply.
      - `created_at` string, date-time, nullable: ISO 8601 UTC timestamp of the like or comment.
  - `total_posts` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/reachmcp/apis/mcp-reach.md) · [All operations](https://skmtc.dev/reachmcp/apis/mcp-reach/llms.txt) · [OpenAPI document](https://skmtc.dev/reachmcp/apis/mcp-reach/revisions/1a85fdaf3f7c?raw)
