← 返回
开发者工具 Key 中文

LinkedIn Search Posts

Search LinkedIn posts by keywords using the Apify actor harvestapi/linkedin-post-search. Use when the user wants to search, scrape, or retrieve LinkedIn post...
使用 Apify actor harvestapi/linkedin-post-search 按关键词搜索 LinkedIn 帖子。适用于用户想要搜索、抓取或检索 LinkedIn 帖子的场景。
godefroy
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 469
下载
💾 13
安装
1
版本
#latest

概述

LinkedIn Posts Search

Search LinkedIn posts via Apify actor harvestapi~linkedin-post-search.

Prerequisites

Env variable APIFY_API_TOKEN must be set (configured in openclaw.json under skills.entries.linkedin-search-posts.env).

Input schema

Requis

  • searchQueries: array of strings — liste des requêtes de recherche (max 85 caractères par requête). Supporte les opérateurs booléens LinkedIn. Ex : ["La Base Programme idéation Nantes"]

Optionnels — filtres auteurs

  • targetUrls: liste d'URLs de profils/pages LinkedIn dont on veut les posts
  • authorsPublicIdentifiers: liste d'identifiants publics LinkedIn (ex: ["williamhgates"])
  • authorsIds: liste d'IDs LinkedIn (ex: ["ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc"])
  • authorsCompanyPublicIdentifiers: liste d'identifiants de sociétés LinkedIn (ex: ["google", "microsoft"])

Optionnels — pagination / volume

  • maxPosts: nombre max de posts par requête (0 = tout scraper). Prioritaire sur scrapePages.
  • scrapePages: nombre de pages à scraper si maxPosts non défini (~50 posts/page avec keywords, ~90-100 sans)
  • startPage: page de départ (défaut: 1)

Optionnels — contenu enrichi

  • scrapeReactions: scraper les réactions (défaut: false). Chaque réaction est comptée comme un post séparé (facturation).
  • maxReactions: nombre max de réactions par post (0 = toutes)
  • scrapeComments: scraper les commentaires (défaut: false). Chaque commentaire est compté comme un post séparé (facturation).
  • maxComments: nombre max de commentaires par post (0 = tous)

Optionnels — tri / date

  • sortBy: "relevance" (par pertinence, défaut) ou "date" (plus récents en premier)
  • postedLimit: ancienneté max des posts. Valeurs acceptées : '1h', '24h', 'week', 'month', '3months', '6months', 'year'

Run the actor

curl --request POST \
  --url "https://api.apify.com/v2/acts/harvestapi~linkedin-post-search/runs?token=$APIFY_API_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "searchQueries": ["<search query>"],
    "maxPosts": 50,
    "sortBy": "date",
    "postedLimit": "month"
  }'

La réponse contient :

  • data.id — run ID
  • data.defaultDatasetId — dataset ID pour récupérer les résultats
  • data.status — statut initial (READYRUNNINGSUCCEEDED)

Poll until complete

curl "https://api.apify.com/v2/acts/harvestapi~linkedin-post-search/runs/<RUN_ID>?token=$APIFY_API_TOKEN"

Vérifier data.status == SUCCEEDED.

Fetch results

curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=$APIFY_API_TOKEN"

Retourne un tableau JSON. Chaque item contient :

  • type"post" (ou "reaction" / "comment" si activés)
  • id — ID du post
  • linkedinUrl — URL du post
  • content — texte du post
  • author.name, author.publicIdentifier, author.linkedinUrl, author.avatar.url
  • postedAt.date, postedAt.timestamp, postedAt.postedAgoText
  • postImages[] — images du post
  • engagement.likes, engagement.comments, engagement.shares, engagement.reactions[]
  • reactions[] — détail des réactions (si scrapeReactions: true)
  • comments[] — détail des commentaires (si scrapeComments: true)

Pricing

$2 per 1000 posts (PAY_PER_EVENT). Réactions et commentaires comptent chacun comme un post séparé.

Known limitations

  • Chaque requête est limitée à 85 caractères par LinkedIn
  • Les réactions et commentaires doublent/triplent le coût si activés
  • Les résultats LinkedIn ne sont pas exhaustifs

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 20:11 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,530
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,385
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,473