Explainer

LinkedIn Profile Data: What a Profile Scraper Returns, Section by Section

The sections a LinkedIn profile is made of, how each one maps to JSON fields, why long sections arrive cut short, and the schema details worth checking before a profile API goes into a pipeline.

Last updated · 9 min read

A LinkedIn profile scraper is a tool that reads LinkedIn profiles and returns each section as structured fields, usually JSON, so code can use them. What it can return is bounded by the profile itself: the introduction (name, headline, location), About, Experience, Education, Skills and optional sections such as certifications, projects, languages and recommendations, limited to what the member makes public. Long sections, above all work history and skills, often arrive with fewer items than the profile lists. Before paying for a profile API, check how its schema marks missing values, cut-short sections and computed fields, and whether field names are versioned.

What is a LinkedIn profile scraper?

A LinkedIn profile scraper is software that takes a LinkedIn profile, or a search that matches many profiles, and turns the page into named fields such as headline, education or experiences. The output is a record a program can store, filter and join, rather than text a person reads.

Profile scrapers come in two shapes. A self-built scraper runs inside a team's own code and has to keep a browser, sessions and parsing working as LinkedIn changes its pages. A profile API moves that work to a provider: the developer sends filters or profile URLs and receives records in a published schema.

The schema is what a buyer is really comparing. Two LinkedIn profile scrapers can read the same public profile and still differ in which sections they keep, how they name fields, and whether they say when a section came back incomplete.

What sections does a LinkedIn profile have?

LinkedIn groups profile sections into three tiers on its Help page "Add sections to your profile", consulted on 15 November 2026. The Core tier holds About, Education, Position, Services, Career break and Skills. Recommended adds Featured, Licenses & certifications, Projects, Courses and Recommendations. Additional covers Volunteer experience, Publications, Patents, Honors & awards, Test scores, Languages, Organizations and Causes.

Above those sections sits the introduction: name, headline, location and photo. The introduction is the part every profile shows, while most other sections only appear when the member fills them in.

Some sections can grow long. LinkedIn Help's page on skills, also consulted on 15 November 2026, says a member can add up to 100 skills, and a career of several jobs fills Experience with one entry per position. Long sections are where incomplete data shows up first.

LinkedIn profile sections mapped to JSON fields

Each LinkedIn profile section maps to a scalar field or to a list of records in a scraper's output. The table below uses pineapi's v1 response schema as the worked example, with the section names from LinkedIn Help and the field a developer would check to know whether the section arrived whole.

LinkedIn section What it holds Field in pineapi's response How to tell if it is complete
Introduction Name, headline, location, photo full_name, headline, location_country, profile_picture_url Single values; null when the profile has none
About Free-text summary about Single value; null when empty
Position (Experience) One entry per role, with dates and company experiences[], plus current_title experience_truncated and the count in section_totals
Education Schools, degrees and dates education[], school_names Compare the list length with section_totals
Skills Up to 100 named skills skills[], skills_flat, top_skills skills_truncated and the count in section_totals
Licenses & certifications Title, issuer and dates certifications[] Compare the list length with section_totals
Projects, Courses, Publications, Patents One entry per item projects[], courses[], publications[], patents[] Compare each list with section_totals
Recommendations Text, author and date recommendations[] Compare the list length with section_totals
Languages, Volunteer experience, Honors & awards, Organizations One entry per item languages[], volunteering[], honors[], organizations[] Compare each list with section_totals

Not every LinkedIn section has a collection of its own in pineapi's v1 schema: Featured, Services, Career break, Test scores and Causes are not returned as lists. A scraper that claims "full profiles" should be read against a table like this one, section by section.

What a public LinkedIn profile shows to a scraper

A public LinkedIn profile shows only the sections the member allows. LinkedIn Help's page on public profile visibility, last updated about a month before it was consulted on 15 November 2026, puts it plainly: "Your public profile is a simplified version of your LinkedIn profile."

On the Public profile settings page, each member turns individual sections on or off for people who are not signed in to LinkedIn and for search engines. LinkedIn also notes that in some contexts it shows a more limited preview with some, not all, of the fields a member allowed.

For a developer, an empty field therefore has more than one meaning: the member never filled the section in, or chose not to show it publicly. pineapi reads what LinkedIn shows publicly, so a profile API's schema should return a missing section as null or an empty list, never as an invented default.

Why LinkedIn profile data arrives truncated

LinkedIn profile data arrives truncated because LinkedIn reports how many items a section holds separately from the items it actually serves. A profile can declare 25 positions and serve fewer, so any count or total computed from the served list comes out short.

The effect is large on the two longest sections. In pineapi's data, 40% of LinkedIn profiles arrive with experience cut short and 68% with skills cut short. pineapi does not hide the gap: each profile carries experience_truncated and skills_truncated flags, and section_totals records the count LinkedIn declares for each section.

Truncation matters most for computed values. A years-of-experience figure added up from a clipped work history is an undercount, which is why pineapi's total_months_experience should be read together with experience_truncated. The integration notes on handling incomplete LinkedIn profiles cover how to treat those rows.

