LinkedIn Post API
A single LinkedIn post or article by URL: title, text, author, like and comment counts, and publish date.
$0.80/1k req, pay per request, no subscription.
{"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,"createdUtc": 1750516559,"authorImage": string | null,... 2 more fields}
Pricing and providers
LinkedIn Post API pricing: one API, 3 interchangeable providers
The cheapest provider serves first. If it fails, the next one takes over in the same call.
Try it
Get LinkedIn post in one request
This sample shows 9 of 13 fields. See every field
{
"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,
"createdUtc": 1750516559
}
}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-10-31 · uptime and latency measured over 30d
Request body
JSON, posted to this endpoint.
- urlstring
https://www.linkedin.com/posts/williamhgates_activity-7000000000000000000-abcd
Full LinkedIn post or article URL.
- 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 `image`, 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 post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Response
JSON, one example value per field.
The post result, or null when not found.
- authorstring
Bill Gates
Name of the post author. Populated whenever the provider has data for the entity.
- authorImagestringcan require
Author avatar or company logo image URL, or null when the serving source does not carry one. The query string is a signed token, so keep the URL intact.
- authorUrlstring
LinkedIn URL of the post author.
- commentsinteger
17
Number of comments on the post.
- createdUtcnumber
1750516559
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.
- imagestringcan require
First image attached to the post, or null when the serving source does not carry one. The query string is a signed token, so keep the URL intact.
- likesinteger
210
Number of likes on the post.
- textstring
A few reflections on leadership and family from the past year…
Text content of the post. Populated whenever the provider has data for the entity.
- titlestring
Being a Father Has Made me a Better Leader
Title of the post.
- urlstring
https://www.linkedin.com/posts/williamhgates_activity-7000000000000000000-abcd
Canonical URL of the post. Populated whenever the provider has data for the entity.
- foundboolean
true
Whether the post was 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.
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.80 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 2.3 seconds across 2,541 measured calls.