LinkedIn Post Info
GET
Simplify LinkedIn post retrieval with our efficient API for enhanced content analysis.
Credit cost: 1 credit per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringThe LinkedIn post to retrieve. Accepts a numeric post ID or a full post URL.
Accepted formats:
7027826235833520128: LinkedIn numeric post IDhttps://www.linkedin.com/posts/tanyalindsay_...-activity-7027826235833520128-m0GW: full post URL
Example:
https://www.linkedin.com/posts/tanyalindsay_we-have-been-building-a-web3-gaming-platform-activity-7027826235833520128-m0GWNotes:
- Deleted posts: Returns a not-found error if the post has been removed.
- Comments: Up to the first batch of comments are returned. Deep comment threads may be truncated.
Successful response
application/json- response
id?stringurl?stringtext?stringauthor?images?array<string>comments?array<>hashtags?array<unknown>image_url?stringlike_count?integershared_link?unknownshared_post?shared_video?unknowncomments_count?integerdate_published?stringtotal_engagement?integermentioned_profiles?array<unknown>curl -X GET 'https://api.piloterr.com/v2/linkedin/post/info?query=string'Example Response
{ "id": "7027826235833520128", "url": "https://www.linkedin.com/posts/tanyalindsay_we-have-been-building-a-web3-gaming-platform-activity-7027826235833520128-m0GW", "text": "We have been building a web3 gaming platform based on entertainment and not on ponzi or the p2e narrative...", "author": { "url": "https://ca.linkedin.com/in/example-user", "full_name": "Alex Martin", "image_url": null, "profile_type": "person" }, "images": [ "https://media.licdn.com/dms/image/v2/C4E22AQGXHY67ydHRgQ/feedshare-shrink_2048_1536/feedshare-shrink_2048_1536/0/1675462056613" ], "comments": [ { "text": "These stats are too funny. The web3 investors need to learn that whilst youth audiences have ideals and morals but these get easily lost when it comes down to having fun.", "author": { "url": "https://uk.linkedin.com/in/example-user-2", "headline": "Virtual Reality SPECIALIST| VR/AR/MR/360/XR | CEO Omnilux VR", "full_name": "Jordan Lee", "image_url": null, "profile_type": "person" } } ], "hashtags": [], "image_url": "https://media.licdn.com/dms/image/v2/C4E22AQGXHY67ydHRgQ/feedshare-shrink_2048_1536/feedshare-shrink_2048_1536/0/1675462056613", "like_count": 5, "shared_link": null, "shared_post": { "id": "7027397210061328384", "link": null, "text": "Web 3 Gaming has a serious problem...", "image": null, "title": null }, "shared_video": null, "comments_count": 2, "date_published": "2023-02-05T02:32:25.297Z", "total_engagement": 7, "mentioned_profiles": []}