Bright Data / Get a LinkedIn job post
Bright Data tool brightdata-linkedin-job-post on looot: input fields, $0.0015 per result, output shape, and code to run it with curl, JavaScript or Python.
Returns a LinkedIn job post from its URL (linkedin.com/jobs/view/{id}) with Bright Data’s scraper. Send input, a list of objects with url; a job run takes url instead. Returns one record per URL: title, company, location, seniority, employment type, description, applicants and posting date. Slow targets can take a few minutes.
- Tool id:
brightdata-linkedin-job-post - Provider: Bright Data
- Job: Extract a job posting from a URL (
jobs.extract) - Price: $0.0015 per result. A call that fails at the provider costs $0.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
input |
array | yes | Records to collect, one object per URL |
format |
string | no | Always json |
Output
Shape of the run’s result, the expected shape, not yet checked against real answers:
{ snapshot_id } | [ { url, input, title_id, job_title, timestamp, apply_link, company_id, job_poster, base_salary, company_url, job_summary, company_logo, company_name, country_code, job_function, job_location, is_easy_apply, job_industries, job_posting_id, discovery_input, job_posted_date, job_posted_time, salary_standards, job_num_applicants, job_employment_type, job_seniority_level, application_availability, job_description_formatted } ]
Run it
Every call needs your API token in LOOOT_TOKEN; Sign in shows how to get one. Each run also needs a new idempotency key, so a retry never pays twice. With wait: 30 the answer comes back inline when the run ends within 30 seconds. Otherwise you get the running run back: poll GET /v1/runs/<runId>.
Example input with placeholder values:
curl -X POST "https://api.looot.ai/v1/runs" \
-H "Authorization: Bearer $LOOOT_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"endpointId":"brightdata-linkedin-job-post","input":{"input":[]},"wait":30}'const response = await fetch("https://api.looot.ai/v1/runs", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.LOOOT_TOKEN}`,
"Content-Type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({
endpointId: "brightdata-linkedin-job-post",
input: {
input: [],
},
wait: 30,
}),
});
const run = await response.json();
console.log(run.status, run.result);import os
import uuid
import requests
response = requests.post(
"https://api.looot.ai/v1/runs",
headers={
"Authorization": f"Bearer {os.environ['LOOOT_TOKEN']}",
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"endpointId": "brightdata-linkedin-job-post",
"input": {
"input": [],
},
"wait": 30,
},
timeout=90,
)
run = response.json()
print(run["status"], run.get("result"))To let looot pick among every provider of this job instead, send job:jobs.extract as endpointId; see the job page.