LinkedIn profile API: how to get a full profile in 2026
By Benjamin · Founder of Lempile · Updated
Checked against the official sources listed at the end.
LinkedIn's official Profile API gives most apps only the signed-in member's own name, photo and headline; other members' full profiles are for partners LinkedIn approves. To get a full profile, with experience, education and skills, from a profile URL, you read it through a LinkedIn account your user connects. Here is what each route returns, with code, costs and limits.
Table of contents
- Key takeaways
- Does LinkedIn have a profile API?
- Which route fits your product?
- How do I get a full LinkedIn profile through an API?
- Can I look up a LinkedIn profile from its URL?
- How do I call it from JavaScript or Python?
- How much does a profile cost, and how many can I read?
- What should I plan for?
- Frequently asked questions
- Official sources checked
Key takeaways
- Official API: restricted to developers LinkedIn approves. By default it returns the Lite fields (name and photo), and only for the member who signed in to your app.
- Storage rule: LinkedIn lets you store Profile API data only for the signed-in member, with their permission, never for other members.
- Full profiles: an account-based API reads a profile as your user would see it, with experience, education, skills and more in one call, looked up by its URL if you like.
- Volume: through Lempile, about 500 profiles a day per connected account without sections. It's for enriching leads as they come in, not for building a database.
Does LinkedIn have a profile API?
Yes, but not one most developers can use for other people's profiles. LinkedIn's Profile API returns a member's profile, subject to their privacy settings, and its documentation opens with the catch: it is restricted to developers LinkedIn approves. What you can read then depends on the permission you hold.
Swipe the table sideways to see every column →
| Permission | Returns | For |
|---|---|---|
| r_liteprofile | Name and photo | The signed-in member |
| r_basicprofile | Name, photo, headline and vanity name (their profile URL) | The signed-in member |
| More fields, other members | Further profile fields | Select partners only |
The signed-in member's profile comes from GET /v2/me. Another member's comes from GET /v2/people/(id:{person ID}), and four rules shape what you can build on it:
- You need the member's Person ID, which only certain limited-access APIs return.
- A Person ID only works in the app that received it: shared with another app, it doesn't work.
- The API returns nothing for members who limited their Off-LinkedIn Visibility.
- You may store profile data only for the signed-in member, with their permission, and never for other members.
So the official API is for signing members in and personalizing your app with their own basics. It isn't a way to read prospects', candidates' or contacts' profiles. What else LinkedIn opens, and to whom, is in Does LinkedIn have an API?
Which route fits your product?
Three routes get you profile data, and they differ on whose profiles you can read, how complete they are, and what you take on.
Swipe the table sideways to see every column →
| Route | Whose profiles | What you get | The catch |
|---|---|---|---|
| LinkedIn's official APIs | The signed-in member; others for approved partners | Name, photo, headline; more fields for partners | Approval, and no storing other members' data |
| An account-based API (Lempile) | Anyone your user's account can open | The live profile with experience, education, skills and contact info as shared with that account | Each user connects an account; reads are paced per account |
| Data providers and scrapers | Records about people, without an account | Whatever the provider collected, at volume | Freshness and sourcing vary; bulk collection is what LinkedIn sued Proxycurl over |
If your product acts for its users (reading a lead before a message, enriching a contact they just added), the account-based route gives you the full, current profile. For the bulk-data route and its history, see Proxycurl alternatives; for company funding rounds rather than profiles, see Crunchbase alternatives.
How do I get a full LinkedIn profile through an API?
Read it through a LinkedIn account your user connects. With Lempile, one call returns the profile as that member sees it, and linkedin_sections adds the parts you ask for, such as experience, education and skills. Your user connects their account once, through a hosted link, and you pass its account_id.
curl -sS "https://direct.lempile.com/api/v1/users/bob-buyer?account_id=$ACCOUNT_ID&linkedin_sections=experience,education" \
-H "X-API-KEY: $LEMPILE_KEY"{
"object": "UserProfile",
"provider_id": "ACoAAAzyxwvutsrqponml",
"public_identifier": "bob-buyer",
"first_name": "Bob",
"last_name": "Buyer",
"headline": "Head of Sales",
"location": "Boston, Massachusetts, United States",
"network_distance": "FIRST_DEGREE",
"follower_count": 973,
"connections_count": 970,
"work_experience": [
{ "position": "Head of Sales", "company": "Example Co",
"start": "2/1/2024", "end": null, "current": true }
],
"education": [ … ]
}Swipe the table sideways to see every column →
| Section | Adds |
|---|---|
| about | The summary |
| experience | Every position, grouped by company, newest first |
| education | Schools and degrees |
| skills | Every skill (skills_preview: the ones shown first) |
| languages, certifications, projects | Each list, with its total |
| volunteering_experience | Volunteering roles |
| recommendations_received, recommendations_given | Recommendations, with their totals |
| * | Every section, in full |
Every field LinkedIn has no value for is left out, dates come as month/day/year as in Unipile's API, and a current position has "end": null. The full list is in the profiles docs.
Can I look up a LinkedIn profile from its URL?
Yes. Pass the profile URL, URL-encoded, as provider_url, and the answer is the same profile object as above. You can also put the encoded URL in the path, or name the profile by its public identifier (bob-buyer), its provider id (ACoAA…, the id every write takes) or its urn:li:fsd_profile URN.
curl -sS "https://direct.lempile.com/api/v1/users?account_id=$ACCOUNT_ID&provider_url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fbob-buyer%2F" \
-H "X-API-KEY: $LEMPILE_KEY"A profile carries an email only when the member shares it with the reading account. To find a work email from a profile URL, see Email finder API: 11 options compared, Lempile's Email Finder included.
No URL, only a name and a company? Search for the person first. People search API: 10 options compared covers LinkedIn's own search through a connected account and nine other APIs, with what each one returns and any price it publishes.
How do I call it from JavaScript or Python?
It's a plain HTTPS GET with your key in the X-API-KEY header, so any HTTP client works. Keep the key on your server, never in a browser.
const params = new URLSearchParams({
account_id: process.env.ACCOUNT_ID,
linkedin_sections: "experience,education,skills",
});
const res = await fetch(
`https://direct.lempile.com/api/v1/users/bob-buyer?${params}`,
{ headers: { "X-API-KEY": process.env.LEMPILE_KEY } },
);
const profile = await res.json();
console.log(profile.first_name, profile.headline, profile.work_experience);import os
import requests
res = requests.get(
"https://direct.lempile.com/api/v1/users/bob-buyer",
params={
"account_id": os.environ["ACCOUNT_ID"],
"linkedin_sections": "experience,education,skills",
},
headers={"X-API-KEY": os.environ["LEMPILE_KEY"]},
timeout=60,
)
profile = res.json()
print(profile["first_name"], profile["headline"])How much does a profile cost, and how many can I read?
A profile takes three LinkedIn calls: the top card, the second card (followers, connections, shared connections) and the contact info. Sections take one to five more, so ask only for the ones you use. Each connected account makes at most 1,500 LinkedIn calls in any 24 hours, one at a time, 1.5 to 3 seconds apart: about 500 profiles a day without sections, fewer with them. Someone the account talked to in the last half hour is answered from the conversation, with no LinkedIn call.
Lempile is priced per connected account, not per call: see pricing, and LinkedIn API rate limits for how the limits compare with LinkedIn's own.
What should I plan for?
- It's one member's view. Contact details come back only as the member shares them with the reading account, and network distance is measured from that account.
- It's not a database. Profiles are read one by one at a human pace, as the member could open them. For why bulk extraction is a different matter, see LinkedIn scrapers.
- LinkedIn's User Agreement still applies. It restricts automated access, so the member who connects an account takes on the risk of a restriction.
- Profiles are personal data. Keep only what your product needs, for as long as it needs it.
Frequently asked questions
Does LinkedIn have a profile API?
Is the LinkedIn profile API free?
What is the difference between r_liteprofile and r_basicprofile?
How do I get someone's full name from their LinkedIn URL?
Can I get an email address from a LinkedIn profile?
How many profiles can I read a day?
Does it return Sales Navigator or Recruiter data?
Official sources checked
Read on 2 December 2026.
- LinkedIn Profile API (Microsoft Learn, updated 30 April 2026): https://learn.microsoft.com/en-us/linkedin/shared/integrations/people/profile-api
- Lempile docs: Users and profiles: /docs/direct/users-and-profiles
- Lempile docs: Errors and limits: /docs/direct/errors-and-limits