Skip to main content
GET
Search LinkedIn posts

How to get Profile ID

Authorizations

X-API-Key
string
header
required

Query Parameters

Keywords to search for in posts

profile
string

Filter posts by author's profile URL (comma-separated). Note: LinkedIn returns fewer results per profile when using post search. To extract all posts by a profile, use the /linkedin/profile-posts endpoint

profileId
string

Filter posts by author's profile ID or IDs (comma-separated). It's faster to search by ID. Note: LinkedIn returns fewer results per profile when using post search. To extract all posts by a profile, use the /linkedin/profile-posts endpoint

company
string

Filter posts by this company URL or URLs (comma-separated). Note: LinkedIn returns fewer results per company when using post search. To extract all posts by a company, use the /linkedin/company-posts endpoint

companyId
string

Filter posts by company ID or IDs (comma-separated). It's faster to search by ID. Note: LinkedIn returns fewer results per company when using post search. To extract all posts by a company, use the /linkedin/company-posts endpoint

authorsCompany
string

List of LinkedIn companies where authors of posts work (comma-separated). It supports company URLs and IDs.

authorsIndustryId
string

List of LinkedIn industry IDs of authors' companies (comma-separated). It supports industry IDs. Full list of industry IDs: https://github.com/HarvestAPI/linkedin-industry-codes-v2/blob/main/linkedin_industry_code_v2_all_eng.csv

mentioningMember
string

Filter posts mentioning this LinkedIn profile URL or ID (comma-separated). It supports profile URLs and IDs.

mentioningCompany
string

Filter posts mentioning this LinkedIn company URL or ID (comma-separated). It supports company URLs and IDs.

contentType
string

Filter by content type. Supported values: 'videos', 'images', 'live_videos', 'documents', 'collaborative_articles', 'jobs'

authorKeywords
string

Filter by keywords in authors' profiles

group
string

Group LinkedIn URL or Group ID

postedLimit
string

Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. This parameter will be sent to LinkedIn, the filtering will be done on their side

scrapePostedLimit
string

Post-Filter posts by maximum posted date. Supported values: '1h', '24h', 'week','month', '3months', '6months', 'year'. This parameter will be applied after receiving results from LinkedIn, the filtering will be done on our side

sortBy
string

Sort by field. Supported values: 'relevance', 'date'

page
integer
default:1

Page number for pagination

paginationToken
string<nullable>

Required if it was returned by the previous page. Otherwise the page will always be 1 (on LinkedIn side). Doesn't apply for all queries, usually profile posts return this token

Response

Post search response

elements
object[]
pagination
object
status
string
error
string
query
object