GroundsocialDocs

API · LinkedIn

GET /linkedin/posts/{post}

One public LinkedIn post with its author, reaction and comment counts and visible comments.

RequestGET /v1/linkedin/posts/{post}
Operation idlinkedin.post.get
Cost5 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

One public LinkedIn post with its author, reaction and comment counts and visible comments.

Path parameters

NameTypeRequiredDescription
poststringyesThe post URL (linkedin.com/posts/… or /feed/update/urn:li:activity:…), its activity id or URN. Example: 7528601878516084736.

Responses

StatusMeaningSchema
200The post.LinkedInPost
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404LinkedIn has no such public page, or it was removed.Error
429Too many requests. Wait for Retry-After seconds.Error
503LinkedIn is temporarily unavailable. Retryable; nothing was charged.Error

LinkedInPost fields

FieldTypeDescription
activity_idstring | null
urnstring
urlstring | null
published_atstring | null
textstring | null
authorobject
reactions_countinteger | null
comments_countinteger | null
commentsobject[]The comments the public page shows (up to ~10).
has_videoboolean
has_captionsboolean
postingobject
cardobject

Errors use one shape everywhere; see Errors for every code and what to do.