LinkedIn Top Content Scraper avatar

LinkedIn Top Content Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
LinkedIn Top Content Scraper

LinkedIn Top Content Scraper

Scrape LinkedIn's trending and top-performing posts. Extracts viral content, Top Voice posts, and trending articles with engagement metrics, author details, and media type.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

18 hours ago

Last modified

Share

Scrape LinkedIn's trending and top-performing posts — including viral content, LinkedIn Top Voice posts, and trending articles — with full engagement metrics, author details, and media information.

What It Does

This actor fetches posts from LinkedIn's top content feeds using a multi-strategy cascade:

  1. Top Content Feed (/voyager/api/feed/topContent) — LinkedIn's dedicated trending posts endpoint
  2. Content Search (/voyager/api/search/blended) — search for top posts by category keyword
  3. Flagship Feed (/voyager/api/feed/flagshipFeed) — feed filtered to TOP_CONTENT context
  4. Public Trending Page (/feed/trending/) — cookieless fallback using public embedded data

The strategies are tried in order; results are deduplicated and capped at your maxPosts limit.

Input

FieldTypeRequiredDescription
maxPostsintegerNoMaximum posts to scrape (default: 50, range: 1–500)
categorystringNoTopic keyword like AI, leadership, marketing
cookiestringNoLinkedIn li_at cookie or full cookies JSON array
proxyConfigurationobjectNoApify proxy settings

For best results, provide a LinkedIn session cookie. Without it, only the public trending page is scraped (fewer results).

Accepted formats:

  • Plain li_at value: AQEDxxx...
  • Full cookies JSON array from browser export: [{"name":"li_at","value":"AQEDxxx..."},...]

Category

Use category to focus on a specific topic. Examples:

  • AI — artificial intelligence posts
  • leadership — leadership content
  • marketing — marketing insights
  • data science — data science posts
  • Leave empty for general trending content

Output

Each item in the dataset represents one LinkedIn post:

FieldTypeDescription
postIdstringLinkedIn activity ID
postUrlstringDirect URL to the post
authorNamestringAuthor's full name
authorProfileUrlstringAuthor's LinkedIn profile URL
authorHeadlinestringAuthor's headline / job title
postedAtstringISO 8601 UTC timestamp of publication
contentstringFull text of the post
mediaTypestringtext, image, video, article, document, carousel, repost, poll, or event
mediaUrlsarrayCDN image URLs (when mediaType=image)
articleTitlestringArticle title (when mediaType=article)
articleUrlstringArticle URL (when mediaType=article)
reactionsCountintegerTotal reaction count
commentsCountintegerTotal comment count
repostsCountintegerTotal repost/share count
reactionBreakdownobjectPer-type counts: like, celebrate, love, insightful, support, funny, curious
scrapedAtstringISO 8601 UTC timestamp when scraped

Example Output

{
"postId": "7234567890123456789",
"postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7234567890123456789/",
"authorName": "Satya Nadella",
"authorProfileUrl": "https://www.linkedin.com/in/satyanadella",
"authorHeadline": "Chairman and CEO at Microsoft",
"postedAt": "2025-05-15T14:30:00+00:00",
"content": "Excited to share our latest breakthroughs in AI...",
"mediaType": "text",
"reactionsCount": 42500,
"commentsCount": 1230,
"repostsCount": 3400,
"reactionBreakdown": {
"like": 30000,
"celebrate": 8000,
"insightful": 3500,
"love": 1000
},
"scrapedAt": "2025-05-20T10:00:00+00:00"
}

Use Cases

  • Trend analysis: Identify what topics and formats are performing best on LinkedIn
  • Competitor research: See what content your industry peers are posting
  • Content strategy: Find inspiration from viral posts in your niche
  • Influencer discovery: Identify LinkedIn Top Voices in specific categories
  • Market research: Track sentiment and trending topics over time

FAQs

Do I need a LinkedIn account? No, the actor can run without a cookie and will scrape the public trending feed. However, providing a cookie gives access to more posts and enables category-based filtering.

How many posts can I scrape? Up to 500 posts per run. The actual number depends on what LinkedIn surfaces in its trending feeds.

Why are some posts missing fields like postedAt or authorHeadline? LinkedIn omits some data for certain posts. Fields are only included when data is available — no null or empty values are pushed.

Will this get my LinkedIn account banned? The actor uses the same Voyager API endpoints that LinkedIn's own mobile app uses, with realistic delays between requests. Proxy configuration is recommended for high-volume usage.

What is the reactionBreakdown field? It shows how many reactions of each type the post received: like (thumbs up), celebrate (clapping), love (heart), insightful (lightbulb), support (hug), funny (laughing), and curious (curious face).

Explore the rest of the LinkedIn suite

Need a different LinkedIn surface? Pair this actor with any of the others in the LinkedIn Suite — all published under the same publisher and built to share the same cookie format and output conventions.

ActorWhat it scrapes
LinkedIn Comments ScraperAll comments + reply threads on a post
LinkedIn Company Employees ScraperEmployee list for any company (by URN)
LinkedIn Company Info ScraperCompany About page (size, HQ, industry, specialties)
LinkedIn Company Posts ScraperPosts published from a company page
LinkedIn Events ScraperEvents by keyword/URL with full event detail
LinkedIn Hashtag Posts ScraperPosts ranked under a #hashtag
LinkedIn Jobs ScraperJob listings via the public jobs-guest API
LinkedIn Jobs Scraper UltraSame as jobs-scraper + full detail enrichment
LinkedIn Learning Courses ScraperLinkedIn Learning course catalog by keyword
LinkedIn People Search ScraperPeople search with every LinkedIn facet (role, company, school, location, etc.)
LinkedIn Post Reactions ScraperReactors on a post (name, headline, reaction type)
LinkedIn Post ScraperFull post (text, media, engagement counts, author)
LinkedIn Post Search ScraperPosts matching a keyword (with date/author/network filters)
LinkedIn Profile Posts ScraperAll posts/reposts/articles for one profile
LinkedIn Profile ScraperPublic profile fields (name, headline, positions, education, skills)
LinkedIn Profile Scraper ProProfile fields + extras (recommendations, organizations, languages)
LinkedIn Profile Scraper Pro UltraPro + premium fields (contact info, followers list when allowed)
LinkedIn Profile Scraper UltraProfile + the full upstream dash-120 surface
LinkedIn Profile Search by NameSearch profiles by person name (great for matching CSVs of names)
LinkedIn Schools Alumni ScraperAlumni list for any LinkedIn school page
LinkedIn User Activity ScraperReactions + comments + posts feed for one profile

All actors share the same cookie input format (plain li_at OR full cookies JSON array) and the same omit-empty output convention.