Read-only

List LinkedIn Post Comments

List the comments on a LinkedIn post, returning 1 to 100 at a time sorted by most relevant or most recent. Accepts a post ID, activity URN, or feed URN, and extracts the activity ID automatically. The returned total counts top-level comments only, which is usually lower than the comment count from get_cached_post_analytics since that figure includes nested replies.

list_post_commentsGET/api/v1/content/posts/{post_id}/comments
crispy — bash

Example prompt: List the most recent comments on post urn:li:activity:7012345678901234567

{
  "total": 18,
  "comments": [
    {
      "comment_id": "urn:li:comment:891011",
      "author": "Mark Lee",
      "text": "Totally agree, this matches what we saw last quarter."
    }
  ]
}
Permission scope
core
Access
Read-only
Category
Content

What you can build

Find unanswered comments worth replying to on your posts
Read what people are saying on a prospect's post before reaching out
Surface the most relevant commenters to prioritize engagement
Page through a busy comment section to capture every thread

Parameters

Inputs accepted by list_post_comments.

NameTypeDescription
post_idstringPost ID, activity URN (urn:li:activity:123456789), or feed URN. All formats accepted - the activity ID is extracted automatically.
limitnumberMax number of comments to return (1-100, default 20)
cursorstringPagination cursor
sort_by"MOST_RECENT" | "MOST_RELEVANT"Sort order for comments. MOST_RECENT shows newest first, MOST_RELEVANT (default) shows most engaging first.

The complete LinkedIn API. Ready when you are.

Connect your first LinkedIn profile in under 5 minutes. Every tool, every seat, no feature gates. Safe limits, warm-up, and full permission control built in.