LinkedIn has no API for other people’s profiles: self-serve access covers only the signed-in member’s own basics, and everything else is a partner programme. A data API reads what LinkedIn shows logged-out visitors. One GET returns a public profile with headline, experience, education and followers, 5 credits.
The official LinkedIn API
LinkedIn’s open APIs are about the signed-in member; the rest are partner programmes.
- Sign In with LinkedIn (OpenID Connect) returns the member’s own name, headline, photo and email; Share on LinkedIn posts for them. Any developer can self-serve these.
- Marketing, Sales Navigator, Talent and Learning APIs need LinkedIn’s approval as a partner. There is no API for looking up other people’s profiles.
- The Job Posting API is for applicant-tracking partners posting jobs, not reading them.
Sources: Getting access to LinkedIn APIs, Sign In with LinkedIn.
Quick start
- Get a keySign up with an email code: 100 free credits, no card. An agent can sign itself up with
POST https://api.groundsocial.dev/v1/agent/signup. - Set it in your shell
export GROUNDSOCIAL_API_KEY=gs_live_… - Make the callA public profile:
GET /v1/linkedin/profiles/williamhgates, 5 credits.
curl "https://api.groundsocial.dev/v1/linkedin/profiles/williamhgates" \
-H "Authorization: Bearer $GROUNDSOCIAL_API_KEY"Sample response
Trimmed from the real response on 27 November 2026: lists cut to their first items and long strings shortened. Every field is described in the tutorial.
{
"public_identifier": "williamhgates",
"url": "https://www.linkedin.com/in/williamhgates",
"member_urn": "urn:li:member:251749025",
"name": "Bill Gates",
"first_name": "Bill",
"last_name": "Gates",
"headline": "Chair, Gates Foundation and Founder, Breakthrough Energy",
"location": "Seattle, Washington, United States",
"country": "US",
"about": "Chair of the Gates Foundation. Founder of Breakthrough Energy. Co-founder of Microsoft. Vo…",
"followers_count": 40858641,
"connections": "8",
"current_companies": [
"Gates Foundation"
],
"experience": [
{
"title": "Co-chair",
"company": "Gates Foundation",
"company_url": "https://www.linkedin.com/company/gates-foundation",
"date_range": "2000 - Present 26 years"
}
]
}Get every page
/v1/linkedin/jobs returns jobs a page at a time, and each page costs 5 credits. Pass the response’s after back as after until it runs out.
// Collect up to 3 pages of jobs.
const first = 'https://api.groundsocial.dev/v1/linkedin/jobs?keywords=data%20engineer&location=London&date_posted=past_week'
const items: unknown[] = []
let cursor: string | undefined
for (let page = 0; page < 3; page++) {
const url = new URL(first)
if (cursor) url.searchParams.set('after', cursor)
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.GROUNDSOCIAL_API_KEY}` },
})
if (!res.ok) throw new Error((await res.json()).error.hint)
const data = await res.json()
items.push(...(data.data ?? []))
cursor = data.after ?? undefined
if (!cursor) break
}
console.log(items.length, 'jobs')What else you can get from LinkedIn
| What you get | Endpoint | Credits |
|---|---|---|
| A public profile | GET /v1/linkedin/profiles/williamhgates | 5 |
| A company page | GET /v1/linkedin/companies/microsoft | 5 |
| A company’s posts | GET /v1/linkedin/companies/microsoft/posts | 5 |
| Job postings, 10 a page | GET /v1/linkedin/jobs | 5 |
| One posting in full | GET /v1/linkedin/jobs/4476983365 | 5 |
| Find companies | GET /v1/linkedin/search/companies | 1 |
Each row links to its tutorial. Every LinkedIn endpoint and price: LinkedIn API.
Tips
- Pass the part after
/in/or the whole profile URL. - People search is shown only to signed-in members, so start from a list of profile URLs or a company page.
- Track one company’s hiring: pass its
organization_idascompany_idto job search withdate_posted=past_24_hours, daily.
Use it from Claude or Cursor (MCP)
Every endpoint is also an MCP tool on the remote server https://api.groundsocial.dev/mcp. The ?platforms=linkedin below loads only the LinkedIn tools. The client signs in with OAuth, or send your key as a Bearer token. Tools used in this guide: linkedin_profile_get, linkedin_jobs_search, linkedin_company_get, linkedin_company_posts, linkedin_job_get, linkedin_search_companies.
claude mcp add --transport http groundsocial "https://api.groundsocial.dev/mcp?platforms=linkedin"Setup for ChatGPT, VS Code, Windsurf, n8n and others: MCP client setup.
Pricing
Pay per call from prepaid credits; no subscription. 100 free credits cover the examples on this page. Costs below are at the credit packs’ highest and lowest rates.
| Job | Credits | Cost |
|---|---|---|
| Enrich 1,000 profiles | 5,000 | $5.00 → $2.00 |
| 200 companies with their posts | 2,000 | $2.00 → $0.80 |
| 1,000 job postings (100 pages) | 500 | $0.50 → $0.20 |
FAQ
Do I get emails or phone numbers?
No. Only what the public profile page shows. We don’t enrich contact details.
What if a profile is hidden?
Members can hide their public profile; then the call answers 404 target_not_found and is not charged.
Are failed calls charged?
No. A target that does not exist answers 404 target_not_found, an upstream failure answers 503, and neither costs anything. Credits never expire.
Is Groundsocial official?
No. Groundsocial is an independent API that reads what the platform shows a logged-out visitor. LinkedIn is a trademark of LinkedIn Corporation. We are not affiliated with or endorsed by LinkedIn.
Go deeper
- LinkedIn tutorials: 12 endpoints in six languages
- How do I scrape LinkedIn legally?
- Does LinkedIn have a public API?
- Proxycurl alternatives
- Lead generation API
Related guides
LinkedIn is a trademark of LinkedIn Corporation. We are not affiliated with or endorsed by LinkedIn.
Try it on your own data
One key for LinkedIn and every other platform, over REST or MCP. Free credits on signup, no card.