← All operations

List comments on a LinkedIn post

Read the loaded comments on one LinkedIn post.

comments.list · $0.01 per completed request

When to use it

Use it to see who commented on a post and what they said.

Request

FieldTypeNotes
urlstring requiredpost.get/comments.list/reactions.list: absolute HTTPS LinkedIn /feed/update/urn:li:activity:<digits>/. Profile/company operations also accept matching relative paths. its identifier and destination must not be reconstructed from a URN.

HTTP, against the local API:

POST http://127.0.0.1:3447/v1/operations/comments.list
Authorization: Bearer <local-token>
Content-Type: application/json

{
  "url": "https://www.linkedin.com/feed/update/urn:li:activity:7515399685923196928/"
}

The same request through the CLI, which adds the local token for you:

relay comments https://www.linkedin.com/feed/update/urn:li:activity:7515399685923196928/

Response

The result has operation, account, data, source and completeness. See Results. Fields in data:

FieldTypeNotes
postUrlstring required
itemsarray of object required
items[].commentUrnstring requiredSource comment URN, unique in this window and bound to the requested activity.
items[].authorobject | null requiredOwned menu name and one immediate-header member URL; body mentions cannot supply the author.
items[].author.namestring required
items[].author.profileUrlstring required
items[].textstring requiredExact loaded page text, including line breaks; no complete-content claim.
items[].dateTextstring | null requiredObserved relative-date text in the immediate header, without date conversion.
items[].moreAvailabletrue | null requiredTrue for a visible owned text expansion control; otherwise unproved.
items[].clippedOnScreenboolean | null requiredMeasured text-region overflow, or null when not measurable.
items[].commentUrlnull required
items[].parentCommentUrnnull required

For the exact contract, run relay schema.

Price

$0.01 per completed request. No subscription. Known failures are not charged. The $5 welcome credit covers 500 requests.

Onboard your agent

Other operations

Get a LinkedIn profile · Get a LinkedIn company · List people at a LinkedIn company · Search LinkedIn people · Search LinkedIn companies · List your LinkedIn connections · List LinkedIn invitations · List LinkedIn conversations · Read a LinkedIn conversation · Send a LinkedIn message · List LinkedIn posts by a member or company · Get a LinkedIn post · List reactions on a LinkedIn post · Read your LinkedIn feed · List LinkedIn notifications