LinkedIn Scraper API
LinkedIn profiles, company pages, posts and Ad Library ads as JSON, for developers who cannot wait on a LinkedIn partner approval. Refused requests are free.
100 free credits. No card needed.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_7e6d1a42ebdb96f2c68b8c0e",
"data": {
"object": "profile",
"platform": "linkedin",
"id": "williamhgates",
"handle": "williamhgates",
"name": "Bill Gates",
"headline": "Chair, Gates Foundation and Founder, Breakthrough Energy",
"url": "https://www.linkedin.com/in/williamhgates",
"kind": "person",
"bio": "Chair of the Gates Foundation. Founder of Breakthrough Energy. Co-founder of Mic...",
"avatar_url": "https://media.licdn.com/dms/image/v2/D5603AQF-RYZP55jmXA/profile-displayphoto-sh...",
"banner_url": "https://media.licdn.com/dms/image/v2/D5616AQEjhPbTCeblYg/profile-displaybackgrou...",
"verified": null,
"is_private": null,
"status": null
...
},
"cursor": null,
"has_more": null
}{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_c2a9549407c4fc6e60c04ea1",
"data": {
"object": "list",
"items": [
{
"object": "post",
"platform": "linkedin",
"id": "7521597347424915456",
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7521597347424915456",
"type": "video",
"author": { ... },
"title": null,
"text": "We spend a lot of time talking about artificial intelligence. But we can’t lose...",
"published_at": "2026-10-29T15:42:32.147000Z",
"duration_seconds": null,
"language": null,
"hashtags": null,
"mentions": null,
"stats": { ... }
...
},
{
"object": "post",
"platform": "linkedin",
"id": "7521355928982634496",
"url": "https://www.linkedin.com/posts/microsoft_msignite-activity-7521355928982634496-c...",
"type": "live",
"author": { ... },
"title": null,
"text": "Ready for what's next? Microsoft Chairman and CEO Satya Nadella will take the st...",
"published_at": "2026-10-28T23:43:13.504000Z",
"duration_seconds": null,
"language": null,
"hashtags": [ ... ],
"mentions": null,
"stats": { ... }
...
}
],
"cursor": null,
"has_more": false,
"parent": null
},
"cursor": null,
"has_more": false
}{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_6910d396e73caad5b83c65d1",
"data": {
"object": "transcript",
"platform": "linkedin",
"video_id": "7520503284458147840",
"url": "https://www.linkedin.com/posts/microsoft_activity-7520503284458147840-j1lE",
"language": "en",
"source": "auto_captions",
"duration_seconds": 112,
"text": "Everywhere I go I don't find people saying oh can you please make an AI model mo...",
"segments": [
{
"start": 0.13,
"end": 3.158,
"text": "Everywhere I go I don't find people saying oh can you"
},
{
"start": 3.158,
"end": 6.02,
"text": "please make an AI model more powerful?"
}
...
],
"available_languages": null,
"extra": {
"captions_format": "srt"
}
},
"cursor": null,
"has_more": null
}{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_f73f6d8a73de5b3aee83485a",
"data": {
"object": "list",
"items": [
{
"object": "ad",
"platform": "linkedin",
"id": "1662766106",
"url": "https://www.linkedin.com/ad-library/detail/1662766106",
"advertiser": { ... },
"status": "unknown",
"started_at": null,
"ended_at": null,
"title": "Make each Microsoft 365 Business Premium opportunity a security conversation",
"body": "Every Microsoft 365 Business Premium opportunity can open a broader security con...",
"cta_text": null,
"landing_url": null,
"format": "image",
"media": { ... }
...
},
{
"object": "ad",
"platform": "linkedin",
"id": "1662299216",
"url": "https://www.linkedin.com/ad-library/detail/1662299216",
"advertiser": { ... },
"status": "unknown",
"started_at": null,
"ended_at": null,
"title": "Empiece su prueba de Azure",
"body": "Conecte dispositivos y datos de forma segura por defecto para que pueda enfocars...",
"cta_text": null,
"landing_url": null,
"format": "video",
"media": { ... }
...
}
],
"cursor": "eyJrIjoibGlhZHMiLCJ0IjoiMTY2MjEwODk1Ni0xNzkzMTMzODIzOTk4In0",
"has_more": true,
"parent": null
},
"cursor": "eyJrIjoibGlhZHMiLCJ0IjoiMTY2MjEwODk1Ni0xNzkzMTMzODIzOTk4In0",
"has_more": true
}{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_0d0502c11822062d20778ec8",
"data": {
"object": "ad",
"platform": "linkedin",
"id": "1662766106",
"url": "https://www.linkedin.com/ad-library/detail/1662766106",
"advertiser": {
"object": "advertiser",
"platform": "linkedin",
"id": "3634496",
"name": "Microsoft AI Cloud Partner Program",
"url": "https://www.linkedin.com/company/3634496",
"page_id": null,
"country": null,
"verified": null,
"ad_count": null,
"extra": null
},
"status": "unknown",
"started_at": null,
"ended_at": null,
"title": "Make each Microsoft 365 Business Premium opportunity a security conversation",
"body": "Every Microsoft 365 Business Premium opportunity can open a broader security con...",
"cta_text": null,
"landing_url": null,
"format": null,
"media": {
"thumbnail_url": null,
"video_url": null,
"audio_url": null,
"image_urls": [
"https://media.licdn.com/dms/image/v2/D4E10AQHgdQBe1y_lsQ/image-shrink_1280/B4EaF..."
],
"width": null,
"height": null
}
...
},
"cursor": null,
"has_more": null
}10 endpoints. One key.
Profiles
2 endpointsPosts and videos
2 endpointsTranscripts
1 endpointSearch and trends
3 endpoints- LinkedIn Ad Library searchGET /v1/linkedin/ad-library/searchSearch the LinkedIn Ad Library by company name, company id or keyword (give at least one).
- LinkedIn job searchGET /v1/linkedin/jobs/searchJob ads from LinkedIn Jobs, newest-relevant first as LinkedIn orders them, 10 a page.
- LinkedIn post searchGET /v1/linkedin/search/postsPublic LinkedIn posts and Pulse articles that a web search has indexed for a query.
Ads
1 endpointWhat you get from LinkedIn
What you can build with LinkedIn data
Your first request.
Sign up
Your first 100 credits need no payment details.
Paste a profile link
Send a URL such as linkedin.com/in/williamhgates to the person profile endpoint.
Use the headline and reach
The headline, location and bio sit at the top level, with the follower count in stats.followers.
curl -G "https://api.socialscrape.dev/v1/linkedin/profile" \ -H "x-api-key: $SOCIALSCRAPE_API_KEY" \ --data-urlencode "url=https://www.linkedin.com/in/williamhgates"
import os
import requests
params = {
"url": "https://www.linkedin.com/in/williamhgates",
}
res = requests.get(
"https://api.socialscrape.dev/v1/linkedin/profile",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])
const url = new URL("https://api.socialscrape.dev/v1/linkedin/profile"); url.search = new URLSearchParams({ "url": "https://www.linkedin.com/in/williamhgates" }).toString(); const res = await fetch(url, { headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! }, }); const body = await res.json(); if (body.ok) { console.log(body.data); } else { console.error(body.error.code, body.error.message); }
The response. Sample values, in the shape every call returns.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_7e6d1a42ebdb96f2c68b8c0e",
"data": {
"object": "profile",
"platform": "linkedin",
"id": "williamhgates",
"handle": "williamhgates",
"name": "Bill Gates",
"headline": "Chair, Gates Foundation and Founder, Breakthrough Energy",
"url": "https://www.linkedin.com/in/williamhgates",
"kind": "person",
"bio": "Chair of the Gates Foundation. Founder of Breakthrough Energy. Co-founder of Mic...",
"avatar_url": "https://media.licdn.com/dms/image/v2/D5603AQF-RYZP55jmXA/profile-displayphoto-sh...",
"banner_url": "https://media.licdn.com/dms/image/v2/D5616AQEjhPbTCeblYg/profile-displaybackgrou...",
"verified": null,
"is_private": null,
"status": null
...
},
"cursor": null,
"has_more": null
}
Pay only for data you get.
Failed requests and cached repeats are free.
1,000 credits
$13 one time
Get an API key- $13.00 per 1,000 credits
- Credits never expire
- No subscription
25,000 credits
$55 one time
Get an API key- $2.20 per 1,000 credits
- Credits never expire
- No subscription
230,000 credits
$349 one time
Get an API key- $1.52 per 1,000 credits
- Credits never expire
- No subscription
Questions, answered.
About the LinkedIn API
How much does a LinkedIn scraper API cost?
Profiling 200 companies with a company page and their latest posts each takes 400 credits, about $0.88 at the Growth pack's rate. Each profile, company, post, search page or Ad Library call is 1 credit, with rates as low as $1.39 per 1,000, and 100 credits come free. See pricing.
How is it different from LinkedIn's own API?
LinkedIn's marketing, sales and talent APIs are for partners it has approved after an application, and the open products cover signing members in and sharing posts. They do not hand a stranger's profile or a company's page to any developer who asks. This API takes a profile or company link and returns what the page shows, with no approval to wait for.
Does it need a LinkedIn login?
No. A request carries your SocialScrape key, so none of your own LinkedIn sessions is involved.
What does upstream_blocked mean?
LinkedIn turned that request away. It costs nothing and is worth retrying. A member who hides their profile page looks the same as a refusal, so a profile that keeps answering upstream_blocked may have no page to read.
How many company posts can I read?
Up to 10, the latest posts and reposts, each with its URL, date, text, media, reactions and comment counts. That block is all the endpoint reads, so there is no second page and the cursor stays null.
How does the post search work?
It reads DuckDuckGo's results, not Google's, for posts and Pulse articles about your query, then opens each one for its full text, author, date and counts. It is best effort rather than complete, pages run only to 11, and date_posted narrows to a day, week, month or year.
Can I look up LinkedIn ads?
Yes. Search the Ad Library by company name, company id or keyword, with an optional country list. Custom dates need both a start and an end, inside the past year and ending no later than yesterday. Each ad opens on its own call. Get an API key and see which companies advertise to your buyers.
Start pulling social data.
100 free credits. No card needed.