Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

LinkedIn Post Search (full)

API 文件
https://api.sandbase.ai/v1/api/linkedin/search-posts-full

Search public LinkedIn posts with rich author, engagement, attachment, and poll details.

價格
自 $0.004 起美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 10 個選填

Playground

輸入
LinkedIn post search query, including quoted terms or Boolean operators accepted by LinkedIn search.
Order results by search relevance or publication date.
1100
Maximum number of posts to return (1-100, default 10). The upper bound is one LinkedIn search page. 範圍:1 到 100。
Only return posts authored by these LinkedIn profile or company URLs.
Only return posts published within this relative time window. Last-hour and windows beyond one month route to the provider that supports them.
Only return posts carrying this content type.
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `attachmentType` or `pollOptions`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Only return posts whose author profile headline or job title contains at least one of these keywords.
Only return posts by authors associated with these LinkedIn industry IDs.
Only return posts by people associated with these company names.
Only return posts mentioning these LinkedIn member profile URLs.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

LinkedIn Post Search (full) API

Returns public LinkedIn posts that match a search query. Each post includes its author, text, URL, creation time and comment and reaction counts. The only required input is query, and filters narrow results by date, author, content type and more.

Use cases

  • Track how people on LinkedIn talk about a topic, brand or product over the past week.
  • Find active authors in a niche by searching a keyword and filtering on authorKeywords or authorCompanyNames.
  • Collect post URLs and IDs to feed into comment or reaction lookups for deeper engagement analysis.
  • Monitor posts that mention specific members with mentioningMemberUrls.

Request

curl -X POST "https://api.sandbase.ai/v1/api/linkedin/search-posts-full" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sort": "relevance", "limit": 10, "query": "artificial intelligence", "datePosted": "last-week"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesLinkedIn post search query, including quoted terms or Boolean operators accepted by LinkedIn search.
authorCompanyNamesarrayNoOnly return posts by people associated with these company names.
authorIndustryIdsarrayNoOnly return posts by authors associated with these LinkedIn industry IDs.
authorKeywordsstringNoOnly return posts whose author profile headline or job title contains at least one of these keywords.
authorUrlsarrayNoOnly return posts authored by these LinkedIn profile or company URLs.
contentTypestringNoOnly return posts carrying this content type.
datePostedstringNoOnly return posts published within this relative time window. Last-hour and windows beyond one month route to the provider that supports them.
limitintegerNoMaximum number of posts to return (1-100, default 10). The upper bound is one LinkedIn search page.
mentioningMemberUrlsarrayNoOnly return posts mentioning these LinkedIn member profile URLs.
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example attachmentType or pollOptions, and it is served only by a source t
sortstringNoOrder results by search relevance or publication date.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "posts": [
      {
        "author": {
          "name": "Angela H.",
          "profileUrl": "https://www.linkedin.com/in/angela-h-75a45431b",
          "publicIdentifier": "angela-h-75a45431b"
        },
        "createdUtc": 1793675023,
        "engagement": {
          "comments": 1,
          "reactions": 0
        },
        "id": "7523218324076326913",
        "text": "Some of the greatest opportunities in artificial intelligence may not come from …",
        "url": "https://www.linkedin.com/posts/angela-h-75a45431b_artificialintelligence-ai-scie…"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.posts[].idNumeric ID of the post, returned as a string.
data.posts[].urlPublic LinkedIn URL of the post.
data.posts[].textPost text. Long posts may be shortened.
data.posts[].createdUtcCreation time of the post as a Unix timestamp in seconds.
data.posts[].author.nameDisplay name of the author.
data.posts[].author.profileUrl / data.posts[].author.publicIdentifierLinkedIn profile URL of the author and the identifier used in that URL.
data.posts[].engagement.reactions / data.posts[].engagement.commentsNumber of reactions and number of comments on the post.
foundtrue when the search returned results.

Notes

  • Use sort set to date to order by publication date instead of relevance. datePosted defaults to last-day.
  • limit accepts 1 to 100 and defaults to 10. No pagination parameter exists, so one call returns one search page.
  • Attachment and poll fields appear only when the serving source returns them. Name them in requireFields (for example attachmentType or pollOptions) to require them, which can change the price.
  • Pass a post url to LinkedIn Post for the full post, or use LinkedIn Post Comments to read its comments.

Pricing

Billed at the actual cost of each call, about $0.004 for the request above. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
LinkedIn每次呼叫 $0.004 起JSON
LinkedIn每次呼叫 $0.0012 起JSON
LinkedIn每次呼叫 $0.0331 起JSON
LinkedIn每次呼叫 $0.0012 起JSON
LinkedIn每次呼叫 $0.00569 起JSON
LinkedIn每次呼叫 $0.0026 起JSON

指南:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared

問題

常見問題

我要如何使用 LinkedIn Post Search (full) API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/linkedin/search-posts-full。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

LinkedIn Post Search (full) API 的費用是多少?

每次起 $0.004,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

LinkedIn Post Search (full) API 接受哪些參數?

必要:query (string)。 選填:sort(relevance, date 之一), limit (integer), authorUrls (array), datePosted(last-hour, last-day, last-week, last-month, last-three-months, last-six-months, last-year 之一), contentType(all, videos, images, jobs, live-videos, documents, collaborative-articles 之一) 和 requireFields (array),以及另外 4 個。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

LinkedIn Post Search (full) API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 LinkedIn 開發者帳號或 API 金鑰嗎?

不需要。LinkedIn Post Search (full) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 LinkedIn API 存取權。