JobSpy
v1.5.0Search LinkedIn, Indeed, ZipRecruiter, Glassdoor and regional job boards
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_jobs Search jobs
Search job boards once and return a short preview of each job plus a search_id. Previews leave out the description, company details and other extra fields, and any field a board did not give. jobs shows up to 25 previews per board, newest first, while counts are totals; use save_to for the full set of a larger search, and offset to page a board. Boards often fail without a proxy, so ask each board for the full number you need. Boards that failed or changed the search are named in errors or warnings, beside the other boards' jobs. When every board fails, the call is an error with each board's…
| Parameter | Type | Description |
|---|---|---|
ca_cert | Path of a CA bundle for the proxy. | |
country_indeed | string | Indeed, Glassdoor and SEEK country, e.g. 'uk'. |
description_format | Format of description text. | |
distance | integer | Miles from location. |
easy_apply | boolean | Only jobs applied for on the board itself. |
enforce_annual_salary | boolean | Convert hourly, daily, weekly and monthly pay to yearly. |
fetch_description | boolean | Also read each job's page for its description. Only Indeed returns descriptions with the search; elsewhere this adds a request per job, is slower and is blocked more often. |
hours_old | Posted in the last N hours. | |
is_remote | boolean | Remote jobs only. |
job_type | Employment type. | |
linkedin_company_ids | LinkedIn company ids to restrict a LinkedIn search to. | |
location | City, state or country. | |
offset | integer | Skip the first N results of each board. |
proxies | Proxy URLs to rotate, e.g. http://user:pass@host:port; one URL or a list. | |
results_wanted | integer | Per board. |
save_to | Also save every record of this search to this file: .csv, .json or .jsonl by name. | |
search_term | Keywords, e.g. 'nurse'. | |
site_name | Boards to search. Default: indeed, linkedin, zip_recruiter, glassdoor. Regional: bayt (Middle East), naukri (India), bdjobs (Bangladesh), hellowork (France), seek (SEEK, JobStreet and Jobsdb; set the… | |
user_agent | User-Agent header to send. |
get_job_details Get job details
Return the full records of jobs from a search_jobs call, without new requests. Pass that call's search_id and the job ids you want from its jobs[].id; call again for more. Records have every field the board gave: the preview fields plus description, job_url_direct, emails, skills, company details and more. Only Indeed records have a description unless the search set fetch_description. A record with a description is often 600 to 1,900 tokens. Ids not in the search are listed in not_found. Searches are kept for this server session, the last 20 only; an older or unknown search_id is an error, an…
| Parameter | Type | Description |
|---|---|---|
job_ids * | array | Its jobs[].id. |
search_id * | string | The search_id from search_jobs. |