LinkedIn Profile Scraper
Authorizations
AuthorizationstringheaderrequiredUse an account access token as Bearer <token>.
Retrieve profile, employment, and education details from a LinkedIn profile URL. Send the public input field profileUrl; normalized profile URLs are returned under the same name.
Public ID: linkedin-profile-scraper. Get the current definition. You can read it without authentication.
Settings
Use experiencesNb and educationsNb to choose how much work and education history to return. Send strings: the defaults are "3" and "1".
You can use cached profiles. To request includeUrn or includePictures, disable cached profiles first. Picture URLs can expire.
The enrichment accepts public profile and Sales Navigator URLs. Asking for more history adds numbered experience and education fields. Other fields depend on your settings and what the profile makes available.
includeUrnbooleanInclude the LinkedIn internal identifier (URN), for example: ACoAAAIJflYBlveEKEKWvVsjTP4QeXHK8KfcKHg. This ID can be used to build Sales Navigator URLs, like https://www.linkedin.com/sales/lead/XXXX.
Enabled when: acceptCachedProfiles==false.
includePicturesbooleanInclude the LinkedIn profile picture and the company logo URL. ⚠️ These URLs expire fast. Download the images to avoid broken links.
Enabled when: acceptCachedProfiles==false.
acceptCachedProfilesbooleanDefault behavior is to fetch fresh LinkedIn profile data. Enable this option to use cached profiles when available. Cached profiles cost 20 credits per profile.
Enabled when: includeUrn==false&includePictures==false.
experiencesNbstringNumber of work experiences to return, sent as a string. Defaults to "3".
"3", "5", "10"educationsNbstringNumber of education entries to return, sent as a string. Defaults to "1".
"1", "3", "5"Additional properties are supported.
Inputs
Give each input an inputId you can use to match the result to your record. Put the fields below in its data object.
profileUrlstringrequiredLinkedIn Profile Identifier. Works with standard profile URLs (https://linkedin.com/in/xxx) and Sales Navigator URLs (https://www.linkedin.com/sales/lead/xxxx).
Additional properties are supported.
Outputs
Each result contains your inputId, a status, the data in outputs, and creditsUsed. If the input failed, error explains why; otherwise it is null.
The fields below depend on your settings and the data found. Results can include fields not yet listed in the catalog.
linkedInInternalIdentifierstringThe unique internal LinkedIn identifier (URN). Example: ACoAAAIJflYBlveEKEKWvVsjTP4QeXHK8KfcKHg. Use it to build Sales Navigator URLs like https://www.linkedin.com/sales/lead/XXXX.
Enabled when: acceptCachedProfiles==false&includeUrn==true.
profileUrlstringThe clean and standardized LinkedIn Public Profile URL. In the format: https://www.linkedin.com/in/xxx
"uri"firstNamestringThe first name of the profile
lastNamestringThe last name of the profile
fullNamestringThe full name of the profile
linkedInHeadlinestringThe tagline on the user profile.
linkedInSummarystringA blurb (longer than the tagline) written by the user for his profile.
linkedInCitystringThe city of the profile
linkedInStatestringThe state of the profile
linkedInCountryCodestringThe country code of the profile. 2-letter country code (ISO 3166-1 alpha-2).
linkedInCountryNamestringThe profile's country of residence, in English words.
linkedInLocationstringFull Location text
linkedInProfilePicturestringThese URLs expire fast. Download the images to avoid broken links.
Enabled when: acceptCachedProfiles==false&includePictures==true.
linkedInlastExpTitlestringThe title of the current (or last) experience
linkedInlastExpEmploymentTypestringThe employment type of the current (or last) experience.
linkedInlastExpDescriptionstringThe description of the current (or last) experience
linkedInlastExpStartsAtstringThe start date of the current (or last) experience.
"date"linkedInlastExpEndsAtstringThe end date of the last experience. None if still active.
"date"linkedInlastExpLocationstringThe location of the current (or last) experience
linkedInlastExpCompanystringThe company name of the current (or last) experience.
linkedInlastExpCompanyPagestringLinkedIn company's profile URL of the current (or last) experience.
linkedInlastExpCompanyWebsitestringCompany Website of the current (or last) experience.
linkedInlastExpCompanyDescriptionstringThe company description from the LinkedIn company page of the current or last experience.
linkedInlastExpCompanyIndustrystringCompany Industry of the current (or last) experience.
linkedInlastExpCompanyRangestringSize of the company. In the form: 1, 2-10, 11-50, etc.
linkedInlastExpCompanyLogostringThese URLs expire fast. Download the images to avoid broken links.
Enabled when: acceptCachedProfiles==false&includePictures==true.
linkedIn2ExpTitlestringThe title from the second most recent work experience. If available.
linkedIn2ExpEmploymentTypestringThe employment type from the second most recent work experience. If available.
linkedIn2ExpDescriptionstringThe description from the second most recent work experience. If available.
linkedIn2ExpStartsAtstringThe start date from the second most recent work experience. If available.
"date"linkedIn2ExpEndsAtstringThe end date from the second most recent work experience. If available.
"date"linkedIn2ExpCompanyNamestringThe company name from the second most recent work experience. If available.
linkedIn2ExpLogostringThese URLs expire fast. Download the images to avoid broken links.
Enabled when: acceptCachedProfiles==false&includePictures==true.
linkedIn3ExpTitlestringThe title from the third most recent work experience. If available.
linkedIn3ExpEmploymentTypestringThe employment type from the third most recent work experience. If available.
linkedIn3ExpDescriptionstringThe description from the third most recent work experience. If available.
linkedIn3ExpStartsAtstringThe start date from the third most recent work experience. If available.
"date"linkedIn3ExpEndsAtstringThe end date from the third most recent work experience. If available.
"date"linkedIn3ExpCompanyNamestringThe company name from the third most recent work experience. If available.
linkedIn3ExpLogostringThese URLs expire fast. Download the images to avoid broken links.
Enabled when: acceptCachedProfiles==false&includePictures==true.
linkedInlastEduSchoolstringThe school name of the current (or last) education
linkedInlastEduDegreestringThe degree of the current (or last) education
linkedInlastEduFieldstringThe field of study of the current (or last) education
linkedInlastEduStartsAtstringThe start date of the current (or last) education
"date"linkedInlastEduEndsAtstringThe end date of the current (or last) education
"date"linkedInlastEduLogostringThese URLs expire fast. Download the images to avoid broken links.
Enabled when: acceptCachedProfiles==false&includePictures==true.
linkedInLanguagesstringComma-separated list of spoken languages of the LinkedIn profile.
linkedInConnectionsstringThe number of connections of the profile
Additional properties are supported.
Credits and limits
Cost: 25 credits per profile
Fresh and cached lookups have different credit costs. A missing profile may still involve billable work. The catalog reports variable pricing; task and result credit fields report actual usage.
Send 1–10,000 inputs per task, within 16 KiB per input and 10 MiB per request. Tasks can run for up to 24 hours; completed, failed, or stopped tasks are kept for 90 days.
You can set maxCredits to stop starting new work after a credit threshold. Work already underway can still exceed it. Enrichment and source tasks share your account balance and task limits. See limits and errors.
Accepted task and results
The API returns 202 Accepted with a task ID. Save it, then check links.self every few seconds. Once status is completed, failed, or stopped, read links.results. Failed and stopped tasks can still have useful results. See the task reference.
Example results (sample data and credit amounts):
{ "taskId": "00000000000040008000000000000001", "results": [ { "inputId": "row-1", "status": "success", "outputs": { "profileUrl": "https://www.linkedin.com/in/example-person/", "firstName": "Example", "lastName": "Person", "fullName": "Example Person", "linkedInHeadline": "Software engineer", "enrichmentStatus": "found" }, "creditsUsed": "1", "error": null } ], "nextCursor": null}If nextCursor is not null, pass it unchanged in the next request to get more results. Pages default to 50 results; limit accepts 1–100. A page is at most 128 KiB, so it may contain fewer results than requested.