Get profile information
Fetch profile details using profile URL or URN. Consumes 1 credit, or 2 with fullProfile=true (the second credit when at least one of the two extra pages was read); 1 rate-limit unit either way.
Request
- Base URL: https://api.fetchin.io
- URL: https://api.fetchin.io/api/v1/profile
- Auth: API key in header X-API-Key
Query parameters
The professional profile to fetch. Accepts a profile URN (recommended for consistency, since a profile's public identifier can change over time while the URN does not; example urn:li:fsd_profile:ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc), a public identifier/slug (also fine; example williamhgates), or a full profile URL (example https://www.linkedin.com/in/williamhgates; a trailing slash is ignored). The slug is the last path segment of a profile URL, so pass just the slug, not the /in/ prefix.
Also read two further pages of the member's profile. The detailed experience page adds experiences[].workplaceType (where each role was performed, on the roles where the member stated it) and relatedProfiles (the profiles the source suggests alongside this one); the profile-details panel adds verifications (what the member has verified). Costs 2 credits instead of 1 and still 1 rate-limit unit. The second credit is charged when at least one of the two extra pages was read, and partial.sections then names whichever fields are missing; it costs 1 only when neither page could be read, and the rest of the profile is unaffected either way. An organization URL costs 1 (it has neither page). The balance is checked against 2 before the call runs, so with 1 credit left the call returns 402. The experience list is read up to 50 top-level entries (successive roles at one employer count as one); past that, partial.sections names workplaceType and retrying will not change it. Accepts true/1 and false/0 in any letter case; omitted or empty means false; any other value, or the parameter sent twice, returns 400 INVALID_PARAMETER at no cost.
Response
Successfully fetched profile
Example response
{
"id": "urn:li:fsd_profile:ACoAAABCDEF",
"experiences": [
{
"positionUrn": "urn:li:fsd_profilePosition:(ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc,392598211)",
"company": {
"companyId": "8736",
"urn": "urn:li:fsd_company:8736"
}
}
],
"educations": [
{
"educationUrn": "urn:li:fsd_profileEducation:(ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc,157656829)"
}
],
"currentPosition": {
"positionUrn": "urn:li:fsd_profilePosition:(ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc,392598211)",
"title": "Co-chair",
"name": "Gates Foundation",
"companyId": "8736",
"companyUrn": "urn:li:fsd_company:8736",
"publicIdentifier": "gates-foundation",
"url": "https://www.linkedin.com/company/gates-foundation/"
},
"currentSchool": {
"educationUrn": "urn:li:fsd_profileEducation:(ACoAABESIloBBibfTXhrzlOSTVNOHzLIIbQoDWw,363452424)",
"name": "ESILV - Ecole Supérieure d'Ingénieurs Léonard de Vinci",
"schoolId": "42867",
"schoolUrn": "urn:li:fsd_school:42867",
"companyId": "15142508",
"publicIdentifier": "esilvparis",
"url": "https://www.linkedin.com/school/esilvparis/"
},
"memberId": "251749025",
"birthDate": {
"month": 7,
"day": 4
},
"websites": [
{
"url": "https://www.gatesnotes.com"
}
],
"url": "https://www.linkedin.com/in/williamhgates/",
"pronoun": "she/her",
"relatedProfiles": [
{
"url": "https://www.linkedin.com/in/jane-doe/"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.