Person API

Resolve a profile URL into a structured person record

One authenticated GET against /v1/people/profile. Identity, location, work history, education, skills and badges, from a slug, a profile URL or a stored entity_urn. Network counts and verification are paused at the moment and come back null without costing anything extra.

GET /v1/people/profile
curl -H "ApiKey: $TRIGUNA_API_KEY" \
  "https://api.triguna.ai/v1/people/profile\
?profile_id=rokafor"
200 response (excerpt)
{
  "entity_urn": "ACoAAAWEHIQB...",
  "public_identifier": "williamhgates",
  "first_name": "Bill",
  "last_name": "Gates",
  "headline": "Chair, Gates Foundation",
  "location": { "city": "Seattle", "country_code": "US" },
  "experience": [ /* grouped by company */ ],
  "skills": ["Philanthropy", "Global Health"]
}

What the record carries

Identity

entity_urn, public_identifier, names, headline, summary, industry, photo URLs, and profile_url.

Work history

experience[], grouped by company, with a nested positions[] array so a promotion reads as one employer and several roles.

Education and skills

education[] with degree and field of study, and skills[] as a plain array of strings, capped at twenty by the source.

Network and badges

Badges such as open_to_work and is_hiring. Follower and connection counts are paused, so network_info is null and nothing extra is charged for asking.

Generic sections

Certifications, courses, honors, languages, organizations, patents, projects, publications, test scores, and volunteering: all one shape, one parser.

Contact details

contact_info is null while network details are paused, and its emails, phones and websites are not populated even when it returns. Design for absence.

Three things that catch parsers

None of these are exotic. All three show up in the first day of an integration.

  1. The title is nested. Read experience[0].positions[0].title, not experience[0].title. Reference →
  2. Dates are objects. { year, month, day, iso } with a partial iso such as "2018-03". A strict date parser will throw. Reference →
  3. A profile is capped at ten employers. experience[] holds the ten most recent groups and skills[] twenty, so exactly ten may mean truncated. Page the rest from /v1/people/experiences. Reference →

Common questions

What identifier does the person API take?

Any of three forms in profile_id: a public slug, the path segment after /in/ in a profile URL; a full LinkedIn profile URL; or the bare entity_urn from an earlier response. Display names are not accepted and always return 404. The companion endpoints are stricter: /v1/people/experiences, /v1/people/bulk and /v1/activities/personal-feed take the bare entity_urn and nothing else.

Where is the job title in a person record?

On experience[0].positions[0].title. The experience array is grouped by company and the title lives on the nested positions array, so experience[0].title is undefined for effectively every record.

Why are network_info, verifications and contact_info null?

Network details are paused. Those three sections come back null whether or not you set include_network_details, and nothing extra is charged for asking, so a profile stays at 1 credit rather than 1.1. GET /v1/people/social-metrics, which returns the same counts on their own, answers a free 503 while this lasts. The parameter is still accepted, so no code change is needed at your end: the same request starts filling the fields again when the service returns.

Which key should I store for a person?

entity_urn. It is stable, where the public_identifier slug is user-editable and will break your joins when someone renames their profile. You can feed the urn straight back in as a profile_id, exactly as returned rather than in a urn:li: prefixed form, and it is the only form /v1/people/experiences, /v1/people/bulk and the activity feed accept, so storing it is what unlocks the rest of the surface.

Does a profile hold a person's whole work history?

Not always. experience[] holds at most the ten most recent employer groups and skills[] at most twenty, which are the source's limits rather than ours. A profile showing exactly ten groups may be truncated, so page the remainder from GET /v1/people/experiences, starting at offset 10 and reading its total for the true employer count. Each page is 1 credit whatever its size.

Map a person record in an afternoon

The guide walks the whole path: slug in, stored row out.