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 underparams. Only the keys below are accepted; any other key returns 422 invalid_params.
LinkedIn URL to scrape posts from: profile, company, post, or feed links.Format e.g.
https://www.linkedin.com/in/satyanadella.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).Filter to a specific media type.Allowed values:
all, videos, images, jobs, live_videos, documents, collaborative_articles.Example
Response fields
Each row indata is one post, keyed by these fields.
Example response
Abridged: long text and lists are shortened.Related APIs
For the comments or reactions on a post uselinkedin/post-comments or linkedin/post-reactions; for what a member commented or reacted to elsewhere use linkedin/profile-comments or linkedin/profile-reactions.