LinkedIn API

LinkedIn Search posts full API

Search public LinkedIn posts with rich author, engagement, attachment, and poll details.

POST/v1/run/linkedin.search_posts_full
Uptime
99.97%
30d · 6,644 calls
Requests
6,692
30d · weekly, last 12 wks
Response
4.7s
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.
{
  "data": {
    "posts": [
      {
        "attachmentDescription": "A short example description of this item.",
        "attachmentImage": "https://example.com/image.jpg",
        "attachmentSubtitle": "Example title",
        "attachmentTitle": "Example title",
        "attachmentType": "general",
        "attachmentUrl": "https://example.com/page",
        "author": {
          "headline": "Example title",
          "id": "a1b2c3d4",
          "image": "https://example.com/image.jpg",
          "name": "Example title",
          "profileUrl": "https://example.com/page",
          "publicIdentifier": "a1b2c3d4",
          "type": "person"
        },
        "createdUtc": 12.5,
        "engagement": {
          "breakdown": [
            {
              "count": null,
              "type": null
            }
          ],
          "comments": 12500,
          "reactions": 42,
          "reposts": 248
        },
        "id": "a1b2c3d4",
        "pollClosed": false,
        "pollOptions": [
          {
            "text": "A short example description of this item.",
            "votes": 42
          }
        ],
        "pollQuestion": "example",
        "pollTotalVotes": 12500,
        "text": "A short example description of this item.",
        "url": "https://example.com/page"
      }
    ]
  },
  "found": true
}
Response interface
interface LinkedinSearchPostsFullResponse {
  data: {
    posts: {
      attachmentDescription?: string;
      attachmentImage?: string;
      attachmentSubtitle?: string;
      attachmentTitle?: string;
      attachmentType?: string;
      attachmentUrl?: string;
      author: {
        headline?: string;
        id?: string;
        image?: string;
        name?: string;
        profileUrl?: string;
        publicIdentifier?: string;
        type?: "person" | "company" | "showcase";
      };
      createdUtc: number;
      engagement: {
        breakdown?: {
          count: number;
          type: string;
        }[];
        comments?: number;
        reactions?: number;
        reposts?: number;
      };
      id: string;
      pollClosed?: boolean;
      pollOptions?: {
        text: string;
        votes: number;
      }[];
      pollQuestion?: string;
      pollTotalVotes?: number;
      text: string;
      url: string;
    }[];
  } | null;
  found: boolean;
}

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

Reference

Request, response, and price

Last verified 2026-09-14 · uptime and latency measured over 30d
POST /v1/run/linkedin.search_posts_full
curl -X POST https://api.getanyapi.com/v1/run/linkedin.search_posts_full \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"datePosted":"last-week","limit":10,"query":"artificial intelligence","sort":"relevance"}'
FieldTypeExample value
Request body
querystring"artificial intelligence"LinkedIn post search query, including quoted terms or Boolean operators accepted by LinkedIn search.
authorCompanyNamesarrayOnly return posts by people associated with these company names.
authorIndustryIdsarrayOnly return posts by authors associated with these LinkedIn industry IDs.
authorKeywordsstringOnly return posts whose author profile headline or job title contains at least one of these keywords.
authorUrlsarrayOnly return posts authored by these LinkedIn profile or company URLs.
contentTypeenumOnly return posts carrying this content type.
datePostedenum"last-week"Only return posts published within this relative time window. Last-hour and windows beyond one month route to the provider that supports them.
limitinteger10Maximum number of posts to return (1-100, default 10). The upper bound is one LinkedIn search page.
mentioningMemberUrlsarrayOnly return posts mentioning these LinkedIn member profile URLs.
sortenum"relevance"Order results by search relevance or publication date.
Response
dataobjectThe matching LinkedIn posts, or null when no result was found.
data.postsobject[]LinkedIn posts matching the search query. Populated whenever the provider has data for the entity.
data.posts[].attachmentDescriptionstringShort description of the attached content, as LinkedIn shows it on the preview card. Best effort on article attachments: depending on the search it may be absent, so treat it as optional. To read an article's content reliably, pass attachmentUrl to the linkedin.article endpoint.
data.posts[].attachmentImagestringImage URL associated with the attachment.
data.posts[].attachmentSubtitlestringSubtitle of the attached structured content.
data.posts[].attachmentTitlestringTitle of the attached article, job, or other structured content.
data.posts[].attachmentTypestringKind of structured content attached to the post, such as article, job, poll, video, or document.
data.posts[].attachmentUrlstringCanonical destination URL of the attachment. When attachmentType is article, pass this URL to the linkedin.article endpoint to read the article's full body text.
data.posts[].authorobjectPublic author identity attached to the post. Populated whenever the provider has data for the entity.
data.posts[].author.headlinestringPublic headline or company follower summary for the author.
data.posts[].author.idstringLinkedIn identifier for the author.
data.posts[].author.imagestringPublic profile or company image URL for the author.
data.posts[].author.namestringDisplay name of the author.
data.posts[].author.profileUrlstringCanonical LinkedIn profile or company URL for the author.
data.posts[].author.publicIdentifierstringLinkedIn public identifier (vanity slug) for the author, for example "williamhgates". Stable across lanes, unlike the raw id.
data.posts[].author.type"person" | "company" | "showcase"Kind of LinkedIn entity that authored the post, derived from the author URL.
data.posts[].createdUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
data.posts[].engagementobjectPublic engagement totals attached to the post. Populated whenever the provider has data for the entity.
data.posts[].engagement.breakdownobject[]Reaction counts grouped by LinkedIn reaction type.
data.posts[].engagement.breakdown[].countintegerNumber of reactions of this type.
data.posts[].engagement.breakdown[].typestringLinkedIn reaction type.
data.posts[].engagement.commentsintegerTotal comment count.
data.posts[].engagement.reactionsintegerTotal reaction count.
data.posts[].engagement.repostsintegerTotal repost or share count.
data.posts[].idstringStable LinkedIn activity identifier for the post. Populated whenever the provider has data for the entity.
data.posts[].pollClosedbooleanWhether the attached poll is closed.
data.posts[].pollOptionsobject[]Options and public vote counts for an attached poll.
data.posts[].pollOptions[].textstringPoll option text.
data.posts[].pollOptions[].votesintegerVotes recorded for this option.
data.posts[].pollQuestionstringQuestion asked by an attached LinkedIn poll.
data.posts[].pollTotalVotesintegerTotal votes recorded by the attached poll.
data.posts[].textstringText content of the post. Empty string when the post carries no commentary of its own, such as a bare article share or an image-only post. Populated whenever the provider has data for the entity.
data.posts[].urlstringCanonical URL of the LinkedIn post. Populated whenever the provider has data for the entity.
foundbooleanWhether matching LinkedIn posts were found.
Price
Price per requestUSD$0.005
Price /1k reqUSD$5.00

FAQ

About the LinkedIn Search posts full API

The AnyAPI LinkedIn Search posts full API returns LinkedIn search posts full data as normalized JSON from one POST call to /v1/run/linkedin.search_posts_full. Search public LinkedIn posts with rich author, engagement, attachment, and poll details. AnyAPI routes each request across 3 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 search posts full calls through AnyAPI succeeded, with a median response time of 4.7 seconds across 6,644 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.

Search public LinkedIn posts with rich author, engagement, attachment, and poll details. 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 search posts full calls through AnyAPI succeeded, with a median response time of 4.7 seconds across 6,644 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.