POST /api/lagou/jobs/search
Price: 10 credits
Search Lagou job postings by keyword, city and district, with filters for education, work experience, the company's funding stage, employment type, company size, industry and campus recruitment; each job carries salary, requirements, full description, location, recruiter and hiring company.
Find tech and internet jobs in China; Lagou shows at most 45 results per query to visitors, so narrow with city, district and filters rather than raising count. Pass an id to lagou/jobs for the annual salary band and company products, or a company id to lagou/companies.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)keyword string required — Search keyword (examples: "Java"; minLength: 1; maxLength: 100)count integer required — Max number of jobs to return (min: 1; max: 45)city string nullable — City name in Chinese as the site lists it; omit for all of China (examples: "北京")district string nullable — District name in Chinese within the city; requires city (examples: "海淀区")education string nullable — Required education level (one of: "college", "bachelor", "master", "doctorate", "not_required")work_experience string nullable — Required work experience (one of: "student_or_graduate", "up_to_3_years", "three_to_five_years", "five_to_ten_years", "over_10_years", "not_required")finance_stage string nullable — Funding stage of the hiring company (one of: "unfunded", "angel", "series_a", "series_b", "series_c", "series_d_and_above", "listed", "no_funding_needed")job_nature string nullable — Employment type (one of: "full_time", "part_time", "internship")company_size string nullable — Hiring company's headcount band (one of: "under_15", "size_15_50", "size_50_150", "size_150_500", "size_500_2000", "over_2000")industry string nullable — Hiring company's primary industry (one of: "ecommerce", "auto_trading", "gaming", "tools", "software_services", "data_services", "it_services", "marketing_services", "ai_services")campus_only boolean — Only campus recruitment jobs (default: false)sort string — Result order (default: "default"; one of: "default", "newest")@type string (default: "LagouJob")id string requiredurl string requiredfull_title string nullablecategory string nullablesubcategory string nullablespecialty string nullableposition_type string nullableposition_category string nullabletags array (default: [])skills array (default: [])industry_tags array (default: [])perks array (default: [])salary string nullablesalary_min number nullablesalary_max number nullablesalary_months integer nullableannual_salary string nullablework_experience string nullableeducation string nullablejob_nature string nullableadvantage string nullabledescription string nullabledescription_html string nullabledepartment string nullableheadcount integer nullableprovince string nullablecity string nullabledistrict string nullablebusiness_areas array (default: [])address string nullablelatitude number nullablelongitude number nullablesubway_line string nullablesubway_station string nullablenearby_stations array (default: [])published_at integer nullablepublished_date string nullablerecruiter_last_login_at integer nullableis_campus boolean nullableis_expired boolean nullablerecruiter object nullable@type string (default: "LagouRecruiter")id string requiredname string nullableimage string nullablecompany object nullable@type string (default: "LagouJobCompany")id string requiredurl string requiredname string nullableshort_name string nullableimage string nullablesize string nullableindustry string nullablefinance_stage string nullablebenefits array (default: [])slogan string nullablewebsite string nullabledescription string nullableinvestors string nullableis_verified boolean nullableis_famous boolean nullableproducts array (default: [])@type string (default: "LagouProduct")name string requiredurl string nullabledescription string nullableimage string nullabletypes array (default: [])422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — The district is not listed for this city Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.