LinkedIn API

LinkedIn Profile posts thin API

Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.

$5.00/1k req, pay per request, no subscription.

What the API returneditems[0]
{
"id":ย "urn:li:activity:7482310098765432101",
"url":ย "https://www.linkedin.com/posts/williamhgates_the-next-decade-of-clean-energy-activity-7482310098765432101-qR9m",
"text":ย "The next decade of clean energy will be decided by how fast we get long duration storage to cost parity with gas peaker plants.",
"createdUtc":ย 1758556800,
"author":ย {...},
"engagement":ย {...},
"articleTitle":ย "Long duration storage just crossed a cost threshold",
"articleSubtitle":ย "gatesnotes.com",
... 16 more fields
}
Uptime
100.00%
30d ยท 5,186 calls
Requests
5,230
30d ยท weekly, last 12 wks
Response
2.9s
median ยท 30d

Try it

Get LinkedIn profile posts thin in one request

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `nextCursor`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 26 of 37 fields. See every field

{
  "found": true,
  "data": {
    "items": [
      {
        "id": "urn:li:activity:7482310098765432101",
        "url": "https://www.linkedin.com/posts/williamhgates_the-next-decade-of-clean-energy-activity-7482310098765432101-qR9m",
        "text": "The next decade of clean energy will be decided by how fast we get long duration storage to cost parity with gas peaker plants.",
        "createdUtc": 1758556800,
        "author": {
          "handle": "williamhgates",
          "headline": "Co-chair, Bill & Melinda Gates Foundation",
          "profileUrl": "https://www.linkedin.com/in/williamhgates/",
          "image": "https://media.licdn.com/dms/image/v2/D4E03AQEz9pWkLm2vTr/profile-displayphoto-shrink_400_400/bill-gates.jpg"
        },
        "engagement": {
          "reactions": 18420,
          "comments": 612,
          "reposts": 340
        },
        "articleTitle": "Long duration storage just crossed a cost threshold",
        "articleSubtitle": "gatesnotes.com",
        "articleUrl": "https://www.gatesnotes.com/energy/long-duration-storage-cost-threshold"
      },
      {
        "id": "urn:li:activity:7479887761234509876",
        "url": "https://www.linkedin.com/posts/williamhgates_reposting-vaccine-cold-chain-activity-7479887761234509876-zK2w",
        "text": "Worth reading in full.",
        "createdUtc": 1758211200,
        "author": {
          "handle": "williamhgates",
          "headline": "Co-chair, Bill & Melinda Gates Foundation",
          "profileUrl": "https://www.linkedin.com/in/williamhgates/",
          "image": "https://media.licdn.com/dms/image/v2/D4E03AQEz9pWkLm2vTr/profile-displayphoto-shrink_400_400/bill-gates.jpg"
        },
        "engagement": {
          "reactions": 6210,
          "comments": 94,
          "reposts": 58
        },
        "repostId": "urn:li:activity:7479881234567890123",
        "repostUrl": "https://www.linkedin.com/posts/serumglobal_solar-cold-chain-activity-7479881234567890123-hN3v",
        "repostText": "Our solar powered cold chain units have now reached 4,000 rural clinics across East Africa, cutting vaccine spoilage from 22% to under 4%.",
        "repostCreatedUtc": 1758204000,
        "repostAuthorUrl": "https://www.linkedin.com/company/serumglobal",
        "repostAuthorImage": "https://media.licdn.com/dms/image/v2/D4E0BAQFt2mWkVz/company-logo_400_400/serumglobal-logo.jpg",
        "repostAuthorHeadline": "42,300 followers"
      }
    ]
  }
}

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

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-11-06 ยท uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • urlstring

    https://www.linkedin.com/in/williamhgates/

    Full URL of the public LinkedIn profile whose posts should be returned.

  • cursorstring

    Pagination cursor from a previous response's nextCursor.

  • limitinteger

    10

    Most posts to return (10-100, default 10). Ignored on sources that page: each call returns one full page of 50 posts; follow nextCursor for more. Sources that cannot page return up to `limit` posts in one call with no nextCursor.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `nextCursor`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

each itemdata.items[]

