Get LinkedIn company posts

Changed on

Get LinkedIn company posts by company URL, ID, or universal name.

get/linkedin/company-posts

Request

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

Query parameters

companystring

Filter posts by this company URL or universal name or company 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 companyId

    • warning

      deleted the query request parameter companyUniversalName