Skip to main content
POST /v1/data/linkedin/posts/run Pricing: $0.002 per post ($2.00 per 1,000).

Ways to call it

  • URL: set urls (optional: includeQuotePosts, includeReposts)
  • Search: set queries (optional: sortBy, authors, mentioning, contentType)

Request

Send the inputs under params. Only the keys below are accepted; any other key returns 422 invalid_params.
string
LinkedIn URL to scrape posts from: profile, company, post, or feed links.Format e.g. https://www.linkedin.com/in/satyanadella.
string
Keyword to search LinkedIn posts for.
integer
Posts to return. Use 0 for all.
string
default:"any"
Only posts within this time window.Allowed values: any (Any time), 1h (Past hour), 24h (Past 24 hours), week (Past week), month (Past month), 3months (Past 3 months), 6months (Past 6 months), year (Past year).
boolean
Quote posts (shared with commentary).
boolean
default:"true"
Reposts (shared without commentary).
string
Sort order for results.Allowed values: relevance (Relevance), date (Most recent).
string[]
Filter posts to specific authors. Accepts profile URLs or company names (‘Google’).
string[]
Filter posts that mention specific people or companies. Accepts profile URLs or names.
string
Filter to a specific media type.Allowed values: all, videos, images, jobs, live_videos, documents, collaborative_articles.

Example

Response fields

Each row in data is one post, keyed by these fields.

Example response

Abridged: long text and lists are shortened.
For the comments or reactions on a post use linkedin/post-comments or linkedin/post-reactions; for what a member commented or reacted to elsewhere use linkedin/profile-comments or linkedin/profile-reactions.