curl --request POST \
--url https://api.example.com/v2/content \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"account_id": "<string>",
"action": "<string>",
"params": {
"post_url": "<string>",
"count": 123,
"offset": 123
}
}
'{
"success": true,
"data": {
"comments": [
{
"comment_urn": "urn:li:comment:(activity:7453382311909445632,7453434056920387584)",
"tracking_id": "tXyr6F5s8TwZ9U3ezehCwg==",
"comment_text": "Great post! Very insightful.",
"created_time": 1777037157279,
"commenter": {
"name": "Jane Doe",
"profile_urn": "urn:li:fsd_profile:ACoAA...",
"linkedin_url": "https://www.linkedin.com/in/jane-doe-42",
"occupation": "Product Manager at Acme Corp"
}
}
],
"total_results": 1,
"total_available_results": 10,
"pagination": {
"offset": 0,
"count": 1,
"next_offset": 1,
"has_more": true,
"results_per_page": 10,
"pages_fetched": 1
}
},
"metadata": {
"action": "get_comments",
"account_id": "your-account-id",
"credits_consumed": 1,
"timestamp": "2026-04-26T10:35:00Z"
}
}
Retrieve comments on a specific post.
curl --request POST \
--url https://api.example.com/v2/content \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"account_id": "<string>",
"action": "<string>",
"params": {
"post_url": "<string>",
"count": 123,
"offset": 123
}
}
'{
"success": true,
"data": {
"comments": [
{
"comment_urn": "urn:li:comment:(activity:7453382311909445632,7453434056920387584)",
"tracking_id": "tXyr6F5s8TwZ9U3ezehCwg==",
"comment_text": "Great post! Very insightful.",
"created_time": 1777037157279,
"commenter": {
"name": "Jane Doe",
"profile_urn": "urn:li:fsd_profile:ACoAA...",
"linkedin_url": "https://www.linkedin.com/in/jane-doe-42",
"occupation": "Product Manager at Acme Corp"
}
}
],
"total_results": 1,
"total_available_results": 10,
"pagination": {
"offset": 0,
"count": 1,
"next_offset": 1,
"has_more": true,
"results_per_page": 10,
"pages_fetched": 1
}
},
"metadata": {
"action": "get_comments",
"account_id": "your-account-id",
"credits_consumed": 1,
"timestamp": "2026-04-26T10:35:00Z"
}
}
count for the page size and offset to skip ahead.
count values trigger multiple upstream calls automatically."get_comments".Show params properties
10. Capped at 1000 per call.0. Use pagination.next_offset from a previous response to fetch the next page.Show data properties
Show comment properties
answer_comment action.answer_comment.Show pagination properties
total_results).offset in the next request. null when exhausted.true if more comments are available.{
"success": true,
"data": {
"comments": [
{
"comment_urn": "urn:li:comment:(activity:7453382311909445632,7453434056920387584)",
"tracking_id": "tXyr6F5s8TwZ9U3ezehCwg==",
"comment_text": "Great post! Very insightful.",
"created_time": 1777037157279,
"commenter": {
"name": "Jane Doe",
"profile_urn": "urn:li:fsd_profile:ACoAA...",
"linkedin_url": "https://www.linkedin.com/in/jane-doe-42",
"occupation": "Product Manager at Acme Corp"
}
}
],
"total_results": 1,
"total_available_results": 10,
"pagination": {
"offset": 0,
"count": 1,
"next_offset": 1,
"has_more": true,
"results_per_page": 10,
"pages_fetched": 1
}
},
"metadata": {
"action": "get_comments",
"account_id": "your-account-id",
"credits_consumed": 1,
"timestamp": "2026-04-26T10:35:00Z"
}
}
Was this page helpful?