Get a member’s LinkedIn posts
harvestapi.linkedin.user.postsGet LinkedIn profile posts by profile URL, ID, or public identifier.
- Price
- $0.004/call제공업체 원가
- Success rate
- 100%Last 30 days · 71,971 calls
- Latency p50
- 2.3 sp95 5.9 s
- Last verified
- 2026. 9. 10.Verified working
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.user.posts?page=1&profilePublicIdentifier=williamhgatesPreview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
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.
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
page | 정수 | 선택 | Page number for pagination | 1 |
profile | 문자열 | 선택 | Filter posts by author's profile URL | |
profileId | 문자열 | 선택 | Filter posts by author's profile ID. It's faster to search by ID | |
postedLimit | 문자열 | 선택 | 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 | 문자열 | 선택 | 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 | 문자열 | 선택 | 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 | 문자열 | 선택 | Filter posts by author's profile public identifier (last part in the URL). | williamhgates |
- 쿼리 파라미터
page정수선택Page number for pagination
예시:
1profile문자열선택Filter posts by author's profile URL
profileId문자열선택Filter posts by author's profile ID. It's faster to search by ID
postedLimit문자열선택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문자열선택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문자열선택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문자열선택Filter posts by author's profile public identifier (last part in the URL).
예시:
williamhgates
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
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());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.004/call이며 서비스 수수료가 포함되어 있습니다.