LinkedIn job posting API
One LinkedIn job posting: title, company, location, when it was posted, applicants, salary range when the employer gives one, seniority, employment type, function, industries and the full description.
GET /v1/linkedin/jobs/{job}Beta5 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/linkedin/jobs/4489341291",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 5 credits{ "job_id": "4489341291", "url": "https://www.linkedin.com/jobs/view/software-engineer-container-infrastructure-technical-leadership-at-meta-4489341291", "title": "Software Engineer, Container Infrastructure (Technical Leadership)", "company": "Meta", "company_url": "https://www.linkedin.com/company/meta", "location": "Bellevue, WA", "posted_text": "1 week ago", "applicants_text": "Be among the first 25 applicants", "salary": "$219,000.00/yr - $301,000.00/yr", "seniority_level": "Not Applicable", "employment_type": "Full-time", "job_function": null, "industries": "Technology, Information and Internet", "criteria": { "Seniority level": "Not Applicable", "Employment type": "Full-time", "Industries": "Technology, Information and Internet" }, "description_text": "Meta's container platform runs a large share of the services that power Facebook, Instagram, WhatsApp, Messenger, and Me…", "description_html": "Meta's container platform runs a large share of the services that power Facebook, Instagram, WhatsApp, Messenger, and Me…"}Parameters
| Name | Type | Description |
|---|---|---|
jobpath · required | string | The job id or its URL (linkedin.com/jobs/view/…). Example: 4489341291. |
Response fields
200 with a LinkedInJob, in LinkedIn’s own schema.org JSON-LD, with the rest of the public page beside it.
| Field | Type | Description |
|---|---|---|
job_id | string | |
url | string | |
title | string | |
company | string | null | |
company_url | string | null | |
location | string | null | |
posted_text | string | null | As shown, e.g. "1 week ago". |
applicants_text | string | null | |
salary | string | null | |
seniority_level | string | null | |
employment_type | string | null | |
job_function | string | null | |
industries | string | null | |
criteria | object | |
description_text | string | null | |
description_html | string | null |
Status codes
| Status | Meaning |
|---|---|
200 | The job posting. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | LinkedIn has no such public page, or it was removed. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | LinkedIn is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
What if the job was closed?
A missing, removed or hidden page answers an error (404 target_not_found, or 503 upstream_unavailable when LinkedIn turned every visit away) and is never charged.
LinkedIn is a trademark of LinkedIn Corporation. We are not affiliated with or endorsed by LinkedIn.