Skip to main content
Glama

OpenAny

Search LinkedIn posts

harvestapi_get_linkedin_post_search

Search 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

NameRequiredDescriptionDefault
pageNoPage number for pagination
groupNoGroup LinkedIn URL or Group ID
searchNoKeywords to search for in posts
sortByNoSort by field. Supported values: 'relevance', 'date'
companyNoFilter 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
profileNoFilter 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
contentTypeNoFilter by content type. Supported values: 'videos', 'images', 'live_videos', 'documents', 'collaborative_articles', 'jobs'
postedLimitNoFilter 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
authorKeywordsNoFilter by keywords in authors' profiles
authorsCompanyNoList of LinkedIn companies where authors of posts work (comma-separated). It supports company URLs and IDs.
paginationTokenNoRequired 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
mentioningMemberNoFilter posts mentioning this LinkedIn profile URL or ID (comma-separated). It supports profile URLs and IDs.
authorsIndustryIdNoList 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
mentioningCompanyNoFilter posts mentioning this LinkedIn company URL or ID (comma-separated). It supports company URLs and IDs.
scrapePostedLimitNoPost-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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.