Skip to content

Post

GET /v1/linkedin/post

Fetches a single LinkedIn post or article, returning the title, headline, full description text, author info with follower count, publication date, like count (reactions), comment count, and individual comments. Also includes related articles from the same author in moreArticles.

Authentication

All requests require the x-api-key header. Get your key at scrapecreators.com.

Query Parameters

NameTypeRequiredDescriptionExample
urlstringyesThe URL of the LinkedIn post to gethttps://www.linkedin.com/pulse/being-father-has-made-me-better-leader-vice-versa-austen-allred/

Example Request

curl

bash
curl 'https://api.scrapecreators.com/v1/linkedin/post?url=https://www.linkedin.com/pulse/being-father-has-made-me-better-leader-vice-versa-austen-allred/' \
  -H 'x-api-key: $SCRAPECREATORS_API_KEY'

Node / TypeScript

js
const params = new URLSearchParams({ url: 'https://www.linkedin.com/pulse/being-father-has-made-me-better-leader-vice-versa-austen-allred/' });
const res = await fetch(`https://api.scrapecreators.com/v1/linkedin/post?${params}`, {
  headers: { 'x-api-key': process.env.SCRAPECREATORS_API_KEY }
});
const data = await res.json();
console.log(data);

Python

python
import os, requests
r = requests.get(
    'https://api.scrapecreators.com/v1/linkedin/post',
    headers={'x-api-key': os.environ['SCRAPECREATORS_API_KEY']},
    params={'url': 'https://www.linkedin.com/pulse/being-father-has-made-me-better-leader-vice-versa-austen-allred/'},
)
r.raise_for_status()
print(r.json())

CLI

bash
scrapecreators linkedin post --help

Example Response

json
{
  "success": true,
  "url": "https://www.linkedin.com/pulse/being-father-has-made-me-better-leader-vice-versa-austen-allred",
  "name": "Being a Father Has Made me a Better Leader, and Vice Versa",
  "headline": "It's not all that unique to be a 26-year-old founder in Silicon Valley. What was far more surprising to people in 2017 when I joined the S17 Y Combinator cohort is that I already had a family of my own.",
  "commentCount": 17,
  "likeCount": 210,
  "datePublished": "2020-06-21T14:35:59.000+00:00",
  "description": "It's not all that unique to be a 26-year-old founder in Silicon Valley. What was far more surprising to people in 2017 when I joined the S17 Y Combinator cohort is that I already had a family of my own. ....",
  "author": {
    "name": "Austen Allred",
    "url": "https://www.linkedin.com/in/austenallred",
    "followers": 30863
  },
  "comments": [
    {
      "author": "Jeremy M.",
      "text": "Austen, thanks for sharing!",
      "linkedinUrl": "https://uk.linkedin.com/in/jeremymurray"
    }
  ],
  "moreArticles": [
    {
      "link": "https://www.linkedin.com/pulse/note-outcomes-data-lambda-school-austen-allred",
      "title": "A Note About Outcomes Data at Lambda School",
      "datePublished": "Feb 24, 2020",
      "description": "Due to some recent online media, there’s been some confusion recently about student outcomes at Lambda School - which…",
      "reactionCount": 168,
      "commentCount": 15
    }
  ]
}

Credits

Most ScrapeCreators endpoints consume 1 credit per successful response. Some heavier endpoints (transcripts, AI-driven enrichment, ad detail lookups) may cost more. Check GET /v1/credit-balance for your remaining balance.

Errors

StatusMeaningAction
200Success.Use the JSON payload.
400Invalid or missing parameter.Verify required parameters and value format.
401Missing or invalid x-api-key.Pass a valid API key in the header.
402Out of credits.Top up at scrapecreators.com or wait for plan reset.
404Resource not found or private.Confirm the handle, URL, or id and that the resource is public.
429Rate limited.Backoff and retry with exponential delay.
500Server error or upstream platform failure.Retry with backoff; report persistent errors to support.