LinkedIn API

LinkedIn Company posts API

List a company page’s recent posts by URL with page pagination: text, link and publish date.

POST/v1/run/linkedin.company_posts
Uptime
100.00%
30d · 334 calls
Requests
334
30d · weekly, last 12 wks
Response
3.1s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "found": true,
  "data": {
    "posts": [
      {
        "id": "7429579034096726016",
        "url": "https://www.linkedin.com/posts/microsoft-activity-7429579034096726016",
        "text": "Today we’re introducing new Copilot features that help teams ship faster.",
        "publishedAt": "2026-02-17T17:34:36.617Z"
      }
    ]
  }
}
Response interface
interface LinkedinCompanyPostsResponse {
  data: {
    items: {
      articleImage?: string;
      articleLinkLabel?: string;
      articleSubtitle?: string;
      articleTitle?: string;
      articleUrl?: string;
      author?: {
        followers?: string;
        handle?: string;
        id?: string;
        image?: string;
        linkedinUrl?: string;
        name?: string;
        type?: string;
        universalName?: string;
      };
      contentAttributes?: {
      }[];
      createdUtc: number;
      engagement?: {
        comments?: number;
        likes?: number;
        reactions?: {
          count?: number;
          type?: string;
        }[];
        shares?: number;
      };
      id: string;
      postImages?: {
      }[];
      postVideo?: {
      } | null;
      repostAuthorName?: string;
      repostAuthorUniversalName?: string;
      repostAuthorUrl?: string;
      repostCreatedUtc?: number;
      shareUrl?: string;
      text: string;
      url: string;
    }[];
  } | null;
  found: boolean;
  reason?: "not_found";
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-20 · uptime and latency measured over 30d
POST /v1/run/linkedin.company_posts
curl -X POST https://api.getanyapi.com/v1/run/linkedin.company_posts \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.linkedin.com/company/microsoft","page":1}'
FieldTypeExample value
Request body
urlstring"https://www.linkedin.com/company/microsoft"Full LinkedIn company page URL.
includeQuotePostsbooleanInclude quote posts (posts shared with an added comment). Defaults to true; set false to exclude them.
includeRepostsbooleanInclude reposts (posts shared without an added comment). Defaults to true; set false to exclude them.
limitintegerMaximum number of posts to return.
postedLimitenumOnly return posts published within this window (default any).
Response
foundbooleantrue
dataobject
data.postsarray
data.posts[].idstring"7429579034096726016"
data.posts[].urlstring"https://www.linkedin.com/posts/microsoft-activity-7429579034096726016"
data.posts[].textstring"Today we’re introducing new Copilot features that help teams ship faster."
data.posts[].publishedAtstring"2026-02-17T17:34:36.617Z"
Price
Price per requestUSD$0.005
Price /1k reqUSD$5.00

FAQ

About the LinkedIn Company posts API

The AnyAPI LinkedIn Company posts API returns LinkedIn company posts data as normalized JSON from one POST call to /v1/run/linkedin.company_posts. List a company page’s recent posts by URL with page pagination: text, link and publish date. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $5 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of LinkedIn company posts calls through AnyAPI succeeded, with a median response time of 3.1 seconds across 334 measured calls.

It costs from $5 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

List a company page’s recent posts by URL with page pagination: text, link and publish date. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of LinkedIn company posts calls through AnyAPI succeeded, with a median response time of 3.1 seconds across 334 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.