# /job1111/jobs/search

`POST /api/job1111/jobs/search`

Price: 10 credits

Search 1111 jobs by keyword with region, industry, job position, job type, update age, education, experience, salary, shift, company size, remote and dispatch filters: jobs with company, location, salary, requirements, benefits, applicant count and views

## How to use it

1111 serves at most the first 4500 matches of a query, so narrow with region or industry codes to reach more. Salaries are in TWD.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `count` (integer, required) — Max number of jobs to return (min: 1; max: 4500)
- `keyword` (string, nullable) — Search keyword (examples: "python"; minLength: 1; maxLength: 50)
- `sort` (string) — Result ordering (default: "relevance"; one of: "relevance", "newest", "salary", "experience", "region")
- `region_codes` (array, nullable) — 1111 region codes (examples: ["100100"], ["100100","100200"])
- `industry_codes` (array, nullable) — 1111 industry codes (examples: ["100300"])
- `job_position_codes` (array, nullable) — 1111 job position codes (examples: ["140100"])
- `job_types` (array, nullable) — Job types (one of: "full_time", "part_time", "student_worker", "senior")
- `posted_within` (string, nullable) — Update age (one of: "today", "3_days", "1_week", "2_weeks")
- `education` (string, nullable) — Education level (one of: "junior_high_or_below", "high_school", "junior_college", "university", "master", "doctorate")
- `experience` (string, nullable) — Required work experience (one of: "no_experience", "under_1_year", "1_to_3_years", "3_to_5_years", "5_to_10_years", "over_10_years")
- `salary_type` (string, nullable) — Pay period the salary bounds apply to (one of: "monthly", "daily", "hourly", "yearly")
- `salary_min` (integer, nullable) — Minimum salary in TWD (min: 1)
- `salary_max` (integer, nullable) — Maximum salary in TWD (min: 1)
- `exclude_negotiable` (boolean) — Drop jobs with negotiable pay (default: false)
- `shifts` (array, nullable) — Work shifts (one of: "day", "evening", "night", "overnight", "holiday", "rotating", "no_rotation")
- `company_sizes` (array, nullable) — Company headcount bands (one of: "up_to_10", "11_to_50", "51_to_100", "101_to_500", "over_500")
- `remote_only` (boolean) — Only remote-capable jobs (default: false)
- `title_only` (boolean) — Match the keyword in job titles only (default: false)
- `exclude_dispatch` (boolean) — Drop staffing-agency dispatch jobs (default: false)
- `exclude_keyword` (string, nullable) — Drop jobs matching this keyword (examples: "業務"; minLength: 1)

## Response

### 200 — Successful Response

- `@type` (string) (default: "Job1111Job")
- `id` (string, required)
- `url` (string, nullable)
- `description` (string, nullable)
- `company_id` (string, nullable)
- `company_name` (string, nullable)
- `company_url` (string, nullable)
- `company_logo` (string, nullable)
- `industry_code` (string, nullable)
- `industry` (string, nullable)
- `location_code` (string, nullable)
- `location` (string, nullable)
- `mrt_station_code` (string, nullable)
- `mrt_distance_m` (integer, nullable)
- `mrt_walk_seconds` (integer, nullable)
- `job_type` (string, nullable)
- `salary` (string, nullable)
- `salary_type` (string, nullable)
- `salary_min` (integer, nullable)
- `salary_max` (integer, nullable)
- `is_paid_daily` (boolean, nullable)
- `experience_code` (string, nullable)
- `education_levels` (array) (default: [])
- `major_codes` (array) (default: [])
- `driving_license_codes` (array) (default: [])
- `certificate_codes` (array) (default: [])
- `internship_codes` (array) (default: [])
- `reminder_codes` (array) (default: [])
- `benefit_codes` (array) (default: [])
- `highlighted_benefits` (array) (default: [])
  - `@type` (string) (default: "Job1111Benefit")
  - `code` (string, nullable)
  - `name` (string, nullable)
- `company_tag_codes` (array) (default: [])
- `is_happy_company` (boolean, nullable)
- `is_top` (boolean, nullable)
- `has_media` (boolean, nullable)
- `reply_in_days` (integer, nullable)
- `applicant_count` (integer, nullable)
- `applicants_range` (string, nullable)
- `view_count` (integer, nullable)
- `updated_at` (integer, nullable)

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: 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 entity was not found, or a precondition failed

What to do: 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

What to do: 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

What to do: 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

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-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.

