scraper
Back to API docs

Overview

  • Overview

APIs

  • POSTPost

LinkedIn Post

2 credits

Fetch a LinkedIn post with comments.

POST/api/v1/tools/linkedin/post

Parameters

urlstringrequired

Full LinkedIn post URL (e.g. "https://www.linkedin.com/feed/update/urn:li:activity:7443280380897562624").

maxCommentsnumber

Maximum number of comments to return. Must be a positive integer. Defaults to 200. Upper bound is determined by your plan.

Response Schema

dataobject

LinkedIn post result

postobject

Post metadata

commentsobject[]

Array of comment objects.

countnumber

Number of comments returned

totalCommentsnumber | null

Total comment count reported by LinkedIn

truncatedboolean

True if more comments exist than were returned. Only present when truncation occurred.

metaobject

Request metadata

toolstring

Tool name (linkedin-post)

creditsUsednumber

Credits consumed (2)

requestIdstring

Unique request ID

Request

curl -X POST https://scraper.run/api/v1/tools/linkedin/post \
-H "Authorization: Bearer sc_live_..." \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7443280380897562624",
"maxComments": 50
}'

Response Example

{
"data": {
"post": {
"id": "urn:li:activity:7443280380897562624",
"author": "Sarah Chen",
"text": "Thrilled to share that our team just shipped a major product update. After months of user research and iteration, we focused on three key improvements.",
"createdAt": "2026-04-08T10:00:00.000Z",
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7443280380897562624",
"likes": 892,
"comments": 64
},
"comments": [
{
"id": "cmt_001",
"parentId": "urn:li:activity:7443280380897562624",
"author": "James Rivera",
"text": "Congratulations to the whole team. The new onboarding flow is a huge improvement.",
"createdAt": "2026-04-08T10:45:00.000Z",
"likes": 12
}
],
"count": 1,
"totalComments": 64,
"truncated": true
},
"meta": {
"tool": "linkedin-post",
"creditsUsed": 2,
"requestId": "req_abc123"
}
}