# Xing 公司资料 API (xing.company)

- Canonical page: [https://everyinfra.com/xing-api/company](https://everyinfra.com/xing-api/company?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "xing", "action": "company", "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

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| company | not declared | yes | not declared | company 的公司短名或 XING pages 公司链接，例如 sap；不保证把任意显示名称解析成唯一公司。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| url | 该记录在原平台上的可访问链接。 |
| headline | 一句话头衔：profile 是个人当前职位或职业头衔，company 是公司主页上的标语。 |
| summary | 个人简介。 |
| description | 简介或描述，通常比 text 短。 |
| industry | 所属行业。 |
| website | 账号或商家填写的外链网址。 |
| founded_year | 公司成立年份。 |
| follower_count | 粉丝数。null 表示不公开，不等于 0。 |
| employee_count | 员工数。 |
| company_size | 公司规模区间。 |
| locations | 工作地点列表。 |
| logo_url | 公司 logo。 |
| 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": "company",
  "params": {
    "company": "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": "company",
        "params": {
            "company": "sap",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-11-07T14:47:42Z. `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": "company",
  "results": {
    "id": "30276.2e5e9c",
    "name": "SAP",
    "url": "https://www.xing.com/pages/sap",
    "employee_count": 619,
    "company_size": "10.001 oder mehr Mitarbeitende",
    "logo_url": "https://www.xing.com/imagecache/public/scaled_original_image/eyJ1dWlkIjoiNjNkYTAxOTAtZjViYy00NTI3LWEzNzEtOWMxMWJhNDQ3MmM3IiwiYXBwX2NvbnRleHQiOiJlbnRpdHktcGFnZXMiLCJtYXhfd2lkdGgiOjE5MiwibWF4X2hlaWdodCI6MTkyfQ?signature=f79728c214c866362a8a149f186f90054994990ab27ee2a17c3bcf1d12c836…",
    "platform": "xing"
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

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