HarvestAPILinkedInSocial

Search LinkedIn posts

harvestapi.linkedin.post.search

Search LinkedIn posts by keywords, author, date range, and more.

Price
$0.004/callAt provider cost
Success rate
100%Last 30 days · 126,807 calls
Latency p50
2.2 sp95 5.5 s
Last verified
Sep 10, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.post.search?page=1&search=MicrosoftPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

Use only the declared query parameters, once each, without a request body. Results are provider-native: inspect element/elements and body status/error; HTTP 200 alone does not prove a hit. Empty results can still be charged.

ParameterTypeRequiredDescriptionExample
Query parameters
pageintegerOptionalPage number for pagination1
groupstringOptionalGroup LinkedIn URL or Group ID
searchstringOptionalKeywords to search for in postsMicrosoft
sortBystringOptionalSort by field. Supported values: 'relevance', 'date'
companystringOptionalFilter posts by this company URL or URLs (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
profilestringOptionalFilter posts by author's profile URL (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
companyIdstringOptionalFilter posts by company ID or IDs (comma-separated). It's faster to search by ID. Note: LinkedIn returns fewer results per company when using post search. To extract all posts by a company, use the /linkedin/company-posts endpoint
profileIdstringOptionalFilter posts by author's profile ID or IDs (comma-separated). It's faster to search by ID. Note: LinkedIn returns fewer results per profile when using post search. To extract all posts by a profile, use the /linkedin/profile-posts endpoint
contentTypestringOptionalFilter by content type. Supported values: 'videos', 'images', 'live_videos', 'documents', 'collaborative_articles', 'jobs'
postedLimitstringOptionalFilter 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
authorKeywordsstringOptionalFilter by keywords in authors' profiles
authorsCompanystringOptionalList of LinkedIn companies where authors of posts work (comma-separated). It supports company URLs and IDs.
paginationTokenstringOptionalRequired 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
mentioningMemberstringOptionalFilter posts mentioning this LinkedIn profile URL or ID (comma-separated). It supports profile URLs and IDs.
authorsIndustryIdstringOptionalList 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
mentioningCompanystringOptionalFilter posts mentioning this LinkedIn company URL or ID (comma-separated). It supports company URLs and IDs.
scrapePostedLimitstringOptionalPost-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
  • Query parameters
  • pageintegerOptional

    Page number for pagination

    Example: 1

  • groupstringOptional

    Group LinkedIn URL or Group ID

  • searchstringOptional

    Keywords to search for in posts

    Example: Microsoft

  • sortBystringOptional

    Sort by field. Supported values: 'relevance', 'date'

  • companystringOptional

    Filter posts by this company URL or URLs (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

  • profilestringOptional

    Filter posts by author's profile URL (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

  • companyIdstringOptional

    Filter posts by company ID or IDs (comma-separated). It's faster to search by ID. Note: LinkedIn returns fewer results per company when using post search. To extract all posts by a company, use the /linkedin/company-posts endpoint

  • profileIdstringOptional

    Filter posts by author's profile ID or IDs (comma-separated). It's faster to search by ID. Note: LinkedIn returns fewer results per profile when using post search. To extract all posts by a profile, use the /linkedin/profile-posts endpoint

  • contentTypestringOptional

    Filter by content type. Supported values: 'videos', 'images', 'live_videos', 'documents', 'collaborative_articles', 'jobs'

  • postedLimitstringOptional

    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

  • authorKeywordsstringOptional

    Filter by keywords in authors' profiles

  • authorsCompanystringOptional

    List of LinkedIn companies where authors of posts work (comma-separated). It supports company URLs and IDs.

  • paginationTokenstringOptional

    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

  • mentioningMemberstringOptional

    Filter posts mentioning this LinkedIn profile URL or ID (comma-separated). It supports profile URLs and IDs.

  • authorsIndustryIdstringOptional

    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

  • mentioningCompanystringOptional

    Filter posts mentioning this LinkedIn company URL or ID (comma-separated). It supports company URLs and IDs.

  • scrapePostedLimitstringOptional

    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

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/harvestapi.linkedin.post.search?page=1&search=Microsoft' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.004/call, including the service fee.