LinkedIn Post API
Get a single LinkedIn post by its activity URN. Returns the post text, author, publish date, images, any shared article, event or job, reaction, comment and share counts, and its comments.
- Endpoint
- POST /linkedin/get-post-detail
- Price
- 1 credit per request
- SDK
- client.linkedin.getPostDetail()
- MCP tool
- linkedin_get_post_detail
curl -X POST "https://api.bridgly.app/linkedin/get-post-detail" \ -H "Authorization: Bearer $BRIDGLY_KEY" \ -H "Content-Type: application/json" \ -d '{ "activityUrn": "urn:li:activity:7300000000000000000"}'import osimport requestsresponse = requests.post( "https://api.bridgly.app/linkedin/get-post-detail", headers={"Authorization": f"Bearer {os.environ['BRIDGLY_KEY']}"}, json={ "activityUrn": "urn:li:activity:7300000000000000000", },)data = response.json()const response = await fetch("https://api.bridgly.app/linkedin/get-post-detail", { method: "POST", headers: { Authorization: `Bearer ${process.env.BRIDGLY_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "activityUrn": "urn:li:activity:7300000000000000000" }),});const data = await response.json();import { Bridgly } from "@bridgly/sdk";const client = new Bridgly({ apiKey: "bgly_YOUR_KEY" });const res = await client.linkedin.getPostDetail({ activityUrn: "urn:li:activity:7300000000000000000"});if (res.type === "success") { console.log(res.data);}What does the LinkedIn Post API return?
LinkedIn post scraper API: get one post as JSON by its URN, with author, text, images, any shared article or job, reaction, comment and share counts. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.
Request body
activityUrnstringrequired- The post/update to fetch — a `urn:li:activity:<id>` or the post link, e.g. "urn:li:activity:7300000000000000000".
Example response
{ "timeMs": 1840, "creditsCost": 1, "data": { "urn": "string", "activity": { "type": "post" }, "url": "string", "shareUrn": "string", "shareAudience": "string", "text": "string", "publishedAt": "string", "postedAt": 0, "actorName": "string", "actorUrn": "string", "actorPublicIdentifier": "string", "actorUrl": "string", "actorHeadline": "string", "images": [ { "url": "string" } ], "article": { "title": "string", "subtitle": "string", "url": "string", "imageUrl": "string" }, "event": { "title": "string", "url": "string", "date": "string", "location": "string" }, "job": { "title": "string", "company": "string", "location": "string", "url": "string" }, "socialCounts": { "numLikes": 0, "numComments": 0, "numShares": 0, "reactionTypeCounts": [ { "reactionType": "string", "count": 0 } ] }, "resharedPost": { "actorName": "string", "text": "string", "actorUrn": "string", "actorPublicIdentifier": "string", "actorUrl": "string", "publishedAt": "string", "urn": "string", "url": "string", "shareUrn": "string" }, "comments": [ { "urn": "string", "text": "string", "commenterName": "string", "commenterUrn": "string", "createdTime": 0, "parentCommentUrn": "string" } ] }}What can you build with the LinkedIn Post API?
Track post performance
Re-fetch a post on a schedule and chart how reactions and comments grow.
Archive content
Save the full text and attachments of posts you reference or report on.
Feed AI summaries
Pass a post and its first comments to a model to summarize the discussion.
LinkedIn Post API questions
How do I get LinkedIn post data from a post URL?
The post’s ID is the long number after "activity" in the post’s link, as in linkedin.com/feed/update/urn:li:activity:7300000000000000000/ or near the end of a linkedin.com/posts/ link. Send it as activityUrn in the form urn:li:activity:<id>.
Can I get the engagement stats of a LinkedIn post?
Yes. The response has the reaction, comment and share counts together with the text, author, publish date, images and the post’s comments.
Where do I get post URNs in bulk?
Posts returned by the LinkedIn Profile Posts, Company Posts and Post Search APIs each carry their urn, so you can list posts first and fetch the ones you need in full.
How do I use the LinkedIn Post API?
Send a POST request to https://api.bridgly.app/linkedin/get-post-detail with activityUrn in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.linkedin.getPostDetail(). AI agents connected to Bridgly over MCP can call the linkedin_get_post_detail tool.
How much does the LinkedIn Post API cost?
Costs 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.00 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.
More LinkedIn endpoints
The same API key works on every endpoint. See all LinkedIn API endpoints.
- LinkedIn Post Comments API→LinkedIn comments scraper API: get the comments on any LinkedIn post as JSON, with each comment’s text, author name, time posted and like and reply counts.
- LinkedIn Post Reactions API→LinkedIn post likes scraper API: list who reacted to any LinkedIn post, with each person’s name, headline, profile URL and reaction type, as JSON.
- LinkedIn Post Search API→LinkedIn post search API: search posts by keyword, newest first or by relevance, from the last day, week or month, with author, link and engagement counts.
- LinkedIn Profile Comments API→LinkedIn user comments API: list the comments any LinkedIn member has written on other posts, with the comment text, time, link and the post it was on.
Try the LinkedIn Post API
100 free credits on business email, no card. Your first call takes a minute.