32 fields from one requestSee the lookup

LinkedIn profile data as clean JSON

Send a profile URL and get positions, schools, skills and 29 more fields back, with every list marked complete or truncated. No LinkedIn login on your side.

Profile lists, each with its count

The console sends one request and lists all 13 collections with LinkedIn’s total, what arrived and the cap. A short list never passes for a full one.

Read the field list

Finds the right person in 170 records

A response carries 11 Profile records. The obvious lookup returns record 100, someone else. The subject is record 104, the first element of data, and every list is walked from there.

JSprofile-graph.mjs JSschema.mjs 1 fix
export function parseProfile(json) {
  // not included.find($type === PROFILE)
  const urn = json.data["*elements"][0];
  const byUrn = indexIncluded(json.included);
  const subject = byUrn.get(urn);
  const jobs = subject["*profilePositionGroups"];
  return walk(byUrn, jobs);
}
Starts at the subject, never at a $type filter.

1

upstream request a profile

170

records in one response

32

fields in one schema file

103

tests that run offline

Four rules for each profile request. All four live in the Worker.

Sends one GET per profile

One decoration expands the whole profile graph. Asking per section over GraphQL takes 13 requests for the same data.

Waits on a 429 instead of retrying

A 429 from LinkedIn starts a one-hour cooldown and a 999 six hours. Retrying is how a warning becomes a ban.

  • LinkedIn sent a 429Cooldown for 1 hour, nothing retriedBudget
  • HTTP 999 from LinkedInAll calls stopped for 6 hours
  • Daily cap checkedThe kill switch stays off

Reads the status before parsing

A 302, 410 or 999 never reaches the parser, so a failure never looks like an empty profile.

Finds new query hashes offline

LinkedIn’s own web bundle names 933 queries. A script reads them with no cookies and no request.

When a hash rotates
1 of 3
  • Read the web bundle, 933 queries
  • Decompile the APK, 481 hashes
  • Capture live traffic, one call each

Questions

About the account, the limits and what is still unfinished.

Read the operations notes

Does the API need my LinkedIn account?

No. The service holds its own session. Sending x-li-at and x-li-jsessionid headers spends your account instead.

Does LinkedIn allow this API?

No. It breaks section 8.2 of the User Agreement. It is read-only, paced, capped per day, and keeps captured profiles out of version control.

What does the API do with a cut-off list?

It is marked truncated with its total. Paging experience is verified; paging skills still returns HTTP 500.

Does the API refresh its session?

Not yet. LinkedIn renews li_at on page loads, never on API calls. A killed session is detected.

Can I run the API myself?

Yes. npm test runs 103 tests offline with no credentials, then wrangler dev serves it on port 8811.