# Job

> 一條招聘職位：職位名、僱主、地點、型別、級別、薪資（有的話）和職位描述。

網頁版：https://okdata.online/zh/docs/objects/job/

所有平台同一種結構。平台沒有的欄位為 null，meta.unavailable 會說明原因。用 fields= 只取需要的欄位。

| 欄位 | 型別 | 說明 |
|---|---|---|
| `id` | string | 職位 ID，linkedin.jobs.get 直接用它。 |
| `url` | string | 職位頁面地址。 |
| `title` | string | 職位名稱。 |
| `company_id` | string \| null | 僱主公司 ID。 |
| `company_name` | string \| null | 僱主公司名稱。 |
| `company_url` | string \| null | 僱主公司主頁。 |
| `location` | string \| null | 工作地點，職位原文。 |
| `country` | string \| null | ISO 國家程式碼（有的話）。 |
| `employment_type` | string \| null | 全職、兼職、合同等，職位原文。 |
| `seniority` | string \| null | 資歷級別，職位原文。 |
| `remote` | boolean \| null | 是否遠端；職位沒寫時為 null。 |
| `posted_at` | string \| null | 釋出時間，ISO 8601，UTC（常只精確到天）。 |
| `applicants` | integer \| null | 已申請人數（有顯示的話）。 |
| `salary_min` | number \| null | 薪資下限（有的話）。 |
| `salary_max` | number \| null | 薪資上限（有的話）。 |
| `salary_currency` | string \| null | 薪資幣種。 |
| `salary_period` | string \| null | 薪資週期：小時、月、年等。 |
| `description` | string \| null | 職位描述；結果裡沒帶時為 null。 |
| `ext` | object | 平台特有欄位，只在 view=full 時返回。 |

## 返回 Job 的介面

- [LinkedIn 職位搜尋](https://okdata.online/zh/apis/linkedin/jobs/search/) (`linkedin.jobs.search`): $0.043/次 · 每頁約 10 條結果
- [LinkedIn 職位詳情](https://okdata.online/zh/apis/linkedin/jobs/get/) (`linkedin.jobs.get`): $0.043/次
- [LinkedIn 公司職位](https://okdata.online/zh/apis/linkedin/companies/jobs/list/) (`linkedin.companies.jobs.list`): $0.043/次 · 每頁約 10 條結果
- [Google 招聘搜尋](https://okdata.online/zh/apis/google/jobs/search/) (`google.jobs.search`): $0.008/次 · 每頁約 10 條結果

## 各 view 返回的欄位

每一級 view 都包含上一級的欄位。`view=compact` 最精簡；`full` 會在 `ext` 里加上平台特有欄位。

- compact：`id`, `url`, `title`, `company_id`, `company_name`, `location`, `employment_type`, `posted_at`
- standard：`company_url`, `country`, `seniority`, `remote`, `applicants`, `salary_min`, `salary_max`, `salary_currency`, `salary_period`, `description`
- full：`ext`
