---
title: "Scrape LinkedIn post likes"
method: POST
path: "/collect/linkedin/likes"
tags: ["scrapers"]
---

# Scrape LinkedIn post likes

`POST /collect/linkedin/likes`

Returns up to 100 profiles per page that reacted to the specified post. Each profile carries name, headline, profileUrl, profileUrn, publicIdentifier, imageUrl (avatar), and reactionType (LIKE/CELEBRATE/EMPATHY/INTEREST/PRAISE/APPRECIATION). When campaignSlug is provided, also includes knownDistance (cached connection degree from recent visits) and actionsCompleted (message/reply/like/visit/connect booleans). Supports pagination. Use count=0 to get only the total count without profile data.

## Request body

- object
  - `postUrl` string, required — LinkedIn post URL to inspect for reactions.
  - `start` integer — Pagination offset (multiples of 100).
  - `count` integer — Number of likes to fetch per page (0-100, default 100). Use count=0 to fetch only the total count without profile data.
  - `campaignSlug` string — Campaign ID. Auto-adds discovered contacts to this campaign in background.
  - `omitData` boolean — When true, returns only counts (no profiles array). Data is still saved to DB.

## Response `200`

List of profiles who liked the post

- object
  - `success` true, required
  - `profiles` object[], required
    - `name` string, required
    - `headline` string, nullable, required
    - `profileUrl` string, nullable, required
    - `imageUrl` string, nullable, required
    - `publicIdentifier` string, nullable, required — Vanity slug from profile URL (e.g. john-doe) when not URN-based
    - `profileUrn` string, nullable, required — LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...) when available
    - `type` 'like', required
    - `reactionType` string — Reaction type (e.g. 'LIKE', 'CELEBRATE', 'EMPATHY', 'INTEREST', 'PRAISE', 'APPRECIATION').
  - `count` integer, required — Number of profiles returned in this page.
  - `total` integer, required — Total number of likes on the post.
  - `start` integer, required — Pagination offset used for this response.
  - `hasMore` boolean, required — True when more pages are available beyond this one.
  - `previousTotal` integer, nullable, required — The total from your last call to this endpoint for the same post (null on first call). Compare with total to detect new likes without client-side tracking.
  - `creditsUsed` integer, required — Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
  - `retryAfter` integer, required — Seconds to wait before making another call of the same type. 0 means no wait needed.

## Other responses

- `400` — The server cannot or will not process the request due to something that is perceived to be a client error.
- `401` — Although HTTP specifies "unauthorized", this response means "unauthenticated". Authenticate to continue. NOTE: 401 is also returned with code "linkedin_not_connected" when the caller IS authenticated but has no connected LinkedIn account — connect LinkedIn (not re-authenticate) to continue.
- `403` — The client does not have access rights to the content.
- `404` — The server cannot find the requested resource.
- `409` — The request conflicts with the current state of the server.
- `410` — The requested content has been permanently deleted from the server.
- `422` — The request was well-formed but was unable to be followed due to semantic errors.
- `429` — Rate limit exceeded. Read error.retryAfter for the wait time in seconds.
- `500` — The server encountered a situation it does not know how to handle.
- `502` — LinkedIn returned a server error or the proxy connection failed. Retry after a few seconds.
- `503` — Proxy capacity temporarily exceeded. Retry after a few seconds.

---

[API](https://skmtc.net/berea/apis/bereach-api.md) · [All operations](https://skmtc.net/berea/apis/bereach-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/berea/bereach-api/revisions/3caf12036b26/schema)
