Social Fetch
LinkedIn

Get LinkedIn post or article

Get a LinkedIn post or article.

GET/v1/linkedin/posts
1credit
x-api-key*stringheader

API key (`sfk_...`)

Parameters
1
url*stringquery

Public permalink to the post or article.

min 1 chars · max 4096 chars

Response fields
32

Endpoint-specific response payload.

datalookupStatus
string

Whether the URL could be resolved to public content.

one of: found, not_found

Primary item when found.

datapostcontentType
string

Whether this URL resolved to a feed-style post or an article.

one of: post, article

dataposturl
string

Canonical or resolved public URL for this item.

min 1 chars

dataposttitle
stringnullable

Title for long-form articles when available.

datapostheadline
stringnullable

Subtitle or lead line when available.

datapostdescription
stringnullable

Full body text when available.

datapostpublishedAt
stringnullable

Publication timestamp or date string when available.

Author when found.

dataauthorname
string

Display name of the author.

min 1 chars

dataauthorprofileUrl
stringnullable

Public profile URL for the author when available.

dataauthoravatarUrl
stringnullable

Avatar image URL when available.

dataauthorfollowers
integernullable

Follower count when available.

≥ 0

Engagement metrics for the post or article.

datametricsreactions
integernullable

Total reactions when available.

≥ 0

datametricscomments
integernullable

Comment count when available.

≥ 0

Top-level comments when available.

datacomments[]authorName
stringnullable

Display name of the commenter.

datacomments[]text
stringnullable

Comment body text.

datacomments[]profileUrl
stringnullable

Public profile URL for the commenter when available.

Related items from the same author when available.

datarelatedArticles[]url
string

Permalink to the related item.

datarelatedArticles[]title
stringnullable

Title when available.

datarelatedArticles[]publishedAtLabel
stringnullable

Human-readable publication label when only a label is available.

datarelatedArticles[]description
stringnullable

Short summary text when available.

datarelatedArticles[]reactions
integernullable

Reaction count when available.

≥ 0

datarelatedArticles[]comments
integernullable

Comment count when available.

≥ 0

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/linkedin/posts?url=https://www.linkedin.com/posts/sundarpichai_small-businesses-are-the-engine-of-the-american-share-7449849038398697472-iNtG" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Post or article metadata (found or not found in body).

On this page

No Headings