LurkAPI
Docs · LinkedIn profile

LinkedIn profile

A member's public profile: headline, about, experience, education, latest posts and articles.

1 credit per callFresh within 6 hoursMCP tool: linkedin_profile
GEThttps://api.lurkapi.com/v1/linkedin/profile

Example responseView as markdown

When to use this

Returns what LinkedIn shows a logged-out visitor. For most members that is the name, location, photo, follower and connection counts, the start of About, the current company, some schools and their latest posts; LinkedIn hides their headline and blurs the rest of their work history, which experienceHidden reports and no logged-out request can read. Creators and public figures show their headline, full experience with descriptions, and education with degrees. Hidden values are null, never asterisks. LinkedIn answers a profile it won't show logged-out visitors exactly like one that doesn't exist, so both are a free upstream_error, not not_found: check the URL if it persists. Contact info and activity beyond the latest posts need a login; skills, certifications, volunteering and recommendations aren't included.

Parameters

All parameters go in the query string.

ParameterDescription
url
stringrequired
Public profile URL, e.g. https://www.linkedin.com/in/williamhgates. Country subdomains such as uk.linkedin.com work too.
Example
https://www.linkedin.com/in/williamhgates

Example request

Replace YOUR_API_KEY with your key, or set LURKAPI_KEY for the code. Get a free key.

Language

Example response

A real response from this endpoint, captured from the live API and trimmed to a couple of items. Strings over 96 characters (mostly signed media URLs) are cut short and end in ….

Show the example response (4 KB)
{
  "success": true,
  "credits_remaining": 999999,
  "credits_charged": 1,
  "id": "251749025",
  "url": "https://www.linkedin.com/in/williamhgates",
  "name": "Bill Gates",
  "headline": "Chair, Gates Foundation and Founder, Breakthrough Energy",
  "location": "Seattle, Washington, United States",
  "countryCode": "US",
  "image": "https://media.licdn.com/dms/image/v2/D5603AQF-RYZP55jmXA/profile-display…",
  "coverImage": "https://media.licdn.com/dms/image/v2/D5616AQEjhPbTCeblYg/profile-display…",
  "followers": 40736671,
  "connections": 8,
  "about": "Chair of the Gates Foundation. Founder of Breakthrough Energy. Co-founde…",
  "experienceHidden": false,
  "experience": [
    {
      "title": "Co-chair",
      "company": "Gates Foundation",
      "companyUrl": "https://www.linkedin.com/company/gates-foundation",
      "companyLogo": "https://media.licdn.com/dms/image/v2/D560BAQEgMqqFTd40Tg/company-logo_10…",
      "location": null,
      "startDate": "2000",
      "endDate": null,
      "duration": "26 years",
      "description": null
    },
    {
      "title": "Founder",
      "company": "Breakthrough Energy",
      "companyUrl": "https://www.linkedin.com/company/breakthrough-energy",
      "companyLogo": "https://media.licdn.com/dms/image/v2/D560BAQFRMYiQN7-2kA/company-logo_10…",
      "location": null,
      "startDate": "2015",
      "endDate": null,
      "duration": "11 years",
      "description": null
    }
  ],
  "education": [
    {
      "school": "Harvard University",
      "url": "https://www.linkedin.com/school/harvard-university/",
      "logo": "https://media.licdn.com/dms/image/v2/C4E0BAQF5t62bcL0e9g/company-logo_10…",
      "degree": null,
      "field": null,
      "startDate": "1973",
      "endDate": "1975"
    },
    {
      "school": "Lakeside School",
      "url": "https://www.linkedin.com/school/lakeside-school/",
      "logo": "https://media.licdn.com/dms/image/v2/D560BAQGFmOQmzpxg9A/company-logo_10…",
      "degree": null,
      "field": null,
      "startDate": null,
      "endDate": null
    }
  ],
  "posts": [
    {
      "id": "7517635773937025025",
      "url": "https://www.linkedin.com/posts/williamhgates_we-can-drastically-cut-avia…",
      "text": "Contrails.org is doing amazing research and developing software (includi…",
      "datePublished": "2026-10-18T17:20:39.424Z",
      "likeCount": 985
    },
    {
      "id": "7517390588447621121",
      "url": "https://www.linkedin.com/posts/williamhgates_made-in-africa-new-measles-…",
      "text": "With measles outbreaks rising around the world, catching cases early mak…",
      "datePublished": "2026-10-18T01:06:22.648Z",
      "likeCount": 854
    }
  ],
  "articles": [
    {
      "title": "For an affordable climate win, look to the sky",
      "url": "https://www.linkedin.com/pulse/affordable-climate-win-look-sky-bill-gates-eoj7e",
      "datePublished": "2026-10-12T20:10:59.000Z",
      "likeCount": 3899,
      "image": null
    },
    {
      "title": "AI, equity, and the choice we can’t delay",
      "url": "https://www.linkedin.com/pulse/ai-equity-choice-we-cant-delay-bill-gates-d1gte",
      "datePublished": "2026-09-17T15:18:20.000Z",
      "likeCount": 2999,
      "image": "https://media.licdn.com/dms/image/v2/D4E12AQFwjr3EOC2slQ/article-cover_i…"
    }
  ],
  "similarProfiles": [
    {
      "name": "Melinda French Gates",
      "url": "https://www.linkedin.com/in/melindagates",
      "headline": "Pivotal",
      "location": "United States",
      "image": "https://media.licdn.com/dms/image/v2/D5603AQEnhirBBhb5kg/profile-display…"
    },
    {
      "name": "Tyler Alterman",
      "url": "https://www.linkedin.com/in/tyleralterman",
      "headline": "Fractal University",
      "location": "Brooklyn, NY",
      "image": "https://media.licdn.com/dms/image/v2/D4D03AQHicg8rnDPxbQ/profile-display…"
    }
  ]
}

