# Indeed 薪资 API (indeed.salaries)

- Canonical page: [https://everyinfra.com/indeed-api/salaries](https://everyinfra.com/indeed-api/salaries?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "indeed", "action": "salaries", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 100 per call
- 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=indeed&action=salaries

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| company | not declared | yes | not declared | Indeed 公司短名或任意 /cmp/<公司>/ 链接；系统会提取公司主体并规约到 /salaries 板块。纯公司名会把空格替换成连字符，并非公司名模糊搜索。 |
| limit | integer (1–100) | no | 20 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| job_title | 职位名称。 |
| category | 分类名称，取值为原平台的分类体系，未做跨平台归一。 |
| salary | 薪酬，原文透传（可能是区间文本而非数值）。 |
| salary_type | 薪酬周期（年/月/时）。**不看它直接比数字会差一个数量级**。 |
| reported_count | 报告该项的人数。 |
| company_name | 公司名称。 |
| company_salary_count | 公司薪酬数据的样本数。样本少时数值不可靠。 |
| updated_at | 信息更新时间。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |
| location | 地理位置描述，原文透传，格式随平台而异。 |
| url | 该记录在原平台上的可访问链接。 |

## 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": "indeed",
  "action": "salaries",
  "params": {
    "company": "Microsoft"
  }
}'
```

```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": "indeed",
        "action": "salaries",
        "params": {
            "company": "Microsoft",
        },
    },
    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; the list keeps the first 2 of 17. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "indeed",
  "action": "salaries",
  "results": [
    {
      "job_title": "Software Engineer",
      "category": "Popular Roles",
      "salary": "$142,889",
      "salary_type": "YEARLY",
      "reported_count": 394,
      "company_name": "Microsoft",
      "company_salary_count": 19446,
      "updated_at": "2026-09-21T00:00:00+00:00",
      "platform": "indeed"
    },
    {
      "job_title": "Senior Software Engineer",
      "category": "Popular Roles",
      "salary": "$170,583",
      "salary_type": "YEARLY",
      "reported_count": 301,
      "company_name": "Microsoft",
      "company_salary_count": 19446,
      "updated_at": "2026-09-21T00:00:00+00:00",
      "platform": "indeed"
    }
  ],
  "count": 17,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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