Docs / Search
search_linkedin_jobs
Search job listings on LinkedIn, with each LinkedIn filter as its own typed input.
This action only reads. It changes nothing, so it is safe to try.
What you give it
| Input | What it is | Where to get it |
|---|---|---|
keywordsoptional | Text. Words to search for. | You write it. |
sortByoptional | One of: relevance, date. Order (default relevance). | You write it. |
datePostedoptional | A number. Posted within this many days. | You write it. |
regionoptional | A search filter id. A country or region: an id from lookup_search_ids type LOCATION. | run lookup_search_ids with type LOCATION, and use matches[].id from its answer. |
locationoptional | A search filter id. Places: ids from lookup_search_ids type LOCATION. | run lookup_search_ids with type LOCATION, and use matches[].id from its answer. |
locationWithinAreaoptional | A number. Miles around the location. | You write it. |
industryoptional | A search filter id. Industries: ids from lookup_search_ids type INDUSTRY. | run lookup_search_ids with type INDUSTRY, and use matches[].id from its answer. |
seniorityoptional | A list (one of: executive, director, mid_senior, associate, entry, intern). Experience levels. | You write it. |
functionoptional | A search filter id. Job functions: ids from lookup_search_ids type JOB_FUNCTION. | run lookup_search_ids with type JOB_FUNCTION, and use matches[].id from its answer. |
roleoptional | A search filter id. Job titles: ids from lookup_search_ids type JOB_TITLE. | run lookup_search_ids with type JOB_TITLE, and use matches[].id from its answer. |
jobTypeoptional | A list (one of: full_time, part_time, contract, temporary, volunteer, internship, other). Job types. | You write it. |
companyoptional | A search filter id. Companies: ids from lookup_search_ids type COMPANY. | run lookup_search_ids with type COMPANY, and use matches[].id from its answer. |
presenceoptional | A list (one of: on_site, hybrid, remote). On site, hybrid or remote. | You write it. |
easyApplyoptional | True or false. Only Easy Apply jobs. | You write it. |
hasVerificationsoptional | True or false. Only jobs with verifications. | You write it. |
under10Applicantsoptional | True or false. Only jobs with fewer than 10 applicants. | You write it. |
inYourNetworkoptional | True or false. Only jobs at companies where you know someone. | You write it. |
fairChanceEmployeroptional | True or false. Only fair-chance employers. | You write it. |
benefitsoptional | A list (one of: medical_insurance, vision_insurance, dental_insurance, disability_insurance, 401(k), pension_plan, paid_maternity_leave, paid_paternity_leave, commuter_benefits, student_loan_assistance, tuition_assistance). Benefits offered. | You write it. |
commitmentsoptional | A list (one of: career_growth_and_learning, diversity_equity_and_inclusion, environmental_sustainability, social_impact, work_life_balance). Company commitments. | You write it. |
minimumSalaryoptional | A group of fields. Lowest yearly salary, in thousands: one of LinkedIn's own steps for that currency.What goes inside
| You write it. |
limitoptional | A number, 1 to 50. How many to return (1–50, default 10). | You write it. |
cursoroptional | A cursor. nextCursor from the previous call, to get the next page. Keep the other arguments the same. | The nextCursor from the last answer of search_linkedin_jobs. |
connectionIdoptional | A connection id. Which of your LinkedIn accounts to act from (its id from list_linkedin_accounts). Omit to use your first live one. | Run list_linkedin_accounts and use accounts[].id from its answer.15 more places to get it
|
Call it
curl -X POST https://api.heyreagent.com/v1/actions/search_linkedin_jobs \
-H "Authorization: Bearer YOUR_KEY" \
-H "content-type: application/json" \
-d '{"keywords":"software engineer"}'The same call in JavaScript
const response = await fetch("https://api.heyreagent.com/v1/actions/search_linkedin_jobs", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_KEY",
"content-type": "application/json",
},
body: JSON.stringify({
"keywords": "software engineer"
}),
});
const answer = await response.json();
console.log(answer);The same call in Python
import requests
response = requests.post(
"https://api.heyreagent.com/v1/actions/search_linkedin_jobs",
headers={"Authorization": "Bearer YOUR_KEY"},
json={
"keywords": "software engineer",
},
)
print(response.json())The same call in n8n
Add an HTTP Request node and fill it in like this:
| Method | POST |
| URL | https://api.heyreagent.com/v1/actions/search_linkedin_jobs |
| Send Headers | On. Name Authorization, Value Bearer YOUR_KEY |
| Send Body | On. Body Content Type JSON, Specify Body Using JSON, then paste the body below |
{
"keywords": "software engineer"
}Put your own key where it says YOUR_KEY. New here? Start with your first call.
What you get back
When it worked, the answer is { "ok": true, "result": { … } }. Inside result:
returned | number |
nextCursor | A cursor. Other actions take it. |
results[].type | JOB |
results[].id | string |
results[].referenceId | string |
results[].title | string |
results[].location | string or null |
results[].postedAt | any or null |
results[].reposted | boolean |
results[].url | string |
results[].promoted | boolean |
results[].benefits | string[] |
results[].easyApply | boolean |
A field that does not apply to an answer is left out, or is null. There are 5 more fields nested inside these.
When it did not work, the answer is { "ok": false, "error": "…", "message": "…" }. What each error means.
Good to know
- At most 50 rows per call: LinkedIn's page size for this search.
- LinkedIn returns at most 1,000 rows for one search; narrow the filters to reach the rest.
- A row's id is a public job listing. The job-posting actions here act on your OWN postings and are not documented to take it.
In Claude or ChatGPT
Once connected, ask in your own words. The assistant sees this action as a tool with the same name, search_linkedin_jobs, and the same inputs.