Post
Get Post Comments
Post
Get Post Comments
Get Post Comments
GET
/
api
/
v1
/
post
/
comments
curl --request GET \
--url https://fresh-linkedin-scraper-api.p.rapidapi.com/api/v1/post/comments \
--header 'x-rapidapi-key: <api-key>'
{
"success": true,
"cost": 1,
"total": 500,
"has_more": true,
"data": [
{
"urn": "urn:li:comment:(ugcPost:7244804628670791680,7244805820041846784)",
"comment": "Fantastic to see Telefónica leading the way in leveraging API technology to drive innovation and build a vibrant developer community...",
"is_pinned": false,
"is_edited": false,
"is_author": false,
"num_replies": 0,
"reaction_counts": [
{
"type": "LIKE",
"count": 10
},
{
"type": "PRAISE",
"count": 5
}
],
"commenter": {
"id": "72586820",
"description": "Network as Code | Helping businesses innovate with programmable network APIs",
"name": "James D.",
"url": "https://www.linkedin.com/in/-james-de-luca",
"avatar": [
{
"width": 400,
"height": 400,
"url": "https://media.licdn.com/dms/image/v2/D4E0BAQHjelLY2a-Mnw/company-logo_400_400/company-logo_400_400/0/1666083635765?e=1748476800&v=beta&t=V_T_yXL6Bs2HDEY-iZAKSkNype7_-7USjP2HIXo0Zv8",
"expires_at": 1748476800000
}
]
},
"created_at": "2025-03-03T05:04:50.822Z"
}
]
}
Authorizations
Rapid API Key
Query Parameters
Post ID containing only numbers
Example:
"1234567890"
Page number for pagination
Required range:
x > 0
Example:
1
Sort comments by recent or relevance
Available options:
recent
, relevance
Example:
"relevance"
Response
200
application/json
Success
The response is of type object
.
curl --request GET \
--url https://fresh-linkedin-scraper-api.p.rapidapi.com/api/v1/post/comments \
--header 'x-rapidapi-key: <api-key>'
{
"success": true,
"cost": 1,
"total": 500,
"has_more": true,
"data": [
{
"urn": "urn:li:comment:(ugcPost:7244804628670791680,7244805820041846784)",
"comment": "Fantastic to see Telefónica leading the way in leveraging API technology to drive innovation and build a vibrant developer community...",
"is_pinned": false,
"is_edited": false,
"is_author": false,
"num_replies": 0,
"reaction_counts": [
{
"type": "LIKE",
"count": 10
},
{
"type": "PRAISE",
"count": 5
}
],
"commenter": {
"id": "72586820",
"description": "Network as Code | Helping businesses innovate with programmable network APIs",
"name": "James D.",
"url": "https://www.linkedin.com/in/-james-de-luca",
"avatar": [
{
"width": 400,
"height": 400,
"url": "https://media.licdn.com/dms/image/v2/D4E0BAQHjelLY2a-Mnw/company-logo_400_400/company-logo_400_400/0/1666083635765?e=1748476800&v=beta&t=V_T_yXL6Bs2HDEY-iZAKSkNype7_-7USjP2HIXo0Zv8",
"expires_at": 1748476800000
}
]
},
"created_at": "2025-03-03T05:04:50.822Z"
}
]
}