# Xing 主页或对象详情 API (xing.profile)

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

## Parameters

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

## Response fields (items in `results`)

| field | meaning |
|---|---|
| username | 用户名（@handle）。 |
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| headline | 一句话头衔：profile 是个人当前职位或职业头衔，company 是公司主页上的标语。 |
| location | 地理位置描述，原文透传，格式随平台而异。 |
| city | 城市名，用原平台的语言书写，未做中英归一。 |
| country | 国家或地区。可能是全称也可能是 ISO 代码，取决于平台，未归一。 |
| current_company | 当前所在公司。 |
| current_title | 当前职位名称。 |
| is_premium | 是否为 XING 付费会员。 |
| avatar_url | 头像图片链接。部分平台给的是带尺寸参数的 CDN 链接，可能有时效。 |
| skills | 技能标签。 |
| education | 教育经历。 |
| languages | 掌握的语言。 |
| interests | 兴趣标签。 |
| timeline | 职业经历时间线。 |
| url | 该记录在原平台上的可访问链接。 |
| 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": "profile",
  "params": {
    "url": "https://www.xing.com/profile/Lars_Hinrichs"
  }
}'
```

```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": "profile",
        "params": {
            "url": "https://www.xing.com/profile/Lars_Hinrichs",
        },
    },
    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": "profile",
  "results": {
    "username": "•••",
    "name": "Lars Hinrichs",
    "headline": "Member of the Supersisory Board",
    "location": "Hamburg, Germany",
    "city": "Hamburg",
    "country": "Germany",
    "current_company": "Deutsche Telekom AG",
    "current_title": "Member of the Supersisory Board",
    "is_premium": true,
    "avatar_url": "https://profile-images.xing.com/•••",
    "skills": [
      "new finance product - for geeks only",
      "good network",
      "Introduction into my Network"
    ],
    "languages": [
      {
        "name": "German",
        "level": "First Language"
      },
      {
        "name": "English",
        "level": "Fluent"
      },
      {
        "name": "Spanish",
        "level": "Basic"
      }
    ],
    "interests": [
      "Yoga",
      "Wine",
      "Thai Food"
    ],
    "timeline": [
      {
        "period": "Current 13 years, since Oct 2013",
        "title": "Member of the Supersisory Board",
        "organization": "Deutsche Telekom AG"
      },
      {
        "period": "Current 17 years and 1 month, since Sep 2009",
        "title": "Founder & Executive Geek",
        "organization": "HackFwd"
      },
      {
        "period": "Current 22 years and 11 months, since Nov 2003",
        "title": "CEO",
        "organization": "Cinco Capital GmbH"
      }
    ],
    "url": "https://www.xing.com/profile/Lars_Hinrichs",
    "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
