1. Platforms
  2. LinkedIn Scraper API
  3. LinkedIn public person profile API

LinkedIn public person profile API

What LinkedIn shows on a profile page.

GET api.socialscrape.dev/v1/linkedin/profile

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'

Parameters

NameTypeRequiredDescription
urlurlyesProfile 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.

200 OKSample response
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.

FieldTypeAlwaysNotes
object"profile"
platformPlatformyes
idstring or null
handlestring or null
namestring or null
headlinestring or nulla short tagline apart from the bio (LinkedIn's headline)
urlstring or null
kind"person" or "creator" or "channel" or "page" or "company" or "artist" or "organization" or "shop" or "unknown"
biostring or null
avatar_urlstring or null
banner_urlstring or null
verifiedboolean or null
is_privateboolean or null
external_urlstring or null
Show the other 6 fields
FieldTypeAlwaysNotes
linksLink[] or null
locationstring or null
categorystring or null
created_atstring (ISO 8601 date-time) or null
statsProfileStats
extraobject 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.