querystring必須
LinkedIn post search query, including quoted terms or Boolean operators accepted by LinkedIn search.
https://api.sandbase.ai/v1/api/linkedin/search-posts-fullSearch public LinkedIn posts with rich author, engagement, attachment, and poll details.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
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.
authorKeywords or authorCompanyNames.mentioningMemberUrls.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.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | LinkedIn post search query, including quoted terms or Boolean operators accepted by LinkedIn search. |
authorCompanyNames | array | No | Only return posts by people associated with these company names. |
authorIndustryIds | array | No | Only return posts by authors associated with these LinkedIn industry IDs. |
authorKeywords | string | No | Only return posts whose author profile headline or job title contains at least one of these keywords. |
authorUrls | array | No | Only return posts authored by these LinkedIn profile or company URLs. |
contentType | string | No | Only return posts carrying this content type. |
datePosted | string | No | Only return posts published within this relative time window. Last-hour and windows beyond one month route to the provider that supports them. |
limit | integer | No | Maximum number of posts to return (1-100, default 10). The upper bound is one LinkedIn search page. |
mentioningMemberUrls | array | No | Only return posts mentioning these LinkedIn member profile URLs. |
requireFields | array | No | 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 t |
sort | string | No | Order results by search relevance or publication date. |
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
}
| Field | Meaning |
|---|---|
data.posts[].id | Numeric ID of the post, returned as a string. |
data.posts[].url | Public LinkedIn URL of the post. |
data.posts[].text | Post text. Long posts may be shortened. |
data.posts[].createdUtc | Creation time of the post as a Unix timestamp in seconds. |
data.posts[].author.name | Display name of the author. |
data.posts[].author.profileUrl / data.posts[].author.publicIdentifier | LinkedIn profile URL of the author and the identifier used in that URL. |
data.posts[].engagement.reactions / data.posts[].engagement.comments | Number of reactions and number of comments on the post. |
found | true when the search returned results. |
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.requireFields (for example attachmentType or pollOptions) to require them, which can change the price.url to LinkedIn Post for the full post, or use LinkedIn Post Comments to read its comments.Billed at the actual cost of each call, about $0.004 for the request above. Failed calls are not charged.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
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"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
querystring必須LinkedIn post search query, including quoted terms or Boolean operators accepted by LinkedIn search.
sortstringOrder results by search relevance or publication date.
デフォルト: "relevance"
指定可能な値: relevance, date
limitintegerMaximum number of posts to return (1-100, default 10). The upper bound is one LinkedIn search page.
デフォルト: 10
authorUrlsarrayOnly return posts authored by these LinkedIn profile or company URLs.
datePostedstringOnly return posts published within this relative time window. Last-hour and windows beyond one month route to the provider that supports them.
デフォルト: "last-day"
指定可能な値: last-hour, last-day, last-week, last-month, last-three-months, last-six-months, last-year
contentTypestringOnly return posts carrying this content type.
指定可能な値: all, videos, images, jobs, live-videos, documents, collaborative-articles
requireFieldsarrayOptional; 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.
authorKeywordsstringOnly return posts whose author profile headline or job title contains at least one of these keywords.
authorIndustryIdsarrayOnly return posts by authors associated with these LinkedIn industry IDs.
authorCompanyNamesarrayOnly return posts by people associated with these company names.
mentioningMemberUrlsarrayOnly return posts mentioning these LinkedIn member profile URLs.
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
LinkedIn | 1回あたり $0.004 から | JSON |
LinkedIn | 1回あたり $0.0012 から | JSON |
LinkedIn | 1回あたり $0.0331 から | JSON |
LinkedIn | 1回あたり $0.0012 から | JSON |
LinkedIn | 1回あたり $0.00569 から | JSON |
LinkedIn | 1回あたり $0.0026 から | JSON |
ガイド:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/linkedin/search-posts-full に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.004 から、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: 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 に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。LinkedIn Post Search (full) は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。LinkedIn の API アクセスを別途申請する必要はありません。