Search LinkedIn posts
harvestapi_get_linkedin_post_searchSearch LinkedIn posts by keywords, author, date range, and more. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| group | No | Group LinkedIn URL or Group ID | |
| search | No | Keywords to search for in posts | |
| sortBy | No | Sort by field. Supported values: 'relevance', 'date' | |
| company | No | Filter posts by this company URL(s) or company ID(s) (comma-separated). Note: LinkedIn returns fewer results per company when using post search. To extract all posts by a company, use the /linkedin/company-posts endpoint | |
| profile | No | Filter posts by author's profile URL(s) or public identifier(s) or profile ID(s) (comma-separated). Note: LinkedIn returns fewer results per profile when using post search. To extract all posts by a profile, use the /linkedin/profile-posts endpoint | |
| contentType | No | Filter by content type. Supported values: 'videos', 'images', 'live_videos', 'documents', 'collaborative_articles', 'jobs' | |
| postedLimit | No | Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. This parameter will be sent to LinkedIn, the filtering will be done on their side | |
| authorKeywords | No | Filter by keywords in authors' profiles | |
| authorsCompany | No | List of LinkedIn companies where authors of posts work (comma-separated). It supports company URLs and IDs. | |
| paginationToken | No | Required if it was returned by the previous page. Otherwise the page will always be 1 (on LinkedIn side). Doesn't apply for all queries, usually profile posts return this token | |
| mentioningMember | No | Filter posts mentioning this LinkedIn profile URL or ID (comma-separated). It supports profile URLs and IDs. | |
| authorsIndustryId | No | List of LinkedIn industry IDs of authors' companies (comma-separated). It supports industry IDs. Full list of industry IDs: https://github.com/HarvestAPI/linkedin-industry-codes-v2/blob/main/linkedin_industry_code_v2_all_eng.csv | |
| mentioningCompany | No | Filter posts mentioning this LinkedIn company URL or ID (comma-separated). It supports company URLs and IDs. | |
| scrapePostedLimit | No | Post-Filter posts by maximum posted date. Supported values: '1h', '24h', 'week','month', '3months', '6months', 'year'. This parameter will be applied after receiving results from LinkedIn, the filtering will be done on our side |