Get Profile Comments
curl --request POST \
--url https://api.linkupapi.com/v2/profiles \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"account_id": "<string>",
"action": "<string>",
"params": {
"profile_url": "<string>",
"count": 123,
"cursor": "<string>"
}
}
'{
"success": true,
"data": {
"comments": [
{
"comment_id": "urn:li:fsd_update:(urn:li:activity:7421592107020185600,PROFILE_COMMENTS,DEBUG_REASON,DEFAULT,false)",
"comment_content": "Great insights! Completely agree.",
"comment_time": "89d",
"comment_time_days": 89,
"commenter": {
"name": "Jane Doe",
"profile_url": "https://www.linkedin.com/in/jane-doe-42",
"profile_picture": "https://media.licdn.com/dms/image/...",
"entity_urn": "ACoAA...",
"headline": "Product Manager at Acme Corp"
},
"post": {
"urn": "urn:li:ugcPost:7421567698184323073",
"url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7421567698184323073",
"content": "After 6 years as a consultant, I'm thrilled to share...",
"author": {
"name": "John Smith",
"profile_url": "https://www.linkedin.com/in/john-smith-99",
"entity_urn": "urn:li:fsd_profile:ACoAA..."
}
}
}
],
"total_results": 1,
"profile_url": "https://www.linkedin.com/in/jane-doe-42/",
"entity_urn": "ACoAA...",
"profile_urn": "urn:li:fsd_profile:ACoAA...",
"pagination": {
"results_per_page": 50,
"pages_fetched": 1,
"has_more": true,
"next_cursor": "dXJuOmxpOmFjdGl2aXR5OjcyODE5ODI4NTAwOTMwMDI3NTItMTczNjE1OTk5MDE2OA=="
}
},
"metadata": {
"action": "get_comments",
"account_id": "your-account-id",
"credits_consumed": 1,
"timestamp": "2026-04-26T08:35:34Z"
}
}
Profiles
Get Profile Comments
Retrieve the comments made by a user on posts and articles.
POST
/
v2
/
profiles
Get Profile Comments
curl --request POST \
--url https://api.linkupapi.com/v2/profiles \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"account_id": "<string>",
"action": "<string>",
"params": {
"profile_url": "<string>",
"count": 123,
"cursor": "<string>"
}
}
'{
"success": true,
"data": {
"comments": [
{
"comment_id": "urn:li:fsd_update:(urn:li:activity:7421592107020185600,PROFILE_COMMENTS,DEBUG_REASON,DEFAULT,false)",
"comment_content": "Great insights! Completely agree.",
"comment_time": "89d",
"comment_time_days": 89,
"commenter": {
"name": "Jane Doe",
"profile_url": "https://www.linkedin.com/in/jane-doe-42",
"profile_picture": "https://media.licdn.com/dms/image/...",
"entity_urn": "ACoAA...",
"headline": "Product Manager at Acme Corp"
},
"post": {
"urn": "urn:li:ugcPost:7421567698184323073",
"url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7421567698184323073",
"content": "After 6 years as a consultant, I'm thrilled to share...",
"author": {
"name": "John Smith",
"profile_url": "https://www.linkedin.com/in/john-smith-99",
"entity_urn": "urn:li:fsd_profile:ACoAA..."
}
}
}
],
"total_results": 1,
"profile_url": "https://www.linkedin.com/in/jane-doe-42/",
"entity_urn": "ACoAA...",
"profile_urn": "urn:li:fsd_profile:ACoAA...",
"pagination": {
"results_per_page": 50,
"pages_fetched": 1,
"has_more": true,
"next_cursor": "dXJuOmxpOmFjdGl2aXR5OjcyODE5ODI4NTAwOTMwMDI3NTItMTczNjE1OTk5MDE2OA=="
}
},
"metadata": {
"action": "get_comments",
"account_id": "your-account-id",
"credits_consumed": 1,
"timestamp": "2026-04-26T08:35:34Z"
}
}
Overview
Fetches the list of comments made by a specified user on posts and articles. Pagination is cursor-based — pass thenext_cursor returned by a previous call to fetch the next page.
This endpoint consumes 1 credit per 10 results returned. LinkedIn returns up to 50 comments per internal request, so requesting
count: 100 triggers only 2 upstream calls.Request
Your API key for authentication.
The unique identifier of the account to use.
Must be
"get_comments".Response
Indicates whether the request was successful.
Show data properties
Show data properties
List of comments made by the user.
Show comment item properties
Show comment item properties
Internal identifier of the comment update.
The text content of the comment.
Relative time of the comment (e.g.
"6h", "3d").Age of the comment expressed in days.
The author of the comment (name, profile_url, profile_picture, entity_urn, headline).
The post the comment was made on (urn, url, content, author).
When the comment is a reply, holds the parent comment’s author info.
Number of comments returned in this response.
The LinkedIn profile URL that was queried.
The LinkedIn entity URN of the queried profile.
The full
urn:li:fsd_profile:... URN of the queried profile.Show pagination properties
Show pagination properties
Maximum batch size used per upstream request (50).
Number of internal upstream batches consumed to assemble this response.
true if more results are available — pass next_cursor in the next request.Cursor to send as
cursor in the next request to resume pagination. null when the end is reached.{
"success": true,
"data": {
"comments": [
{
"comment_id": "urn:li:fsd_update:(urn:li:activity:7421592107020185600,PROFILE_COMMENTS,DEBUG_REASON,DEFAULT,false)",
"comment_content": "Great insights! Completely agree.",
"comment_time": "89d",
"comment_time_days": 89,
"commenter": {
"name": "Jane Doe",
"profile_url": "https://www.linkedin.com/in/jane-doe-42",
"profile_picture": "https://media.licdn.com/dms/image/...",
"entity_urn": "ACoAA...",
"headline": "Product Manager at Acme Corp"
},
"post": {
"urn": "urn:li:ugcPost:7421567698184323073",
"url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7421567698184323073",
"content": "After 6 years as a consultant, I'm thrilled to share...",
"author": {
"name": "John Smith",
"profile_url": "https://www.linkedin.com/in/john-smith-99",
"entity_urn": "urn:li:fsd_profile:ACoAA..."
}
}
}
],
"total_results": 1,
"profile_url": "https://www.linkedin.com/in/jane-doe-42/",
"entity_urn": "ACoAA...",
"profile_urn": "urn:li:fsd_profile:ACoAA...",
"pagination": {
"results_per_page": 50,
"pages_fetched": 1,
"has_more": true,
"next_cursor": "dXJuOmxpOmFjdGl2aXR5OjcyODE5ODI4NTAwOTMwMDI3NTItMTczNjE1OTk5MDE2OA=="
}
},
"metadata": {
"action": "get_comments",
"account_id": "your-account-id",
"credits_consumed": 1,
"timestamp": "2026-04-26T08:35:34Z"
}
}
Was this page helpful?
⌘I