HarvestAPILinkedInSocial

Get a basic LinkedIn profile

harvestapi.linkedin.user.profile.main

Get a basic LinkedIn profile with limited experience, education and skills.

Price
$0.004/callAt provider cost
Success rate
99.9%Last 30 days · 146,565 calls
Latency p50
4.4 sp95 22 s
Last verified
Sep 10, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.user.profile.main?main=true&publicIdentifier=williamhgatesPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

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.

ParameterTypeRequiredDescriptionExample
Query parameters
urlstringOptionalURL of the LinkedIn profile (optional)
mainstringRequiredSet 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 creditstrue
profileIdstringOptionalID of the LinkedIn profile (optional)
publicIdentifierstringOptionalPublic identifier of the LinkedIn profile (optional)williamhgates
  • Query parameters
  • urlstringOptional

    URL of the LinkedIn profile (optional)

  • mainstringRequired

    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

    Example: true

  • profileIdstringOptional

    ID of the LinkedIn profile (optional)

  • publicIdentifierstringOptional

    Public identifier of the LinkedIn profile (optional)

    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.profile.main?main=true&publicIdentifier=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.