LinkedIn Article API
Returns the text and details of a public LinkedIn article or newsletter issue. You send the article url and get back the title, author, body text, cover image, reaction and comment counts, and timestamps.
Use cases
- Pull the full text of an article that a LinkedIn post links to, so you can summarize or classify it.
- Track how many reactions and comments a newsletter issue has earned.
- Collect article titles, authors, and descriptions to build a reading list or content archive.
- Check the author's follower count and profile link when you vet who wrote a piece.
Request
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/article" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.linkedin.com/pulse/artificial-intelligence-primer-stephen-dover"}'
The result is returned in outputs[0].data.
Parameters
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"author": "Stephen Dover",
"authorFollowers": 12348,
"authorUrl": "https://www.linkedin.com/in/stephen-dover-2770b81",
"body": "Suppose it’s 1794, when Eli Whitney invented the cotton gin. Or perhaps it’s 354…",
"comments": 2,
"createdUtc": 1690295321,
"description": "Suppose it’s 1794, when Eli Whitney invented the cotton gin. Or perhaps it’s 354…",
"image": "https://media.licdn.com/dms/image/v2/D5612AQGdh4YQrVvtDA/article-cover_image-shr…",
"reactions": 52,
"title": "Artificial intelligence: A primer",
"type": "issue",
"updatedUtc": 1775838296
},
"found": true
}
Response fields
Notes
- Pass a public URL such as
https://www.linkedin.com/pulse/your-article-slug in url.
- To read the article behind a post, take the
attachmentUrl from the post results of LinkedIn Post Search (full) and send it as url.
- The response echoes the article link in
data.url.
- To look at the post that shared an article, try LinkedIn Post.
Pricing
Billed at the actual cost of each call, about $0.00569 for the request above. Failed calls are not charged.