Skip to content

Structured LinkedIn data: send urls. Single lookup, 1 credit per successful call.

GET · POST1 credit / successful callSingle lookup
GEThttps://api.scrapier.io/api/v2/linkedin-single-post/Open in Playground

Call GET /api/v2/linkedin-single-post/ with urls. The results are in data.post. 2 optional parameters refine the call (see Parameters).

Terminal window
curl -G "https://api.scrapier.io/api/v2/linkedin-single-post/" \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "urls=https://www.linkedin.com/posts/williamhgates_we-have-an-opportunityand-an-obligationto-ugcPost-7508263354348793856-WvZC" \
--max-time 210
NameTypeRequiredDefaultDescription
X-API-Key headerstringyes—Your API key from the dashboard.
urlsstringyese.g. https://www.linkedin.com/posts/williamhgates_we-have-an-opportunityand-an-obligationto-ugcPost-7508263354348793856-WvZCPublic LinkedIn post URL. Lookup endpoint -- next_cursor null. Full post detail + transcript + top comments.
cursorstringno—Pagination cursor returned in the previous response's next_cursor. Pass it back unchanged to fetch the next page. When next_cursor is null, you have reached the last page.
includeCommentsbooleannotrueInclude the server-rendered top comments.
locked in cursor
Advanced
NameTypeDefaultDescription
use_proxybooleantrueRoute the request through Scrapier's residential proxy pool. Default: true. Leave as is unless support tells you otherwise.
raw_databooleanfalseWhen true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under raw_responses, in place of the formatted items. When false (default) you get the formatted output. Pagination (cursor / next_cursor) works the same in both modes.
{
"success": true,
"data": {
"urls": "https://www.linkedin.com/posts/williamhgates_we-have-an-opportunityand-an-obligationto-ugcPost-7508263354348793856-WvZC",
"post": {
"input_url": "https://www.linkedin.com/posts/williamhgates_we-have-an-opportunityand-an-obligationto-ugcPost-7508263354348793856-WvZC",
"success": true,
"error": null,
"is_video": true,
"comments_source": "dom",
"url": "https://www.linkedin.com/posts/williamhgates_we-have-an-opportunityand-an-obligationto-activity-7508263424536080384-oB6c",
"name": "We have an opportunity—and an obligation—to ensure that AI tools are designed to improve lives... | Bill Gates | 151 comments",
"description": "We have an opportunity—and an obligation—to ensure that AI tools are designed to improve lives...",
"transcript": "I hope you will leave tonight with a real sense of what it's possible...",
"author": {
"name": "Bill Gates",
"url": "https://www.linkedin.com/in/williamhgates",
"followers": 40675844
},
"comments": [
{
"author": "Saikou Fatty",
"text": "The intention behind AI matters...",
"linkedinUrl": "https://www.linkedin.com/in/saikou-fatty"
}
],
"likeCount": 3421,
"commentCount": 151,
"scraped_at": "2026-09-23T12:00:00.000Z"
},
"next_cursor": null
}
}

Sample from the live catalog; arrays trimmed to 3 items. Results are in data.post.

FieldTypeExampleDescription
urlsstringhttps://www.linkedin.com/posts/williamhgates_…—
postobject{…}The results.
next_cursornullnullPass back as cursor for the next page. null on the last page.
post.input_urlstringhttps://www.linkedin.com/posts/williamhgates_…—
post.successbooleantrue—
post.errornullnull—
post.is_videobooleantrue—
post.comments_sourcestringdom—
post.urlstringhttps://www.linkedin.com/posts/williamhgates_…—
post.namestringWe have an opportunity—and an obligation—to e…—
post.descriptionstringWe have an opportunity—and an obligation—to e…—
post.transcriptstringI hope you will leave tonight with a real sen…—
post.authorobject{…}—
post.commentsarray[1 item]—
post.likeCountinteger3421—
post.commentCountinteger151—
post.scraped_atstring2026-09-23T12:00:00.000Z—

Returns everything in one call; next_cursor is always null.

Failed calls are free. Branch on the HTTP status and read the message from error (or detail). Full details in Errors.

StatusMeaningRetry?Charged?
400Bad or missing input.No — fix the paramsNo
401 / 403Missing, invalid or revoked API key.No — fix the keyNo
402Out of credits (body has balance).No — top upNo
404Unknown endpoint slug.No — check the slugNo
429 / 503Busy or throttled.Yes — after Retry-AfterNo
5xxTarget site or upstream failure, or timeout.Yes — with backoffNo
  • The response data carries its own success field from the scraper. The outer success is what counts: an HTTP 200 with outer success: true is billed, even if the inner field says otherwise.
  • LinkedIn Ads — Structured LinkedIn data: send urls. Cursor-paginated, 1 credit per successful call.
  • LinkedIn Company About — Structured LinkedIn data: send urls. Cursor-paginated, 1 credit per successful call.
  • LinkedIn Jobs Search — Structured LinkedIn data: every input is optional. Cursor-paginated, 1 credit per successful call.
  • LinkedIn Search Posts By Keyword — Structured LinkedIn data: send queries. Cursor-paginated, 1 credit per successful call.