# List comments on a post

### List comments on a post

`GET /keyless-api/v1/linkedin/posts/{postId}/comments`

Operation ID: `listLinkedinPostComments`

Returns who commented on a post and what they wrote, or the replies to one comment. People who comment are warm leads: open their profiles next. Counts as one of your 5 post lookups (posts, comments and reactions) a day.

**Path parameters**

- `postId` (string, required): Post id as returned by a post listing or search. An id copied from a post URL often does not resolve.

**Query parameters**

- `commentId` (string, optional): Read replies to this comment instead of top-level comments.
- `sortBy` ("MOST_RECENT" | "MOST_RELEVANT", optional)
- `cursor` (string, optional): cursor from the previous page, with the same search. It expires when the search can no longer be continued: then start again without it.
- `limit` (integer, optional): Results per page, at most 25.

**200**: Comments and a cursor for the next page.

- `comments` (object[], required)
- `cursor` (string | null, required)
- `requestId` (string · uuid, required): Id of this request, for support and troubleshooting
- `info` (KeylessInfo, required)
  - `message` (string, required)
  - `signUpUrl` (string, required): Create a Needle account.
  - `apiKeysUrl` (string, required): Create an API key for the full API once signed in.
  - `apiReferenceUrl` (string, required): Every endpoint of the full API.
  - `mcpUrl` (string, required): Connect Needle to an agent over MCP.

**Errors**

- `400`: The input asks for something the keyless API does not offer, or a cursor is not valid.
- `404`: Nothing was found at this address.
- `410`: The search behind this cursor can no longer be continued. Start again without the cursor.
- `422`: The input does not match the schema.
- `429`: This IP has used its calls of this kind for today. Other kinds may still have calls left. The Retry-After and X-RateLimit-Reset headers say when they start over.
- `503`: The keyless API cannot serve this right now. Retry-After says when to try again.
