LinkedIn

Get or search LinkedIn posts

Fetch recent posts by one person or company, or with query every public post with those words: text, images, video, document or article, and published_at. A person's posts also carry reaction_count (with the breakdown by kind), comment_count and repost_count; a company's carry the text and the date, with the counts null, at a much lower price. For the counts on one of them, call linkedin/post.

Give exactly one of url or company_url or query to identify the author.

Costs 7 credits (3 with company_url), whether the answer is fetched or served from cache. A failed call is refunded automatically.

get/linkedin/posts

Request

  • Base URL: https://api.scrapefield.com/v1
  • URL: https://api.scrapefield.com/v1/linkedin/posts
  • Auth: one of:
    • HTTP bearer
    • none

Query parameters

urlstring
Example:https://www.linkedin.com/in/example-person

A person's public profile URL. Their latest posts, on one page.

company_urlstring
Example:https://www.linkedin.com/company/example-co

A company page URL. Up to 7 pages of 10.

querystring
Example:electric cars

Words in the post: every public post that has them, newest first.

posted_within'day' | 'week' | 'month'

Only posts from the last day, week or month.

limitinteger

At most this many results, 1–100. A page can hold fewer while next_cursor is set: read until it is null.

cursorstring

The meta.next_cursor from the previous page. Omit for the first page.

freshboolean

Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it.

demoboolean

With no key: a fixed demo answer in the same shape, charged nothing.

Response

The request succeeded.

Changes

No recorded changes to this operation across all 1 revision of this API.