LinkedIn API

LinkedIn Post API

A single LinkedIn post or article by URL: title, text, author, like and comment counts, and publish date.

POST/v1/run/linkedin.post
Uptime
100.00%
30d · 42 calls
Requests
42
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": {
    "url": "https://www.linkedin.com/posts/williamhgates_activity-7000000000000000000-abcd",
    "title": "Being a Father Has Made me a Better Leader",
    "text": "A few reflections on leadership and family from the past year…",
    "author": "Bill Gates",
    "likes": 210,
    "comments": 17,
    "publishedAt": "2025-06-21T14:35:59.000Z"
  }
}
Response interface
interface LinkedinPostResponse {
  data: {
    author: string;
    comments: number;
    createdUtc: number;
    likes: number;
    text: string;
    title: 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-16 · uptime and latency measured over 30d
POST /v1/run/linkedin.post
curl -X POST https://api.getanyapi.com/v1/run/linkedin.post \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.linkedin.com/posts/williamhgates_activity-7000000000000000000-abcd"}'
FieldTypeExample value
Request body
urlstring"https://www.linkedin.com/posts/williamhgates_activity-7000000000000000000-abcd"Full LinkedIn post or article URL.
Response
foundbooleantrue
dataobject
data.urlstring"https://www.linkedin.com/posts/williamhgates_activity-7000000000000000000-abcd"
data.titlestring"Being a Father Has Made me a Better Leader"
data.textstring"A few reflections on leadership and family from the past year…"
data.authorstring"Bill Gates"
data.likesnumber210
data.commentsnumber17
data.publishedAtstring"2025-06-21T14:35:59.000Z"
Price
Price per requestUSD$0.0005
Price /1k reqUSD$0.50

FAQ

About the LinkedIn Post API

The AnyAPI LinkedIn Post API returns LinkedIn post data as normalized JSON from one POST call to /v1/run/linkedin.post. A single LinkedIn post or article by URL: title, text, author, like and comment counts, and publish date. AnyAPI routes each request across 3 sources and falls back automatically when one fails. It costs from $0.50 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of LinkedIn post calls through AnyAPI succeeded, with a median response time of 3.1 seconds across 42 measured calls.

It costs from $0.50 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.

A single LinkedIn post or article by URL: title, text, author, like and comment counts, 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 post calls through AnyAPI succeeded, with a median response time of 3.1 seconds across 42 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.