Get LinkedIn profile posts

Changed on

Get LinkedIn profile posts by profile URL, ID, or public identifier.

get/linkedin/profile-posts

Request

  • Base URL
    https://api.harvestapi.io
  • URL
    https://api.harvestapi.io/linkedin/profile-posts
  • Auth
    API key in header X-API-Key

Query parameters

profilestring

Filter posts by author's profile URL or public identifier or profile ID.

postedLimitstring

Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'. Since LinkedIn doesn't offer a way to filter by date, the filtering will be done on our side, due to that the pagination might have incorrect values, because pagination is returned by LinkedIn without applying the postedLimit filter

scrapePostedLimitstring

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

pageinteger

Page number for pagination

paginationTokenstring 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

statusinteger
errorstring

Changes

    • breaking

      the response's property type changed from string to integer for status

    • warning

      deleted the query request parameter profileId

    • warning

      deleted the query request parameter profilePublicIdentifier