LinkedIn Post Search Scraper avatar

LinkedIn Post Search Scraper

Pricing

from $5.00 / 1,000 linkedin post founds

Go to Apify Store
LinkedIn Post Search Scraper

LinkedIn Post Search Scraper

Search public LinkedIn posts, feed updates, and articles by keyword. Returns post text, author, engagement, media, public comments, and next cursor metadata.

Pricing

from $5.00 / 1,000 linkedin post founds

Rating

0.0

(0)

Developer

Khadin Akbar

Khadin Akbar

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

Search public LinkedIn posts, feed updates, and Pulse articles by keyword and export structured post data to JSON, CSV, Excel, or the Apify API.

This actor is built for social listening, B2B market research, GTM teams, founders, investors, analysts, and AI agents that need a clean feed of public LinkedIn discussions around a topic, company, competitor, product category, or phrase.

The actor uses ScrapeCreators' public LinkedIn post search endpoint. That endpoint finds Google-indexed public LinkedIn posts and then extracts the visible LinkedIn page details. It does not use LinkedIn login cookies, does not access private posts, and does not claim complete LinkedIn-native search coverage.

What It Extracts

Each dataset item represents one public LinkedIn post or article.

FieldDescription
postUrlPublic LinkedIn post, feed update, or article URL
postIdLinkedIn activity or article ID parsed from the URL when available
publishedAtPublication timestamp when LinkedIn exposes it publicly
descriptionPublic post text or article description
authorNamePublic author name
authorUrlPublic LinkedIn author profile or page URL
authorFollowersFollower count when available
likeCountPublic like/reaction count when available
commentCountPublic comment count when available
engagementCountlikeCount + commentCount when at least one count is available
mediaUrl / imageUrlMedia URLs exposed on the public page
commentsPublic comments returned by the provider when enabled
runIdApify run ID that produced the record
searchQueryInput query used for this record
sourceData provider used
scrapedAtTimestamp when this actor saved the record

Inputs

  • query - keyword or phrase to search for.
  • datePosted - optional freshness filter: any time, last hour, last day, last week, last month, or last year.
  • maxResults - hard cap on saved posts and billed post events.
  • maxProviderPages - advanced pagination safety cap. Keep the default unless you intentionally want to limit upstream calls.
  • startCursor - continue from a previous run's nextCursor.
  • includeComments - include public comments returned with each post.
  • outputMode - full for all supported fields, compact for smaller LLM-friendly records.

Example Input

{
"query": "ai agents",
"datePosted": "last-week",
"maxResults": 50,
"maxProviderPages": 60,
"includeComments": true,
"outputMode": "full"
}

Example Output

{
"postUrl": "https://www.linkedin.com/posts/aagupta_what-you-need-to-know-ai-agents-activity-7354600338621906944-RvXR",
"postId": "7354600338621906944",
"searchQuery": "ai agents",
"datePosted": "last-week",
"publishedAt": "2025-07-25T19:56:02.566Z",
"description": "There's way too much hype about AI agents...",
"authorName": "Aakash Gupta",
"authorUrl": "https://www.linkedin.com/in/aagupta",
"authorFollowers": 313422,
"likeCount": 217,
"commentCount": 25,
"engagementCount": 242,
"position": 1,
"runId": "6neqzJ0WbGrfDOHb4",
"source": "scrapecreators",
"scrapedAt": "2026-06-08T00:00:00.000Z"
}

Run Summary and Cursors

Every run writes a machine-readable OUTPUT record to the default key-value store. Use it to decide what to do next:

{
"savedCount": 50,
"chargedThisRun": 50,
"estimatedPpeCostUsd": 0.25,
"pagesFetched": 4,
"nextCursor": "5",
"stopReason": "max-results-reached",
"providerAttempts": 4,
"providerRetries": 0,
"providerStatusCodes": [200]
}

To continue, pass nextCursor from the previous OUTPUT as startCursor in the next run. Common stopReason values are:

  • max-results-reached - the actor reached your maxResults cap.
  • no-results - the provider found no public indexed posts for the query and date filter.
  • no-more-results - the provider page had no additional cursor.
  • max-provider-pages-reached - the advanced page safety cap stopped pagination.
  • provider-error or partial-provider-error - upstream provider failed before or after some records were saved.

Use Cases

  • Monitor public LinkedIn conversations about your company, competitors, or category.
  • Find high-engagement posts about emerging B2B topics.
  • Build lead and account research workflows around public market signals.
  • Feed AI agents with recent public LinkedIn discussions for summarization and trend analysis.
  • Track thought leaders and public reactions around launches, funding news, product categories, or conferences.

Pricing

This actor is designed for pay-per-event monetization:

  • apify-actor-start: platform start event.
  • post-found: one public LinkedIn post saved to the dataset.

The actor logs the maximum possible post-event cost before it starts and stops before saving or charging more than maxResults.

The default run memory is 512 MB because this is an API-backed actor, not a browser crawler. That keeps the platform start event lighter while still leaving enough room for large JSON pages.

Limitations

LinkedIn post search is best-effort. Results depend on what Google has indexed and what LinkedIn exposes publicly. This actor does not scrape private LinkedIn content, does not use account cookies, and does not provide a complete LinkedIn-native search index.

For known post URLs, use a LinkedIn post-detail scraper. For LinkedIn jobs or profile emails, use actors built specifically for those data types.

API Example

curl -X POST "https://api.apify.com/v2/acts/khadinakbar~linkedin-post-search-scraper/runs?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"query":"ai agents","datePosted":"last-week","maxResults":25}'

This actor is intended for public web data that is visible without authentication. You are responsible for using the output in compliance with applicable laws, platform terms, privacy requirements, and your own data governance policies.