Response fields

Every field of a successful response. [] marks a list: a[].b is the b of each item in a. nullable fields can be null; optional fields can be missing.

Show all 51 fields
FieldTypeDescription
successtrueAlways true here; errors have success: false.
credits_remainingnumberYour balance after this call. On anonymous playground calls: free tries left today.
credits_chargednumberCredits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1).
idstringnullableLinkedIn member id, when the page exposes it.
urlstringCanonical public profile URL.
namestringMember's full name.
headlinestringnullableHeadline under the name, e.g. their role and company. Null when LinkedIn hides it, as it does for members whose work history it blurs.
locationstringnullableLocation as LinkedIn shows it, e.g. Seattle, Washington, United States.
countryCodestringnullableTwo-letter country code from the profile's address.
imagestringnullableProfile photo URL; may expire.
coverImagestringnullableBackground banner URL; may expire.
followersnumbernullableExact follower count.
connectionsnumbernullableConnections LinkedIn shows. It shows 500 or more as 500+, returned as 500.
aboutstringnullableThe About section. LinkedIn cuts it short, ending in …, for most members.
experienceHiddenbooleanTrue when LinkedIn blurs this member's work history for logged-out visitors, as it does for most members. experience then holds only the current positions LinkedIn reveals, with hidden titles as null.
experienceobject[]Positions in LinkedIn's order, newest first. Hidden entries are left out.
experience[].titlestringnullableJob title; null when LinkedIn hides it.
experience[].companystringnullableCompany or organization name.
experience[].companyUrlstringnullableThe organization's LinkedIn page.
experience[].companyLogostringnullableOrganization logo URL; may expire.
experience[].locationstringnullableWhere the role is based, when shown.
experience[].startDatestringnullableStart of the role: YYYY-MM, or YYYY when LinkedIn shows only the year.
experience[].endDatestringnullableEnd of the role: null while it's current or when not shown; YYYY-MM, or YYYY when LinkedIn shows only the year.
experience[].durationstringnullableTenure as LinkedIn shows it, e.g. 12 years 9 months.
experience[].descriptionstringnullableThe role's description, when public.
educationobject[]Education in LinkedIn's order. Hidden entries are left out.
education[].schoolstringSchool name.
education[].urlstringnullableThe school's LinkedIn page.
education[].logostringnullableSchool logo URL; may expire.
education[].degreestringnullableDegree, e.g. Bachelor's Degree.
education[].fieldstringnullableField of study.
education[].startDatestringnullableStart: YYYY-MM, or YYYY when LinkedIn shows only the year.
education[].endDatestringnullableEnd: YYYY-MM, or YYYY when LinkedIn shows only the year.
postsobject[]The member's latest public posts and reposts with commentary that LinkedIn shows on the profile, usually up to 8. Not a complete history.
posts[].idstringActivity id, kept as a string to preserve all digits.
posts[].urlstringPublic post URL.
posts[].textstringPost text. Empty when the post only contains media.
posts[].datePublishedstringnullablePublication time in UTC.
posts[].likeCountnumbernullableReactions LinkedIn shows.
articlesobject[]Newsletter and long-form articles the member published, latest first, as many as the profile shows (often up to 10).
articles[].titlestringArticle headline.
articles[].urlstringArticle URL on linkedin.com/pulse.
articles[].datePublishedstringnullablePublication time in UTC.
articles[].likeCountnumbernullableReactions LinkedIn shows.
articles[].imagestringnullableCover image URL; may expire.
similarProfilesobject[]Other profiles LinkedIn suggests next to this one. Empty when the page has none.
similarProfiles[].namestringMember's name.
similarProfiles[].urlstringTheir public profile URL.
similarProfiles[].headlinestringnullableTheir headline or current company, as the card shows it.
similarProfiles[].locationstringnullableTheir location.
similarProfiles[].imagestringnullableProfile photo URL; may expire.

