Skip to main content
POST
/
linkedin
/
posts
/
collect
cURL
curl -X POST "https://api.brightdata.com/linkedin/posts/collect" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.linkedin.com/posts/example-post-id"}'
{
  "id": "post_12345",
  "title": "Excited to share an update",
  "headline": "Product launch announcement",
  "post_text": "We are thrilled to announce our new product...",
  "post_text_html": "<p>We are thrilled to announce...</p>",
  "date_posted": "2024-01-18",
  "hashtags": [
    "product",
    "launch"
  ],
  "embedded_links": [
    "https://example.com"
  ],
  "images": [
    "https://cdn.linkedin.com/image1.jpg"
  ],
  "videos": [],
  "post_type": "post",
  "account_type": "personal",
  "num_likes": 320,
  "num_comments": 45,
  "top_visible_comments": 3,
  "user_id": "user_9876",
  "user_url": "https://www.linkedin.com/in/example-user/",
  "user_followers": 5600,
  "user_posts": 120,
  "user_articles": 14,
  "more_articles_by_user": [],
  "more_relevant_posts": []
}

Posts API

The Posts API allows you to collect detailed information from a single LinkedIn post or article by providing its direct URL.

Collect by URL

This endpoint allows users to collect comprehensive data from a specific LinkedIn post, including content, media, engagement metrics, and author information.

Input Parameters

URL
string
required
The LinkedIn post or article URL.

Output Structure

Includes comprehensive data points across multiple categories.

Post details

  • id
  • title
  • headline
  • post_text
  • post_text_html
  • date_posted
  • hashtags
  • embedded_links
  • images
  • videos
  • post_type
  • account_type
  • and more
For the complete list of supported fields,
View full output reference

Engagement metrics

  • num_likes
  • num_comments
  • top_visible_comments

User details

  • user_id
  • user_url
  • user_followers
  • user_posts
  • user_articles

  • more_articles_by_user
  • more_relevant_posts

This endpoint provides deep insight into individual LinkedIn posts, making it suitable for:
  • Content analysis
  • Engagement tracking
  • Market research
  • Brand monitoring
  • Author-level insights

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string<uri>
required

LinkedIn post or article URL

Response

Post data collected successfully

id
string
title
string
headline
string
post_text
string
post_text_html
string
date_posted
string
hashtags
string[]
images
string[]
videos
string[]
post_type
string
account_type
string
num_likes
integer
num_comments
integer
top_visible_comments
integer
user_id
string
user_url
string
user_followers
integer
user_posts
integer
user_articles
integer
more_relevant_posts
string[]