Recent posts published by the profile. Populated whenever the provider has data for the entity.

  • articleImagestring

    Image URL of the attached article, when present.

  • articleSubtitlestring

    gatesnotes.com

    Subtitle or publisher label of the attached article, when present.

  • articleTitlestring

    Long duration storage just crossed a cost threshold

    Title of the attached article, when present.

  • articleUrlstring

    https://www.gatesnotes.com/energy/long-duration-storage-cost-threshold

    Canonical URL of the attached article, when present.

  • createdUtcnumber

    1758556800

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.

  • idstring

    urn:li:activity:7482310098765432101

    Unique identifier of the LinkedIn post. Populated whenever the provider has data for the entity.

  • repostArticleImagestring

    Cover image URL of the article attached to the reposted post. The query string is a signed token, so keep the URL intact.

  • repostArticleSubtitlestring

    Subtitle or source domain of the article attached to the reposted post.

  • repostArticleTitlestring

    Title of the article attached to the reposted post, when present.

  • repostArticleUrlstring

    Canonical URL of the article attached to the reposted post, when present.

  • repostAuthorHeadlinestring

    Headline or follower line of the author of the reposted post.

  • repostAuthorImagestring

    Avatar or logo image URL of the author of the reposted post. The query string is a signed token, so keep the URL intact.

  • repostAuthorUrlstring

    Canonical LinkedIn URL of the author of the reposted post.

  • repostCreatedUtcnumber

    UTC epoch timestamp in seconds (Unix time) when the reposted post was published. Multiply by 1000 for a JS Date in milliseconds.

  • repostIdstring

    Unique identifier of the reposted post, when present.

  • repostTextstring

    Text content of the reposted post, when present.

  • repostUrlstring

    Canonical URL of the reposted post, when present.

  • textstring

    The next decade of clean energy will be decided by how fast we get long duration storage to cost parity with gas peaker plants.

    Text content of the post. Populated whenever the provider has data for the entity.

  • urlstring

    https://www.linkedin.com/posts/williamhgates_the-next-decade-of-clean-energy-activity-7482310098765432101-qR9m

    Canonical LinkedIn URL of the post. Populated whenever the provider has data for the entity.

  • videoThumbnailstring

    Thumbnail URL of the attached video, when present.

  • videoUrlstring

    URL of the attached video, when present.

authordata.items[].author

Portable details about the post author. Populated whenever the provider has data for the entity.

  • handlestring

    williamhgates

    Public LinkedIn handle of the author. Populated whenever the provider has data for the entity.

  • headlinestring

    Co-chair, Bill & Melinda Gates Foundation

    Professional headline displayed for the author. Populated whenever the provider has data for the entity.

  • imagestring

    https://media.licdn.com/dms/image/v2/D4E03AQEz9pWkLm2vTr/profile-displayphoto-shrink_400_400/bill-gates.jpg

    Profile image URL of the author. Populated whenever the provider has data for the entity.

  • profileUrlstring

    https://www.linkedin.com/in/williamhgates/

    Canonical LinkedIn profile URL of the author. Populated whenever the provider has data for the entity.

engagementdata.items[].engagement

Portable engagement totals for the post. Populated whenever the provider has data for the entity.

  • commentsinteger

    612

    Total number of comments on the post. Populated whenever the provider has data for the entity.

  • reactionsinteger

    18420

    Total number of reactions on the post. Populated whenever the provider has data for the entity.

  • repostsinteger

    340

    Total number of reposts or shares of the post. Populated whenever the provider has data for the entity.

each imagedata.items[].images[]

Images attached to the post.

  • urlstring

    URL of an attached image.

datadata

The profile posts result, or null when no posts were found.

  • nextCursorstringcan require

    Opaque cursor for the next page of posts, or null when there are no more. Pass it back as cursor to continue.

top level
  • foundboolean

    true

    Whether profile posts were found.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the LinkedIn Profile posts thin API

The AnyAPI LinkedIn Profile posts thin API returns LinkedIn profile posts thin data as normalized JSON from one POST call to /v1/run/linkedin.profile_posts_thin. Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields. AnyAPI routes each request across 4 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 profile posts thin calls through AnyAPI succeeded, with a median response time of 2.9 seconds across 5,186 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 and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields. 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 profile posts thin calls through AnyAPI succeeded, with a median response time of 2.9 seconds across 5,186 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 20 LinkedIn Profile posts thin calls at $0.005 each.

AnyAPI asks the next of its 4 sources in the same request, cheapest first, so one source going down does not fail your call.

Send a POST request to https://api.getanyapi.com/v1/run/linkedin.profile_posts_thin with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.