AS
Apify Store
/harvestapi/linkedin-profile-posts
LinkedIn Profile Posts Scraper (No Cookies)
Extract posts from LinkedIn profiles, including content, media, engagement, reactions, comments, and more. No cookies or account required.
liveverifiedasyncdegraded · 9.9s~30s typical
lead generationsocial mediaautomationlinkedinprofileposts
$0.0025
per result + $0.005 call
plus $0.001 platform fee per run
Actor charges $0.002 per result; Cracked adds 25% plus a $0.005 call fee
Bring your own Apify Store key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run apify /harvestapi/linkedin-profile-posts for me.
Input
| Field | Type | Description |
|---|---|---|
| targetUrls | array | List of LinkedIn profile or company URLs to scrape. Example: `https://www.linkedin.com/in/satyanadella/` will fetch posted or re-posted content by Bill Gates. |
| maxPosts | integer | Maximum number of posts to scrape per each profile or company. Default is 10. This overrides pagination. If you set this to 0, it will scrape all posts. |
| postedLimit | string (any | 1h | 24h | week | month | 3months) | Fetch posts no older than X time. Options: '24h', 'week', 'month'. |
| postedLimitDate | string | Scrape posts from now up to and including this date. It supports the [Date time string format](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format). For example, "2011-10-10", or "2011-10-10T14:48:00.000+09:00" or a timestamp: "628021800000" |
| includeQuotePosts | boolean | Include quote posts (shared posts with comments). By default, all posts are scraped. default true |
| includeReposts | boolean | Include reposts (shared posts without comments). By default, all posts are scraped. default true |
| scrapeReactions | boolean | Scrape reactions of posts. default false |
| maxReactions | integer | Maximum number of reactions to scrape per post. Default is 5. |
| postNestedReactions | boolean | Whether to add reactions items inside post items. In a case of hundreds of reactions, the Actor might hit the max item size limit and won't be able to save a post. |
| scrapeComments | boolean | Scrape comments of posts. default false |
| maxComments | integer | Maximum number of comments to scrape per post. Default is 5. |
| commentsPostedLimit | string (any | 1h | 24h | week | month) | Fetch comments no older than X time. Options: '24h', 'week', 'month'. |
| postNestedComments | boolean | Whether to add comments items inside post items. In a case of hundreds of comments, the Actor might hit the max item size limit and won't be able to save a post. |
| contextCountry | string (any | US | GB | DE | FR) | Set the context country for LinkedIn. This can affect the content you see on LinkedIn, as it may vary by region. |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"apify","endpoint":"/harvestapi/linkedin-profile-posts","input":{"targetUrls":["https://www.linkedin.com/in/satyanadella/","https://www.linkedin.com/company/google"],"maxPosts":3,"maxReactions":3,"postNestedReactions":false,"maxComments":3,"postNestedComments":false},"wait":false}'poll
curl "https://cracked-ai-pearl.vercel.app/v1/runs/<runId>?wait=30" -H "Authorization: Bearer ck_live_..."cli
npx cracked-ai run -p apify -e /harvestapi/linkedin-profile-posts -i '{"targetUrls":["https://www.linkedin.com/in/satyanadella/","https://www.linkedin.com/company/google"],"maxPosts":3,"maxReactions":3,"postNestedReactions":false,"maxComments":3,"postNestedComments":false}' -w 120mcp
run_tool({ provider: "apify", endpoint: "/harvestapi/linkedin-profile-posts", input: {"targetUrls":["https://www.linkedin.com/in/satyanadella/","https://www.linkedin.com/company/google"],"maxPosts":3,"maxReactions":3,"postNestedReactions":false,"maxComments":3,"postNestedComments":false}, wait: false })Try it
Runs against your signed-in workspace balance. Sign in if you have not.