Caching and freshness

Responses are cached for up to 6 hours, so a repeat call within that window can return the same data. It still costs 1 credit.

Errors

Errors return { success: false, error, code, docs } with the HTTP status below. Validation errors, 401/402/429 rejections and 5xx failures are free; not_found is charged (how charging works). All error codes.

StatusCodeMeaning
401missing_api_keyNo API key. Send it in the x-api-key header.
401invalid_api_keyThe key is unknown or was revoked.
402insufficient_creditsNot enough credits for this call. Buy a pack or wait for tomorrow's top-up.
403account_suspendedThis account is suspended. Contact support@lurkapi.com. Never charged.
405method_not_allowedEndpoints take GET with query params.
429rate_limitedToo many calls at once. Wait for the retry-after seconds, then retry.
500internal_errorSomething broke on our side. Retry; 5xx errors are free.
502upstream_errorThe platform didn't give a usable answer. Retry; 5xx errors are free.
503upstream_busyAll our connections to the platform are busy. Retry in a few seconds; 5xx errors are free.
504upstream_timeoutThe platform took over 30 seconds to answer (90 for web pages). Retry; timeouts are free.

Use it in Claude

Once LurkAPI is connected to Claude, this endpoint is the linkedin_profile tool. Ask in plain English, for example:

Ask Claude
Use LurkAPI's linkedin_profile with url "https://www.linkedin.com/in/williamhgates" and summarize what you find.

Claude calls linkedin_profile with arguments like these, and each call costs 1 credit:

Tool arguments
{
  "url": "https://www.linkedin.com/in/williamhgates"
}

Tool results are compact to save tokens: no nulls or empty lists, one URL per image or video, transcripts as plain text unless you pass timestamps=true. A result over 45,000 characters comes in parts: its _note gives the offset for the rest, and later parts are free for 15 minutes. trim=false returns the full response.

From the blog

All posts