Fetch a post
Fetch a single public LinkedIn post — the author, full text, engagement counts, and top comments.
GET /v1/linkedin/post/{post_id}
Path parameter
| Parameter | Description |
|---|---|
post_id | A post activity_id (e.g. 7510981610687614977) or a full post URL. See identifiers. |
URLs returned by the search endpoint can be passed verbatim.
Examples
By activity id:
curl "$LISTENX_BASE/v1/linkedin/post/7510981610687614977" \
-H "X-API-Key: $LISTENX_KEY"
By full URL:
curl "$LISTENX_BASE/v1/linkedin/post/https://www.linkedin.com/posts/javier-blas_why-is-oil-activity-7510981610687614977-K83x" \
-H "X-API-Key: $LISTENX_KEY"
Response
{
"id": "7510981610687614977",
"url": "https://www.linkedin.com/posts/javier-blas_why-is-oil-activity-7510981610687614977-K83x",
"type": "post",
"published_at": "2026-09-30T08:39:23.277Z",
"headline": "COLUMN: I don't know who will win the US-Iran war.",
"text": "Why Is Oil at $100 If Trump Is Winning the Battle in Hormuz?",
"article_body": "COLUMN: I don't know who will win the US-Iran war. But if you ask me who's prevailing in the battle over the Strait of Hormuz…",
"image_url": "https://media.licdn.com/…",
"hashtags": ["Iran", "oil"],
"mentions": [],
"author": {
"name": "Javier Blas",
"url": "https://uk.linkedin.com/in/javier-blas-363b9512",
"image_url": "https://media.licdn.com/…",
"follower_count": 56065
},
"engagement": {
"like_count": 116,
"comment_count": 14,
"share_count": null
},
"comment_count": 14,
"comments": [
{
"author": "Carlos Stelling",
"text": "The problem for Iran is that if its leaders decide to attack the oil infrastructure…",
"published_at": "2026-09-30T10:33:03.834Z",
"like_count": 0
}
],
"billing": {
"endpoint": "linkedin.post",
"units": 1,
"unit_price": "0.010000",
"amount": "0.010000",
"balance_after": "97.230000",
"request_id": "…"
}
}
Fields
| Field | Description |
|---|---|
id | Numeric post activity id. |
url | Canonical post URL. |
type | post or article. |
published_at | ISO-8601 publish timestamp. |
headline | Post headline, when present. |
text | Short post title / summary. |
article_body | The full post text. |
image_url | Primary image, when present. |
hashtags[] | Hashtags found in the post. |
mentions[] | Mentions found in the post. |
author | Author details (see below). |
engagement | Like, comment, and share counts. |
comment_count | Total comments on the post (may exceed those in comments[]). |
comments[] | The post's top comments. |
Author
| Field | Description |
|---|---|
name | Author display name. |
url | Author profile URL. |
image_url | Author profile image. |
follower_count | Author follower count, when available. |
Comment
| Field | Description |
|---|---|
author | Commenter display name. |
text | Comment text. |
published_at | ISO-8601 timestamp. |
like_count | Reactions on the comment. |
Billing
Billed per request — units = 1. See Billing.
Errors
| HTTP | code | Meaning |
|---|---|---|
| 400 | invalid_post_id | Not a valid post URL or activity id. |
| 404 | post_not_found | Private, removed, or nonexistent. |
| 429 | upstream_rate_limited | Transient block — retry with backoff. |