- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
Name, headline, location, about, followers, experience, education, skills, courses, recommendations, articles, recent public posts and similar profiles. LinkedIn sometimes turns requests away: those answer upstream_blocked (free) and are worth retrying. A member who hides the public profile looks the same as a refused request, so a profile that keeps answering upstream_blocked may have no public page.
You send url.
Part of the LinkedIn Scraper API: 8 LinkedIn endpoints on one key.
Request
Send your key in the x-api-key header.
1curl -G "https://api.socialscrape.dev/v1/linkedin/profile" \2 -H "x-api-key: $SOCIALSCRAPE_API_KEY" \3 --data-urlencode 'url=https://www.linkedin.com/in/williamhgates'1import os2import requests34params = {5 "url": "https://www.linkedin.com/in/williamhgates",6}7res = requests.get(8 "https://api.socialscrape.dev/v1/linkedin/profile",9 headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},10 params=params,11 timeout=60,12)13body = res.json()1415if body["ok"]:16 print(body["data"])17else:18 print(body["error"]["code"], body["error"]["message"])1const url = new URL("https://api.socialscrape.dev/v1/linkedin/profile");2url.search = new URLSearchParams({3 url: "https://www.linkedin.com/in/williamhgates",4}).toString();5const res = await fetch(url, {6 headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },7});8const body = await res.json();910if (body.ok) {11 console.log(body.data);12} else {13 console.error(body.error.code, body.error.message);14}1{2 "nodes": [3 {4 "name": "SocialScrape LinkedIn public person profile",5 "type": "n8n-nodes-base.httpRequest",6 "typeVersion": 4.2,7 "position": [8 0,9 010 ],11 "parameters": {12 "method": "GET",13 "url": "https://api.socialscrape.dev/v1/linkedin/profile",14 "sendQuery": true,15 "queryParameters": {16 "parameters": [17 {18 "name": "url",19 "value": "https://www.linkedin.com/in/williamhgates"20 }21 ]22 },23 "sendHeaders": true,24 "headerParameters": {25 "parameters": [26 {27 "name": "x-api-key",28 "value": "={{ $env.SOCIALSCRAPE_API_KEY }}"29 }30 ]31 }32 }33 }34 ],35 "connections": {}36}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | url | yes | Profile URL (linkedin.com/in/<slug>). |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are examples, not your data.
1{2 "ok": true,3 "credits_charged": 1,4 "credits_remaining": 4999,5 "cached": false,6 "cached_at": null,7 "request_id": "req_7e6d1a42ebdb96f2c68b8c0e",8 "data": {9 "object": "profile",10 "platform": "linkedin",11 "id": "williamhgates",12 "handle": "williamhgates",13 "name": "Bill Gates",14 "headline": "Chair, Gates Foundation and Founder, Breakthrough Energy",15 "url": "https://www.linkedin.com/in/williamhgates",16 "kind": "person",17 "bio": "Chair of the Gates Foundation. Founder of Breakthrough Energy. Co-founder of Microsoft. Voracious reader. Avid traveler. Active blogger.",18 "avatar_url": "https://media.licdn.com/dms/image/v2/D5603AQF-RYZP55jmXA/profile-displayphoto-shrink_200_200/B56ZRi8g.aGsAY-/0/1736826818802?e=2147483647&v=beta&t=bKWfN6Uwwt...",19 "banner_url": "https://media.licdn.com/dms/image/v2/D5616AQEjhPbTCeblYg/profile-displaybackgroundimage-shrink_200_800/B56ZcytR5SGsAc-/0/1748902420393?e=2147483647&v=beta&t=...",20 "verified": null,21 "is_private": null,22 "external_url": "https://gatesnot.es/sourcecode-li",23 "links": [24 {25 "title": "Blog",26 "url": "https://gatesnot.es/sourcecode-li"27 }28 ],29 "location": "Seattle, Washington, United States",30 "category": null,31 "created_at": null,32 "stats": {33 "followers": 40766396,34 "following": null,35 "posts": null,36 "likes": null,37 "views": null38 },39 "extra": {40 "articles": [41 {42 "comments": 449,43 "image_url": "https://media.licdn.com/dms/image/v2/D4E12AQGy6pQI3vMmVQ/article-cover_image-shrink_720_1280/B4EaFumG73HoAQ-/0/1792856849611?e=2147483647&v=beta&t=2QmmumsGYg...",44 "likes": 2870,45 "published_at": "2026-10-24T15:54:10Z",46 "summary": "I’ve been following the fight against polio almost daily for more than two decades, ever since I got involved in the…",47 "title": "6 things you should know on World Polio Day",48 "url": "https://www.linkedin.com/pulse/6-things-you-should-know-world-polio-day-bill-gates-ycree"49 },50 {51 "comments": 652,52 "likes": 4073,53 "published_at": "2026-10-12T20:10:59Z",54 "summary": "When I was growing up in Seattle, planes were everywhere. Boeing was the biggest employer in the area, and it felt like…",55 "title": "For an affordable climate win, look to the sky",56 "url": "https://www.linkedin.com/pulse/affordable-climate-win-look-sky-bill-gates-eoj7e"57 },58 {59 "comments": 509,60 "image_url": "https://media.licdn.com/dms/image/v2/D4E12AQFwjr3EOC2slQ/article-cover_image-shrink_720_1280/B4EaCvyLnRKAAQ-/0/1789655564567?e=2147483647&v=beta&t=LlizryNgZ1...",61 "likes": 2993,62 "published_at": "2026-09-17T15:18:20Z",63 "summary": "Explore the full 2026 Goalkeepers Report Earlier this year, I met Gaudence Ngendahayo, a community health worker in…",64 "title": "AI, equity, and the choice we can’t delay",65 "url": "https://www.linkedin.com/pulse/ai-equity-choice-we-cant-delay-bill-gates-d1gte"66 }67 ],68 "badges": [69 "Creator",70 "Top Voice"71 ],72 "connections": "8",73 "connections_count": 8,74 "current_companies": [75 "Gates Foundation"76 ],77 "education": [78 {79 "end_year": 1975,80 "school": "Harvard University",81 "school_url": "https://www.linkedin.com/school/harvard-university/",82 "start_year": 197383 },84 {85 "school": "Lakeside School",86 "school_url": "https://www.linkedin.com/school/lakeside-school/"87 }88 ]89 }90 },91 "cursor": null,92 "has_more": null93}Fields
One Profile in data.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "profile" | ||
platform | Platform | yes | |
id | string or null | ||
handle | string or null | ||
name | string or null | ||
headline | string or null | a short tagline apart from the bio (LinkedIn's headline) | |
url | string or null | ||
kind | "person" or "creator" or "channel" or "page" or "company" or "artist" or "organization" or "shop" or "unknown" | ||
bio | string or null | ||
avatar_url | string or null | ||
banner_url | string or null | ||
verified | boolean or null | ||
is_private | boolean or null | ||
external_url | string or null |
Show the other 6 fields
| Field | Type | Always | Notes |
|---|---|---|---|
links | Link[] or null | ||
location | string or null | ||
category | string or null | ||
created_at | string (ISO 8601 date-time) or null | ||
stats | ProfileStats | ||
extra | object or null |
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry), upstream_blocked (retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
Is there an SDK call for it?
The Python client has client.linkedin.profile(...) and the TypeScript client client.linkedin.profile(). Both return the same envelope as the HTTP API. Install them from PyPI (socialscrape-sdk) or npm (socialscrape); plain HTTP works in any language.
Can an AI agent call it?
Yes. The MCP server, which you run on your own machine, reaches every built endpoint, with the same prices.