HarvestAPILinkedInSocial

Search LinkedIn posts

harvestapi.linkedin.post.search

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

价格
$0.004/call按供应商原价
成功率
100%近 30 天 · 126,807 次
延迟 p50
2.2 秒p95 5.5 秒
最后验证
2026年9月10日实测可用
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.post.search?page=1&search=Microsoft预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

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.

参数类型必填说明示例
查询参数
page整数可选Page number for pagination1
group字符串可选Group LinkedIn URL or Group ID
search字符串可选Keywords to search for in postsMicrosoft
sortBy字符串可选Sort by field. Supported values: 'relevance', 'date'
company字符串可选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
profile字符串可选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
companyId字符串可选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
profileId字符串可选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
contentType字符串可选Filter by content type. Supported values: 'videos', 'images', 'live_videos', 'documents', 'collaborative_articles', 'jobs'
postedLimit字符串可选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字符串可选Filter by keywords in authors' profiles
authorsCompany字符串可选List of LinkedIn companies where authors of posts work (comma-separated). It supports company URLs and IDs.
paginationToken字符串可选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字符串可选Filter posts mentioning this LinkedIn profile URL or ID (comma-separated). It supports profile URLs and IDs.
authorsIndustryId字符串可选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字符串可选Filter posts mentioning this LinkedIn company URL or ID (comma-separated). It supports company URLs and IDs.
scrapePostedLimit字符串可选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
  • 查询参数
  • page整数可选

    Page number for pagination

    示例:1

  • group字符串可选

    Group LinkedIn URL or Group ID

  • search字符串可选

    Keywords to search for in posts

    示例:Microsoft

  • sortBy字符串可选

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

  • company字符串可选

    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

  • profile字符串可选

    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

  • companyId字符串可选

    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

  • profileId字符串可选

    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

  • contentType字符串可选

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

  • postedLimit字符串可选

    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字符串可选

    Filter by keywords in authors' profiles

  • authorsCompany字符串可选

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

  • paginationToken字符串可选

    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字符串可选

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

  • authorsIndustryId字符串可选

    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字符串可选

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

  • scrapePostedLimit字符串可选

    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

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

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

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.004/call 计费,已含服务费。