Skip to content

Company Posts

GET/v1/linkedin/company/posts1 credit

Returns a company's LinkedIn posts, each with its `url`, `id`, publish date and text.

01Query parameters

NameTypeDescription
urlrequiredstringThe company or school page URL, e.g. `https://www.linkedin.com/company/microsoft/`.
pageoptionalintegerPage number, from 1 to 7.Default: 1

02Request

curl "https://api.scrapesocial.ai/v1/linkedin/company/posts?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fmicrosoft%2F" \
  -H "x-api-key: $SCRAPESOCIAL_KEY"

03Responses

Real answers from the API. Lists are shortened to 2 items.

GET /v1/linkedin/company/posts?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fmicrosoft%2F

{
  "success": true,
  "credits_remaining": 4980,
  "credits_charged": 1,
  "posts": [
    {
      "url": "https://www.linkedin.com/feed/update/urn:li:activity:7519053939393224704",
      "id": "7519053939393224704",
      "datePublished": "2026-10-22T15:15:56.418Z",
      "text": "Keeping over a million elevators and escalators running smoothly is no small task. \n\nToday in Cologne, I heard about how TK Elevator is using our tech to help provide its service technicians access to decades of shared knowledge, streamlining the process, so they can spend less time searching for answers and more time keeping people moving. \n\nRead more: https://lnkd.in/gEjFzJWC"
    },
    {
      "url": "https://www.linkedin.com/feed/update/urn:li:activity:7518785479580909568",
      "id": "7518785479580909568",
      "datePublished": "2026-10-21T21:29:10.611Z",
      "text": "In my annual letter, I share how we’re building a frontier ecosystem to turn technological progress into real-world outcomes and economic opportunity for people, organizations, and communities everywhere."
    }
  ]
}

Common to every endpoint

Any route can answer these: a missing or wrong key, no credits left, the platform not answering, or a failure on our side. None of them costs credits.

GET /v1/cosmos/profile?handle=design

{
  "success": false,
  "message": "Invalid API key"
}

04Notes

Page 1 is the posts on the company's public page (about 10). Pages 2 to 7 hold about 10 older posts each, found through web search, so what they contain depends on what search engines have indexed. A page with no posts returns `posts: []` for 0 credits. A `page` outside 1 to 7 is a free 400; an unknown company is a free 404.

05Errors & credits

Every error has success: false, a real HTTP status and costs no credits.

  • 400missing_parameter

    A required parameter is missing or invalid.

  • 403private_account

    The account is private or age-restricted.

  • 404not_found

    No such account.

  • 503upstream_error

    The platform did not answer; retry shortly.