HarvestAPILinkedInSocial

Get a member’s LinkedIn posts

harvestapi.linkedin.user.posts

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

Price
$0.004/callAt provider cost
Success rate
100%Last 30 days · 71,971 calls
Latency p50
2.3 sp95 5.9 s
Last verified
Sep 10, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.user.posts?page=1&profilePublicIdentifier=williamhgatesPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

Use only the declared query parameters, once each, without a request body. Results are provider-native: inspect element/elements and body status/error; HTTP 200 alone does not prove a hit. Empty results can still be charged. totalElements/totalPages may be zero even with results; follow paginationToken rather than assuming no data.

ParameterTypeRequiredDescriptionExample
Query parameters
pageintegerOptionalPage number for pagination1
profilestringOptionalFilter posts by author's profile URL
profileIdstringOptionalFilter posts by author's profile ID. It's faster to search by ID
postedLimitstringOptionalFilter 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
paginationTokenstringOptionalRequired 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
scrapePostedLimitstringOptionalPost-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
profilePublicIdentifierstringOptionalFilter posts by author's profile public identifier (last part in the URL).williamhgates
  • Query parameters
  • pageintegerOptional

    Page number for pagination

    Example: 1

  • profilestringOptional

    Filter posts by author's profile URL

  • profileIdstringOptional

    Filter posts by author's profile ID. It's faster to search by ID

  • postedLimitstringOptional

    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

  • paginationTokenstringOptional

    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

  • scrapePostedLimitstringOptional

    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

  • profilePublicIdentifierstringOptional

    Filter posts by author's profile public identifier (last part in the URL).

    Example: williamhgates

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/harvestapi.linkedin.user.posts?page=1&profilePublicIdentifier=williamhgates' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.004/call, including the service fee.