Python client for LinkedIn Post Search Scraper: Keyword & Brand Monitor — search LinkedIn posts by keyword, monitor brands and topics.
⚡ No login, no cookies, no ban risk · runs in the cloud on Apify
💸 From $2.0 per 1,000 results (volume discounts on paid Apify plans). You are only charged for delivered results — empty searches and failed pages are never billed.
pip install apify-client
python3 linkedin_post_search_scraper.py --token YOUR_APIFY_TOKEN --query "artificial intelligence startup"Get a free API token: console.apify.com/sign-up — then find it under Settings → API & Integrations.
| Flag | Type | Description |
|---|---|---|
--token |
string | Apify API token (or APIFY_TOKEN env var) |
--out |
string | Output basename — writes results.json + results.csv |
--query |
string | Keyword or phrase to search for in LinkedIn posts (e.g. "artificial intelligence startup", |
--max-results |
integer | Maximum number of posts to return. Google typically indexes a limited number of posts per |
--debug-snippets |
boolean | Internal: log raw SERP snippets to help diagnose parsing issues. |
Flags map 1:1 to the actor's input schema — full reference and a live output sample on the Store listing.
One row per result, saved as both JSON and CSV with every field the actor returns. Preview the exact fields on the listing's output tab.
- HTTP-native — fast, stable, no headless-browser overhead
- No account risk — never asks for your login or cookies
- Fair billing — pay per delivered result only
MIT © The Mine Works — part of a 69-scraper suite trusted by 450+ developers.