Skip to main content

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​

ParameterDescription
post_idA 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​

FieldDescription
idNumeric post activity id.
urlCanonical post URL.
typepost or article.
published_atISO-8601 publish timestamp.
headlinePost headline, when present.
textShort post title / summary.
article_bodyThe full post text.
image_urlPrimary image, when present.
hashtags[]Hashtags found in the post.
mentions[]Mentions found in the post.
authorAuthor details (see below).
engagementLike, comment, and share counts.
comment_countTotal comments on the post (may exceed those in comments[]).
comments[]The post's top comments.

Author​

FieldDescription
nameAuthor display name.
urlAuthor profile URL.
image_urlAuthor profile image.
follower_countAuthor follower count, when available.

Comment​

FieldDescription
authorCommenter display name.
textComment text.
published_atISO-8601 timestamp.
like_countReactions on the comment.

Billing​

Billed per request — units = 1. See Billing.

Errors​

HTTPcodeMeaning
400invalid_post_idNot a valid post URL or activity id.
404post_not_foundPrivate, removed, or nonexistent.
429upstream_rate_limitedTransient block — retry with backoff.