JobSpy

v1.5.0
io.github.speedyapply/jobspy Checked 4 hours ago Published 10 days ago

Search 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…

ParameterTypeDescription
ca_certPath of a CA bundle for the proxy.
country_indeedstringIndeed, Glassdoor and SEEK country, e.g. 'uk'.
description_formatFormat of description text.
distanceintegerMiles from location.
easy_applybooleanOnly jobs applied for on the board itself.
enforce_annual_salarybooleanConvert hourly, daily, weekly and monthly pay to yearly.
fetch_descriptionbooleanAlso 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_oldPosted in the last N hours.
is_remotebooleanRemote jobs only.
job_typeEmployment type.
linkedin_company_idsLinkedIn company ids to restrict a LinkedIn search to.
locationCity, state or country.
offsetintegerSkip the first N results of each board.
proxiesProxy URLs to rotate, e.g. http://user:pass@host:port; one URL or a list.
results_wantedintegerPer board.
save_toAlso save every record of this search to this file: .csv, .json or .jsonl by name.
search_termKeywords, e.g. 'nurse'.
site_nameBoards 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_agentUser-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…

ParameterTypeDescription
job_ids *arrayIts jobs[].id.
search_id *stringThe search_id from search_jobs.