# Xing 职位详情 API (xing.job_detail)

- Canonical page: [https://everyinfra.com/xing-api/job_detail](https://everyinfra.com/xing-api/job_detail?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "xing", "action": "job_detail", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

XING 职位详情按职位链接 `url` 读一条职位：职位名称、公司和公司主页、地点、薪酬区间和中位数、雇佣类型、职业层级、专业领域、行业、远程选项、公司规模、投递链接、有效期，以及 `kununu_rating` 雇主评分。它回答「这个岗位具体是什么条件、给多少钱、在哪里投」，适合德语区招聘市场的研究和岗位库补全。

`url` 要用 /jobs/ 开头的职位链接；/profile/ 开头的是会员档案链接，两种对象不可混用。职位搜索返回的字段和这里相同，所以已经有职位链接时直接读这一页，不必再去搜索。还没有链接、想按关键词找岗位时，用职位搜索。

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=xing&action=job_detail

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | job_detail 使用 /jobs/ 职位链接，profile 使用 /profile/ 会员档案链接；两种对象不可混用。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| company | 公司名称。 |
| company_url | 公司主页链接。 |
| location | 地理位置描述，原文透传，格式随平台而异。 |
| country | 国家或地区。可能是全称也可能是 ISO 代码，取决于平台，未归一。 |
| salary_min | 薪酬区间下限。 |
| salary_max | 薪酬区间上限。 |
| salary_median | 薪酬中位数。 |
| salary_currency | 薪酬币种。德语区岗位多为 EUR，比数字前先看它。 |
| employment_type | 雇佣类型（全职/兼职/合同工）。 |
| career_level | 职业层级（实习/专业人员/管理层等）。 |
| discipline | 专业领域分类，XING 的德语区职能体系。 |
| industry | 所属行业。 |
| remote_option | 远程办公选项。 |
| company_size | 公司规模区间。 |
| apply_url | 投递链接。 |
| valid_through | 岗位有效期截止日。 |
| keywords | 关键词标签。 |
| language | 内容语言代码（如 zh、en），由平台判定，可能不准。 |
| posted_at | 发布时间，ISO 8601 格式、UTC 时区（如 2026-08-07T12:34:56+00:00）。平台只给非标准字符串时原样透传，解析前建议做容错。null 表示平台未公开。 |
| description | 简介或描述，通常比 text 短。 |
| kununu_rating | kununu 雇主评分。kununu 是 XING 旗下的雇主点评站，相当于德语区的 Glassdoor。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "xing",
  "action": "job_detail",
  "params": {
    "url": "https://www.xing.com/pages/sap"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "xing",
        "action": "job_detail",
        "params": {
            "url": "https://www.xing.com/pages/sap",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "xing",
  "action": "job_detail",
  "results": {
    "id": "30276.2e5e9c",
    "url": "https://www.xing.com/pages/sap",
    "industry": "Software",
    "description": "Als weltweit führender Anbieter von Anwendungen und KI für Unternehmen sitzt SAP an der Schnittstelle zwischen Wirtschaft und Technologie. Seit über 50 Jahren vertrauen Unternehmen darauf, dass SAP sie durch die Zusammenführung geschäftskritischer Abläufe in Finanzwesen, Beschaff…",
    "platform": "xing"
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### `url` 填职位链接还是会员档案链接？

填 /jobs/ 开头的职位链接。/profile/ 开头的会员档案链接不能用在这里，两种对象不可混用；想找职位，先走职位搜索，从结果里取每条的 `url`。

### 薪酬数字怎么读？

`salary_min`、`salary_max` 和 `salary_median` 是区间下限、上限和中位数，对比数字之前先看 `salary_currency`，德语区岗位多为 EUR；`salary_median` 是中位数，不是平均数。币种不同的岗位，数字不要直接比较。

### `kununu_rating` 是什么评分？

kununu 是 XING 旗下的雇主点评站，`kununu_rating` 是这家雇主在 kununu 上的评分，相当于德语区的 Glassdoor。它评价的是雇主，不是这条职位本身。

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=xing
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
