Skip to main content

Get Post Comments

GET /get-post-comments

Get the list of comments on a LinkedIn post.

Pricing

2 credits per call.

Parameters

ParameterTypeRequiredDescription
post_urnstringYesLinkedIn post URN (e.g., urn:li:activity:1234567890)
sort_bystringNoSort order: recent or relevant (default: recent)
startintegerNoStarting offset (default: 0)

Example Request

curl --request GET \
--url 'https://api.infoplug.io/get-post-comments?post_urn=urn:li:activity:1234567890' \
--header 'X-INFOPLUG-API-KEY: YOUR_API_KEY'

Example Response

{
"data": {
"comments": [
{
"commenter_name": "Bob Johnson",
"commenter_linkedin_url": "https://www.linkedin.com/in/bobjohnson/",
"commenter_headline": "Software Engineer at Startup Inc",
"text": "Great insights! Thanks for sharing.",
"posted_at": "2024-01-15T12:30:00Z",
"reactions_count": 10,
"replies_count": 2
}
],
"paging": {
"start": 0,
"count": 50,
"total": 75
}
}
}