urlstringwymagane
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.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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/"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
urlstringwymaganeCompany 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.
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
LinkedIn Company PostsTo API LinkedIn | $0.05 za wywołanie | JSON |
LinkedIn | $0.008 za wywołanie | JSON |
LinkedIn | $0.05 za wywołanie | JSON |
LinkedIn | $0.05 za wywołanie | JSON |
LinkedIn | $0.008 za wywołanie | JSON |
LinkedIn | $0.05 za wywołanie | JSON |
Przewodniki:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/linkedin/web-v2/company-posts z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.05 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: url (string). Opcjonalne: pagination_token (any), sort_by (any) i start (any). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. LinkedIn Company Posts działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API LinkedIn.
Wyślij pełny URL strony firmowej LinkedIn w wymaganym polu url, łącznie z https://. Przykład pierwszego requestu używa tylko tego pola. Obecny README opisuje wartości sort_by top i recent; recent to opcja sortowania, a nie gwarancja świeżości. Sprawdź dokumentację endpointu, aby poznać bieżące opcjonalne typy wejścia, zanim dodasz sortowanie lub paginację.
Nie ustalono tu gwarancji pełnej historii ani stałego rozmiaru strony. README opisuje offsety początkowe 0, 50 i dalej albo kontynuację z pagination_token z poprzedniej odpowiedzi. Te offsety nie dowodzą, że każda strona zawiera 50 postów. Dokładna ścieżka wyodrębniania tokenu i zachowanie, gdy offset i token są wysyłane razem, trzeba potwierdzić przed publikacją przykładu kontynuacji.