Get a member’s LinkedIn posts
harvestapi.linkedin.user.postsGet LinkedIn profile posts by profile URL, ID, or public identifier.
- Price
- $0.004/callZum Anbieterpreis
- Success rate
- 100 %Last 30 days · 71.971 calls
- Latency p50
- 2.3 sp95 5.9 s
- Last verified
- 10.09.2026Verified working
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.user.posts?page=1&profilePublicIdentifier=williamhgatesPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameter
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.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
page | Ganzzahl | Optional | Page number for pagination | 1 |
profile | Zeichenkette | Optional | Filter posts by author's profile URL | |
profileId | Zeichenkette | Optional | Filter posts by author's profile ID. It's faster to search by ID | |
postedLimit | Zeichenkette | Optional | 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 | |
paginationToken | Zeichenkette | Optional | 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 | |
scrapePostedLimit | Zeichenkette | Optional | 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 | |
profilePublicIdentifier | Zeichenkette | Optional | Filter posts by author's profile public identifier (last part in the URL). | williamhgates |
- Abfrageparameter
pageGanzzahlOptionalPage number for pagination
Beispiel:
1profileZeichenketteOptionalFilter posts by author's profile URL
profileIdZeichenketteOptionalFilter posts by author's profile ID. It's faster to search by ID
postedLimitZeichenketteOptionalFilter 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
paginationTokenZeichenketteOptionalRequired 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
scrapePostedLimitZeichenketteOptionalPost-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
profilePublicIdentifierZeichenketteOptionalFilter posts by author's profile public identifier (last part in the URL).
Beispiel:
williamhgates
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
curl -X GET 'https://toolswitch.dev/v1/tools/harvestapi.linkedin.user.posts?page=1&profilePublicIdentifier=williamhgates' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/harvestapi.linkedin.user.posts?page=1&profilePublicIdentifier=williamhgates",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/harvestapi.linkedin.user.posts?page=1&profilePublicIdentifier=williamhgates", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.004/call einschließlich Servicegebühr abgerechnet.