extractr docs
LinkedIn

Get a public profile

GET
/linkedin/get_profile

A public LinkedIn profile by vanity slug or URL — name, headline, about, location, follower count, current roles, employers and education. Sourced anonymously from the logged-out profile page; no login. Unknown slugs return 404.

Costs 3 credits per request.

Authorization

ApiKeyAuth
X-API-Key<token>

API key created in the extractr dashboard (ext_live_...). Also accepted as Authorization: Bearer.

In: header

Query Parameters

profile*string

Vanity slug (the /in/{slug} segment) or a full linkedin.com/in/ URL.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/linkedin/get_profile?profile=williamhgates"
{  "slug": "williamhgates",  "url": "https://www.linkedin.com/in/williamhgates",  "name": "Bill Gates",  "headline": "Chair, Gates Foundation and Founder, Breakthrough Energy",  "summary": "string",  "location": "Seattle, Washington, United States",  "country": "US",  "image": "string",  "followers": 40563000,  "connections": 500,  "job_titles": [    "Co-chair",    "Founder"  ],  "positions": [    {      "company": "Microsoft",      "company_url": "https://www.linkedin.com/company/microsoft",      "start_year": 1975,      "end_year": null    }  ],  "education": [    {      "school": "Harvard University",      "school_url": "https://www.linkedin.com/school/harvard-university/",      "start_year": 1973,      "end_year": 1975    }  ]}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}
{  "error": {    "code": "invalid_api_key",    "message": "The provided API key is invalid or has been revoked."  }}