GroundsocialDocs

API · LinkedIn

GET /linkedin/companies/{company}/posts

A LinkedIn company page’s posts, newest first, paginated.

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

A LinkedIn company page’s posts, newest first, paginated.

Path parameters

NameTypeRequiredDescription
companystringyesThe page’s universal name (the part after /company/ or /showcase/) or its URL. Example: microsoft.

Query parameters

NameTypeRequiredDescription
page_type"company" | "showcase"noshowcase for a /showcase/ page given by name; a URL says it itself. One of company, showcase.
afterstringnoCursor: the previous page’s after (or the company’s posts_next).

Responses

StatusMeaningSchema
200A page of posts.LinkedInCompanyPostsPage
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

LinkedInCompanyPostsPage fields

FieldTypeDescription
dataLinkedInFeedPost[]
afterstring | nullCursor for the next page; null on the last.

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