---
title: "List LinkedIn profile comments"
method: POST
path: "/api/v1/platform/scrapers/linkedin/profile-comments"
tags: ["Scrapers"]
---

# List LinkedIn profile comments

`POST /api/v1/platform/scrapers/linkedin/profile-comments`

Fetch recent LinkedIn posts a public profile has commented on.

## Request body

- PlatformLinkedInProfileActivityDto
  - `profiles` string[], required — LinkedIn profile URLs or public profile usernames.
  - `maxItems` number
  - `postedLimit` 'any' | '24h' | 'week' | 'month' | '3months' | '6months' | 'year' — Fetch posts no older than this time window.

## Response `200`

LinkedIn profile comments.

- object
  - `data` LinkedInProfileCommentResponseDto[], required
    - `id` string, nullable
    - `profileUrl` string, required
    - `profileUsername` string, required
    - `commentText` string, required
    - `commentedAt` string, nullable
    - `sourceUrl` string, nullable
    - `post` LinkedInProfileActivityPostResponseDto, required
      - `postId` string, nullable
      - `postUrl` string, nullable
      - `text` string, nullable
      - `authorName` string, nullable
      - `authorProfileUrl` string, nullable
      - `authorCompanyUrl` string, nullable
      - `postedAt` string, nullable
      - `reactionCount` number, nullable
      - `commentCount` number, nullable
      - `repostCount` number, nullable
    - `actor` LinkedInProfileActivityActorResponseDto
      - `id` string, nullable
      - `type` 'profile' | 'company', nullable
      - `name` string, nullable
      - `linkedinUrl` string, nullable
      - `position` string, nullable
      - `universalName` string, nullable
      - `pictureUrl` string, nullable
  - `meta` PublicResponseMetaDto, required
    - `requestId` string, required

## Other responses

- `400` — The request body or parameters are invalid.
- `401` — Authentication is required.
- `402` — The organization does not have enough credits for this request.
- `500` — An unexpected error occurred.
- `502` — The upstream service could not complete the request.

---

[API](https://skmtc.net/thehog/apis/the-hog-api.md) · [All operations](https://skmtc.net/thehog/apis/the-hog-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thehog/the-hog-api/versions/f5056017668a/schema)
