# 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 条结果

## 各 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`
