Get a basic LinkedIn profile
harvestapi.linkedin.user.profile.mainGet a basic LinkedIn profile with limited experience, education and skills.
- Price
- $0.004/call제공업체 원가
- Success rate
- 99.9%Last 30 days · 146,565 calls
- Latency p50
- 4.4 sp95 22 s
- Last verified
- 2026. 9. 10.Verified working
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.user.profile.main?main=true&publicIdentifier=williamhgatesPreview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
Supply at least one profile identifier: url, publicIdentifier or profileId. Set main=true. Do not add findEmail. 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. Basic, full and email are separate tools. Do not combine main and findEmail. Email availability and quality are provider-reported; no email is guaranteed.
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
url | 문자열 | 선택 | URL of the LinkedIn profile (optional) | |
main | 문자열 | 필수 | Set this parameter to 'true' to return only main version of the profile that you can see on LinkedIn without expanding profile sections - up to 5 experiences, 2 educations, 2 skills, etc. This version charges less credits | true |
profileId | 문자열 | 선택 | ID of the LinkedIn profile (optional) | |
publicIdentifier | 문자열 | 선택 | Public identifier of the LinkedIn profile (optional) | williamhgates |
- 쿼리 파라미터
url문자열선택URL of the LinkedIn profile (optional)
main문자열필수Set this parameter to 'true' to return only main version of the profile that you can see on LinkedIn without expanding profile sections - up to 5 experiences, 2 educations, 2 skills, etc. This version charges less credits
예시:
trueprofileId문자열선택ID of the LinkedIn profile (optional)
publicIdentifier문자열선택Public identifier of the LinkedIn profile (optional)
예시:
williamhgates
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
curl -X GET 'https://toolswitch.dev/v1/tools/harvestapi.linkedin.user.profile.main?main=true&publicIdentifier=williamhgates' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/harvestapi.linkedin.user.profile.main?main=true&publicIdentifier=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.profile.main?main=true&publicIdentifier=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이며 서비스 수수료가 포함되어 있습니다.