urlstring必填
Company URL.
https://api.sandbase.ai/v1/api/linkedin/web-v2/company-postsReturns posts from a LinkedIn organization page using the company URL. Supports ordering by top or recent posts and offset or token pagination.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
The LinkedIn company profile and posts API example separates the two requests and their historical observations. Start with the required company URL; do not infer a pagination token path from another provider's API.
Optional input types are unspecified here and pending product confirmation; the published parameter schema remains authoritative. The exact token extraction path and the behavior when offset and token are sent together also need confirmation before a continuation example. The first-request example sends only url; no sorting or continuation request is demonstrated here.
Retrieve posts from a company's profile by supplying the organization url. Adjust feed ordering with sort_by and manage multi-page results using start or pagination_token.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/web-v2/company-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.linkedin.com/company/microsoft/"}'
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Company URL. |
start | unspecified (pending confirmation) | No | Pagination offset — 0 for page 1, 50 for page 2, and so on. |
sort_by | unspecified (pending confirmation) | No | top or recent. |
pagination_token | unspecified (pending confirmation) | No | Token from the paging object of the previous response. |
sort_by to top or recent to adjust output order.start in increments of 50 or by passing the pagination_token returned in the previous response.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/web-v2/company-posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.linkedin.com/company/microsoft/"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
urlstring必填Company URL.
pagination_tokenanyToken from the `paging` object of the previous response.
sort_byanytop or recent.
startanyPagination offset — 0 for page 1, 50 for page 2, and so on.
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| API | 價格 | 回應 |
|---|---|---|
LinkedIn | 每次呼叫 $0.05 | JSON |
LinkedIn | 每次呼叫 $0.008 | JSON |
LinkedIn | 每次呼叫 $0.05 | JSON |
LinkedIn | 每次呼叫 $0.05 | JSON |
LinkedIn | 每次呼叫 $0.008 | JSON |
LinkedIn | 每次呼叫 $0.05 | JSON |
指南:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/linkedin/web-v2/company-posts。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.05,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:url (string)。 選填:pagination_token (any), sort_by (any) 和 start (any)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。
不需要。LinkedIn Company Posts 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 LinkedIn API 存取權。
請在必填的 url 欄位中傳入完整的 LinkedIn 公司頁面 URL,包含 https://。首次請求的範例只使用這個欄位。目前 README 說明 sort_by 的值有 top 和 recent;recent 是排序選項,不代表一定最新。加入排序或分頁前,請先查閱端點參考文件,確認目前可選的輸入型別。
這裡沒有建立完整歷史或固定每頁大小的保證。README 說明起始偏移量為 0、50 及之後,或是使用前一個回應中的 pagination_token 繼續。這些偏移量無法證明每頁都包含 50 則貼文。正式發布接續範例前,必須先確認精確的 token 擷取路徑,以及 offset 與 token 同時傳送時的行為。