# LinkedIn Post Search Scraper: Keywords & Engagement (`capable_cauldron/linkedin-post-search-scraper`) Actor

Search public LinkedIn posts by keyword. Export text, author profiles, dates, reactions and comment counts as JSON, CSV or Excel. No login or cookies required.

- **URL**: https://apify.com/capable_cauldron/linkedin-post-search-scraper.md
- **Developed by:** [Capable Cauldron](https://apify.com/capable_cauldron) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 post collecteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

LinkedIn Post Search Scraper is a **LinkedIn post search scraper** that finds public posts by keyword and exports their text, authors, dates and available engagement. No LinkedIn login or cookies are required. Set limits for each search and the whole run.

Choose **Try for free** to open the Actor's input form. Apify's free plan provides a monthly platform allowance; how many results it covers depends on the active price and platform usage. Scheduled runs, webhooks and dataset exports fit into existing research workflows.

See a real run in 47 seconds:

[![LinkedIn Post Search Scraper demo video, 47 seconds](https://api.apify.com/v2/key-value-stores/9FGooi7IrKs0P8DcV/records/linkedin-post-search-scraper-demo-poster.jpg)](https://api.apify.com/v2/key-value-stores/9FGooi7IrKs0P8DcV/records/linkedin-post-search-scraper-demo.mp4)

▶️ [Watch the 47-second demo](https://api.apify.com/v2/key-value-stores/9FGooi7IrKs0P8DcV/records/linkedin-post-search-scraper-demo.mp4) (MP4, 24 MB, opens in your browser) · [Transcript](https://api.apify.com/v2/key-value-stores/9FGooi7IrKs0P8DcV/records/linkedin-post-search-scraper-demo-transcript.srt)

### What can LinkedIn Post Search Scraper do?

- 🔍 Find public LinkedIn posts for single or multiple keyword searches.
- 📝 Export post text, author names, headlines and LinkedIn profile links.
- 📊 Collect available reaction and comment counts with each post.
- 📅 Restrict returned posts to a selected age, including the past day, week or month.
- 📤 Export unique posts as CSV, Excel or JSON for analysis.

Results are ordered by relevance. This Actor does not promise an exhaustive archive or chronological search. Counts can change after a post is collected. Missing engagement stays null rather than being reported as zero. Textually similar posts with different identities remain separate posts.

### How to scrape LinkedIn post search results

1. Open the Actor's input form.
2. Add keywords such as `microsoft` or `artificial intelligence`.
3. Choose the maximum posts per query and maximum posts per run.
4. Start the run and inspect the Posts dataset view.
5. Export your results or connect the completed dataset to your workflow.

Start with a small search. A result cap is an upper bound, and fewer posts may be returned. Narrow post ages can exclude otherwise relevant matches. The Actor keeps the first matching search query when the same post appears in multiple searches.

### How much does it cost to scrape LinkedIn post search results?

Pay $0.003 per unique post delivered to the dataset, or $3.00 per 1,000 posts. Platform usage is included in this price. There is no separate start charge.

| Event | Unit | Price |
|---|---|---|
| `post-scraped` | One new post delivered | $0.003 |

For example, 100 delivered posts would cost $0.30 in result charges. A run delivering 1,000 posts would cost $3.00 in result charges. Duplicate posts, failed searches and searches without results have no result charge. Set `maxPosts` and the run's maximum cost to control spending. The free plan allowance is shared with other platform activity, so these examples do not guarantee a free result quantity.

### Input

| Field | Type | Default | Meaning |
|---|---|---|---|
| `searchQueries` | array of strings | Required | One to twenty keyword searches, each 1 to 200 characters |
| `maxPostsPerQuery` | integer | 50 | Maximum unique posts for each query, from 1 to 500 |
| `maxPosts` | integer | 200 | Maximum unique posts across the run, from 1 to 1,000 |
| `maxPagesPerQuery` | integer | 5 | Search depth per query, from 1 to 50; results may be incomplete |
| `postedWithin` | string | `any` | `any`, `24h`, `week` or `month`; posts without a known date are excluded when an age is selected |

One run reads at most 100 search result pages across all queries, which is about 1,000 posts. Queries left when that depth is used up are listed as skipped in the run summary.

```json
{"searchQueries":["microsoft"],"maxPostsPerQuery":20,"maxPosts":20,"maxPagesPerQuery":3,"postedWithin":"any"}
```

### Output

Each dataset item represents one unique post. This illustrative example shows the shape of a Microsoft search result; live content and dates vary:

```json
{
  "query":"microsoft",
  "id":"1234567890123456789",
  "postUrl":"https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/",
  "text":"A discussion about Microsoft technology.",
  "postedAt":"2026-11-16T09:00:00Z",
  "authorName":"Example Author",
  "authorHeadline":"Technology researcher",
  "authorUrl":"https://www.linkedin.com/in/example-author",
  "authorType":"user",
  "reactionCount":12,
  "commentCount":3,
  "isRepost":false,
  "imageUrls":[],
  "videoUrls":[],
  "hasDocument":false,
  "hasArticle":false,
  "hasPoll":false,
  "scrapedAt":"2026-11-16T10:00:00Z"
}
```

The Posts view shows text, links, authors, dates and engagement. Full detail includes media links and attachment indicators. The OUTPUT record contains a run status, total posts and per-query outcomes. Search limits or repeated results can end a search early; the summary says when coverage may be incomplete. A zero-result search is not proof that no matching LinkedIn posts exist.

### Use cases

- [LinkedIn brand monitoring: find company mentions](https://apify.com/capable_cauldron/linkedin-post-search-scraper/examples/lps-brand-monitoring). Find public posts discussing Microsoft and collect text, authors and engagement for brand research.
- [LinkedIn AI post search: discover industry discussions](https://apify.com/capable_cauldron/linkedin-post-search-scraper/examples/lps-ai-conversations). Find posts about artificial intelligence and export authors, post links and available engagement.
- [LinkedIn hiring posts: find recruiting conversations](https://apify.com/capable_cauldron/linkedin-post-search-scraper/examples/lps-hiring-signals). Search posts about hiring sales teams to identify public recruiting conversations and relevant authors.
- [LinkedIn product launch posts: research new releases](https://apify.com/capable_cauldron/linkedin-post-search-scraper/examples/lps-product-launches). Collect relevant product launch conversations with post text, publication dates and available engagement.
- [LinkedIn marketing posts from the past week](https://apify.com/capable_cauldron/linkedin-post-search-scraper/examples/lps-weekly-marketing). Find relevant content marketing posts with known dates from the past seven days. Coverage may be incomplete.
- [LinkedIn post search: compare multiple business topics](https://apify.com/capable_cauldron/linkedin-post-search-scraper/examples/lps-multi-topic-research). Search three business topics in one run and export unique posts for market research and content planning.

### API and integrations

Call `capable_cauldron/linkedin-post-search-scraper` through Apify and read the resulting dataset.

Python:

```python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("capable_cauldron/linkedin-post-search-scraper").call(
    run_input={"searchQueries": ["microsoft"], "maxPosts": 20}
)
for post in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(post)
```

JavaScript:

```javascript
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "<YOUR_API_TOKEN>" });
const run = await client.actor("capable_cauldron/linkedin-post-search-scraper").call({
  searchQueries: ["microsoft"], maxPosts: 20
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

CLI:

```bash
apify call capable_cauldron/linkedin-post-search-scraper --input '{"searchQueries":["microsoft"],"maxPosts":20}'
```

Schedule searches in Apify or send completed datasets to Google Sheets, Make, Zapier or n8n. A completion webhook can notify your application when exported posts are ready.

### FAQ

#### Do I need LinkedIn login cookies?

No. Supply keywords and result limits in the input form.

#### Does this find every recent post?

No. Results are relevant matches rather than an exhaustive chronological archive. A selected post age restricts returned records, but recent matches can still be missed. Increase search depth cautiously if you need broader coverage.

#### Does this collect comments or search ads?

No. The Actor returns organic post search results and available comment counts. Use the related comment Actors to collect comment text from known post links.

#### Is it legal to use these results?

Use the results responsibly and respect applicable privacy rules and LinkedIn's terms. Public availability does not remove restrictions on reuse or outreach. Consult your own advisers when your intended use requires a legal assessment.

### Other Actors by capable_cauldron

| Actor | What it does |
|---|---|
| [App Store Reviews Scraper](https://apify.com/capable_cauldron/app-store-reviews-scraper) | App Store Reviews Scraper: iOS Reviews & Ratings |
| [Company Job Postings Scraper](https://apify.com/capable_cauldron/ats-jobs-scraper) | Job Postings Scraper: Greenhouse, Lever, Ashby & Workable |
| [Bulk Email Validator](https://apify.com/capable_cauldron/email-validator) | Bulk Email Validator: Syntax, MX, Disposable & Role Checks |
| [Verified Work Email Finder](https://apify.com/capable_cauldron/verified-work-email-finder) | LinkedIn Email Finder: Verified Work Emails |
| [GTM Account Enrichment](https://apify.com/capable_cauldron/gtm-account-enrichment) | GTM Account Enrichment: Contacts, Tech, Hiring & Fit Score |
| [Investor Database Search](https://apify.com/capable_cauldron/investor-database-search) | Investor Database Search: VC & Angel Investor Contacts |
| [LinkedIn Comment Scraper](https://apify.com/capable_cauldron/linkedin-comment-scraper) | LinkedIn Comment Scraper: Comments & Replies |
| [LinkedIn Post Comments Scraper](https://apify.com/capable_cauldron/linkedin-post-comments-scraper) | LinkedIn Post Comments Scraper (No Cookies) |
| [LinkedIn Profile Posts & Comments Scraper](https://apify.com/capable_cauldron/linkedin-profile-posts-comments-scraper) | LinkedIn Profile Posts & Comments Scraper (No Cookies) |
| [LinkedIn Profile Posts Scraper](https://apify.com/capable_cauldron/linkedin-profile-posts-scraper) | LinkedIn Posts Scraper: Profile Posts & Engagement |
| [Ad Scraper: Meta, Google, LinkedIn & TikTok](https://apify.com/capable_cauldron/multi-channel-ad-intelligence) | Ad Scraper: Meta, Google, LinkedIn & TikTok |
| [TikTok Shop USA Scraper](https://apify.com/capable_cauldron/tiktok-shop-usa-scraper) | TikTok Shop USA Scraper: Products, Shops, Creators |
| [Website Contact Scraper](https://apify.com/capable_cauldron/website-contact-scraper) | Website Contact Scraper: Emails, Phones & Social Links |
| [Website Tech Stack Detector](https://apify.com/capable_cauldron/website-tech-stack-detector) | Website Tech Stack Detector: Technology Lookup for Any Site |

### Support

Report reproducible problems through the Actor's Issues tab. Include the run link and a description of the missing result or field, without credentials. We aim to respond within two business days. Custom fields and private workflow adaptations can be discussed there.

# Actor input Schema

## `searchQueries` (type: `array`):

One to twenty keyword searches. Repeated queries are searched once. Results are ordered by relevance.

## `maxPostsPerQuery` (type: `integer`):

Upper limit on unique posts collected for each query. Fewer posts may be available.

## `maxPosts` (type: `integer`):

Total limit across all queries. Duplicate posts are included only once.

## `maxPagesPerQuery` (type: `integer`):

Maximum search pages to examine per query. Higher values can find more posts but take longer. Results are not exhaustive.

## `postedWithin` (type: `string`):

Return only posts with a known date within this age. Relevant results can include older posts, so a narrow age may return fewer or no posts. This does not guarantee every recent post.

## Actor input object example

```json
{
  "searchQueries": [
    "microsoft"
  ],
  "maxPostsPerQuery": 50,
  "maxPosts": 200,
  "maxPagesPerQuery": 5,
  "postedWithin": "any"
}
```

# Actor output Schema

## `results` (type: `string`):

Unique matching posts with text, author details, dates and available engagement.

## `runSummary` (type: `string`):

Collected post counts, search outcomes and reasons for stopping.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQueries": [
        "microsoft"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("capable_cauldron/linkedin-post-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "searchQueries": ["microsoft"] }

# Run the Actor and wait for it to finish
run = client.actor("capable_cauldron/linkedin-post-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "microsoft"
  ]
}' |
apify call capable_cauldron/linkedin-post-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,capable_cauldron/linkedin-post-search-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/I7vLH8rddh9BdTX4d/builds/WVi2esvtCBDv2cCNO/openapi.json