How pineapi returns LinkedIn profile data

pineapi is a LinkedIn scraping API that searches profiles by filter and returns them as structured data, billed per profile delivered. Every pineapi profile has 53 fields and 16 nested collections, including experiences, education, skills, certifications, projects and recommendations, and none of them is an email address.

The schema is versioned under /v1/, and within a version no field is renamed or removed, so a parser written today keeps working until the next version. Each field, with its type and description, is listed in the pineapi response schema reference. Contact details are a separate job, covered in the guide to finding emails for LinkedIn profiles.

On cost, each delivered profile is billed at $0.010 and every pineapi search at least $0.12, while a lookup by profile URL carries no minimum; there is no subscription, and the prepaid balance starts at a $5 top-up. A lookup accepts up to 2,000 profile URLs per request, and URLs that do not resolve are not billed. pineapi has no affiliation with LinkedIn, and whoever processes the profiles needs a lawful basis of their own.

A trimmed pineapi profile in JSON

This extract from pineapi's anonymised demo profile keeps the fields a reviewer should look at first: the current role, the computed tenure fields, the truncation flags and two of the declared section totals.

{
  "current_title": "Senior Software Engineer",
  "total_months_experience": 284,
  "months_in_current_role": 8,
  "companies_count": 20,
  "promotions_count": 4,
  "experience_truncated": true,
  "skills_truncated": true,
  "section_totals": { "experience": 25, "skills": 64 },
  "experiences": ["... 24 entries ..."],
  "skills": ["... 2 entries ..."]
}

The demo profile declares 25 positions and 64 skills but serves 24 and 2, and both flags say so. Without section_totals, the same record would look like a complete career with two skills.

Fetching LinkedIn profiles by URL with Python

A pineapi lookup costs $0.010 for each profile returned and nothing for URLs that do not resolve. This Python script creates the lookup with an Idempotency-Key, polls the run until it finishes, reads every page with next_cursor and prints which profiles arrived incomplete:

import os, time, uuid
import requests

base = os.environ["PINEAPI_BASE_URL"].rstrip("/") + "/v1"
s = requests.Session()
s.headers["Authorization"] = "Bearer " + os.environ["PINEAPI_KEY"]

urls = ["https://www.linkedin.com/in/<slug>"]
r = s.post(base + "/profile-lookups", json={"linkedin_urls": urls}, timeout=30,
           headers={"Idempotency-Key": str(uuid.uuid4())})
r.raise_for_status()
run_id = r.json()["run_id"]

started = time.monotonic()
while True:
    run = s.get(f"{base}/runs/{run_id}", timeout=30).json()
    if run["status"] in {"succeeded", "partial", "failed", "cancelled"}:
        break
    time.sleep(5 if time.monotonic() - started < 60 else 20)

params = {}
while True:
    page = s.get(f"{base}/runs/{run_id}/profiles", params=params, timeout=30).json()
    for p in page["data"]:
        totals = p.get("section_totals") or {}
        print(p["requested_url"], p["experience_truncated"], p["skills_truncated"],
              len(p["experiences"]), "of", totals.get("experience"))
    if not page["has_more"]:
        break
    params["cursor"] = page["next_cursor"]

The loop follows the polling schedule in pineapi's documentation: a status check every 5 seconds during the first minute, then one every 20 seconds.

What to check in a LinkedIn profile API schema before you pay

A LinkedIn profile API is worth paying for when its schema tells you what it does not know. Before committing a pipeline to one provider, read its response reference against this list:

  • Missing values: the schema should say which fields are nullable, so an absent headline or an empty Education list is null or [], not an empty string a parser mistakes for data.
  • Truncation flags: a profile API should mark a section that arrived shorter than LinkedIn declares, ideally with the declared count, so an incomplete record can be told apart from a short career.
  • Versioning: field names should live under a version, with a rule against renaming or removing fields inside it, so stored records and parsers do not break silently.
  • Input matching: a lookup by URL should echo the URL that was sent, because LinkedIn profile slugs change and the returned profile URL may differ from the input.
  • Billing unit: the price should be per profile delivered, not per request or per credit, and the provider should state what an empty or failed request costs.
  • Contact data: the schema should state plainly whether email addresses are included, so nobody plans a workflow on a field that is not there.

These checks apply to any profile scraper, self-built or bought. Teams weighing the legal side of storing the results can start with the overview of what courts have said about LinkedIn scraping.

Computed fields and how they are derived

Computed fields are values a profile API calculates from the raw sections instead of copying them from LinkedIn. pineapi adds seven to every profile: total_months_experience, months_at_current_company, months_in_current_role, promoted_at_current_company, promotions_count, companies_count and avg_months_per_company.

Each computed field inherits the gaps of the section it is built from. All seven pineapi fields come from work history, so on a profile where experience_truncated is true they describe the positions served, not the whole career. A recruiting-tech team ranking candidates by tenure should either drop those rows or rank them separately.

A computed field is only as reliable as its definition. Before relying on one, check in the provider's reference how it is calculated: whether overlapping positions are counted once or twice, and whether a promotion means a new title at the same company.