# Glassdoor 关键词搜索 API (glassdoor.search)

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | Glassdoor 公司名称搜索词，用 search 发现公司，再把结果中的公司 URL 用于资料、评论、薪资、面试或职位接口；不是岗位全文搜索。 |
| company | not declared | no | not declared | search 的公司名称兼容输入，keyword 优先且仍为公开必填。它不是公司数字 ID，也不代替其他接口的公司 URL。 |
| domain | not declared | no | not declared | Glassdoor 国家站点域名，示例 www.glassdoor.co.uk、www.glassdoor.de，保留 www.；不是被搜索公司的官网域名。 |
| query | not declared | no | not declared | search 的关键词兼容输入，优先级在 keyword 之后、company 之前；公开请求仍需包含 keyword。 |
| limit | integer (1–100) | no | 10 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| company_id | 公司 ID。 |
| url | 该记录在原平台上的可访问链接。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| review_count | 评价条数，用于商品/商家类能力。null 表示不公开，不等于 0。 |
| salary_count | 参与该薪酬统计的样本数。样本少时数值不可靠。 |
| job_count | 该公司在招岗位数。 |
| headquarters | 总部所在地。 |
| size | 公司规模（员工数区间）。 |
| size_category | 规模分类。 |
| description | 简介或描述，通常比 text 短。 |
| logo_url | 公司 logo。 |
| 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": "glassdoor",
  "action": "search",
  "params": {
    "keyword": "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": "glassdoor",
        "action": "search",
        "params": {
            "keyword": "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 10. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "glassdoor",
  "action": "search",
  "results": [
    {
      "name": "Microsoft",
      "company_id": 1651,
      "url": "https://www.glassdoor.com/Overview/Working-at-Microsoft-EI_IE1651.11,20.htm",
      "rating": 4,
      "review_count": 69457,
      "salary_count": 199772,
      "job_count": 2489,
      "headquarters": "Redmond, WA",
      "size": "10000+ Employees",
      "size_category": "GIANT",
      "description": "At Microsoft, our mission is to empower every person and every organization on the planet to achieve more. When you join Microsoft, you're not just taking on a job, you're embracing a calling. A calling where your individual contributions amplify into a collective force championi…",
      "logo_url": "https://media.glassdoor.com/sql/1651/microsoft-squarelogo-1479856042252.png",
      "platform": "glassdoor",
      "rating_scale": 5
    },
    {
      "name": "Microsoft Theater",
      "company_id": 1002835,
      "url": "https://www.glassdoor.com/Overview/Working-at-Microsoft-Theater-EI_IE1002835.11,28.htm",
      "rating": 4.5,
      "review_count": 31,
      "salary_count": 47,
      "job_count": 0,
      "headquarters": "Los Angeles, CA",
      "size": "501 to 1000 Employees",
      "size_category": "MEDIUM_TO_LARGE",
      "logo_url": "https://media.glassdoor.com/sql/1002835/l-a-live-theatre-squarelogo-1469616864372.png",
      "platform": "glassdoor",
      "rating_scale": 5
    }
  ],
  "count": 10,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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