Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

LinkedIn Company Posts

Dokumentacja API
https://api.sandbase.ai/v1/api/linkedin/company-posts

List a LinkedIn company page's recent posts by URL: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media.

Cena
Od $0.0029USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 4 opcjonalnych

Playground

Wejście
Full LinkedIn company page URL.
150
Maximum number of posts to return. Zakres: od 1 do 50.
Only return posts published within this window (default any).
Include reposts (posts shared without an added comment). Defaults to true; set false to exclude them.
Include quote posts (posts shared with an added comment). Defaults to true; set false to exclude them.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

LinkedIn Company Posts API

Returns a list of recent posts from a LinkedIn company page. Each post includes text, links, a publish timestamp, author details, engagement counts and attached media. It needs the full company page URL in url.

Use cases

  • Track what a competitor posts on LinkedIn and which posts get the most likes, comments and shares.
  • Build a feed of a company's announcements for a monitoring dashboard.
  • Compare reaction types across posts to see which content gets praise or empathy rather than plain likes.
  • Collect post images and links from a brand page for a content audit.

Request

curl -X POST "https://api.sandbase.ai/v1/api/linkedin/company-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.linkedin.com/company/stripe", "limit": 10}'

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

Parameters

NameTypeRequiredDescription
urlstringYesFull LinkedIn company page URL.
includeQuotePostsbooleanNoInclude quote posts (posts shared with an added comment). Defaults to true; set false to exclude them.
includeRepostsbooleanNoInclude reposts (posts shared without an added comment). Defaults to true; set false to exclude them.
limitintegerNoMaximum number of posts to return.
postedLimitstringNoOnly return posts published within this window (default any).

Example response

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

{
  "data": {
    "items": [
      {
        "author": {
          "id": "2135371",
          "image": "https://media.licdn.com/dms/image/v2/D560BAQE2ZfJyfn-VCg/company-logo_400_400/B5…",
          "linkedinUrl": "https://www.linkedin.com/company/stripe/",
          "name": "Stripe",
          "type": "company",
          "universalName": "stripe"
        },
        "contentAttributes": [],
        "createdUtc": 1793605643,
        "engagement": {
          "comments": 10,
          "likes": 872,
          "reactions": [],
          "shares": 29
        },
        "id": "7522927325529862144",
        "postImages": [],
        "postVideo": null,
        "repostAuthorName": "Stripe",
        "repostAuthorUniversalName": "stripe",
        "repostAuthorUrl": "https://www.linkedin.com/company/stripe/",
        "repostCreatedUtc": 1793605643,
        "shareUrl": "https://www.linkedin.com/posts/jefftitterton_congratulations-to-kimi-antonelli-o…"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.items[].idID of the post, as a string.
data.items[].textPost text. Long posts may be shortened in the sample.
data.items[].url / data.items[].shareUrlLink to the post on LinkedIn.
data.items[].createdUtcPublish time as a Unix timestamp in seconds.
data.items[].author.name / data.items[].author.universalName / data.items[].author.linkedinUrlName, URL slug and page link of the company that published the post.
data.items[].engagement.likes / data.items[].engagement.comments / data.items[].engagement.sharesCounts of likes, comments and shares for the post.
data.items[].engagement.reactions[].type / data.items[].engagement.reactions[].countReaction breakdown, such as LIKE, EMPATHY or PRAISE, with the count for each. The list can be empty.
data.items[].postImages[].urlLink to an image attached to the post. Each image also has width and height.
data.items[].contentAttributes[]Mentions inside the text. Each entry has a type such as COMPANY_NAME or PROFILE_MENTION, plus start and length for its position in text.
data.items[].repostAuthorName / data.items[].repostAuthorUrl / data.items[].repostCreatedUtcPresent on reposted items. They name the account tied to the repost and give a timestamp.

Notes

  • Use the full company page URL, such as https://www.linkedin.com/company/stripe. Get the company page URL from LinkedIn Company Search.
  • Set limit from 1 to 50 (default 10). Use postedLimit to restrict posts to a time window.
  • Set includeReposts or includeQuotePosts to false to leave those post types out.
  • To read a single post in more detail, call LinkedIn Post with the post url. To read its comments, call LinkedIn Post Comments.

Pricing

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

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
LinkedInOd $0.0029 za wywołanieJSON
LinkedInOd $0.0012 za wywołanieJSON
LinkedInOd $0.0331 za wywołanieJSON
LinkedInOd $0.0012 za wywołanieJSON
LinkedInOd $0.00569 za wywołanieJSON
LinkedInOd $0.0026 za wywołanieJSON

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

Pytania

FAQ

Jak używać API LinkedIn Company Posts?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/linkedin/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.

Ile kosztuje API LinkedIn Company Posts?

Od $0.0029 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API LinkedIn Company Posts?

Wymagane: url (string). Opcjonalne: limit (integer), postedLimit (jedna z opcji: any, 1h, 24h, week, month, 3months, 6months, year), includeReposts (boolean) i includeQuotePosts (boolean). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API LinkedIn Company Posts?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego LinkedIn lub klucza API?

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.