# Zillow 房产经纪人 API (zillow.agents)

- Canonical page: https://everyinfra.com/zillow-api/agents
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "zillow", "action": "agents", "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 200 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=zillow&action=agents

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | 美国州的两位缩写，例如 TX；不是经纪人姓名或房源关键词。 |
| brokerage | not declared | no | not declared | 经纪公司名称包含过滤，不是房屋建筑类型。 |
| city | not declared | no | not declared | 城市名过滤，应与 keyword 中的州匹配。 |
| min_rating | integer | no | not declared | 最低平均星级，整数 0–5；不填不筛选，设置后无评价人员会被排除。带小数时向下取整。 |
| limit | integer (1–200) | no | 20 | 这次调用最多返回的条数，整数，1–200；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| business_name | 经纪公司或机构名称（经纪人搜索结果里用）。 |
| types | 房源类型列表。 |
| address | 详细地址，原文透传。 |
| city | 城市名，用原平台的语言书写，未做中英归一。 |
| state | 州。 |
| postal_code | 邮编，与 zipcode 同义。 |
| phone | 联系电话，原文透传，未做号码格式归一。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| review_count | 评价条数，用于商品/商家类能力。null 表示不公开，不等于 0。 |
| is_top_agent | 该经纪人是否被 Zillow 标为优质经纪。 |
| avatar_url | 头像图片链接。部分平台给的是带尺寸参数的 CDN 链接，可能有时效。 |
| 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": "zillow",
  "action": "agents",
  "params": {
    "keyword": "TX"
  }
}'
```

```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": "zillow",
        "action": "agents",
        "params": {
            "keyword": "TX",
        },
    },
    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 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "zillow",
  "action": "agents",
  "results": [
    {
      "id": "•••",
      "url": "https://www.zillow.com/•••",
      "name": "•••",
      "business_name": "Monument Realty At The Star",
      "types": [
        "consumer",
        "agent",
        "broker"
      ],
      "address": "3620 The Star Blvd., Suite 1205",
      "city": "Frisco",
      "state": "TX",
      "postal_code": "75034",
      "phone": "•••",
      "rating": 5,
      "review_count": 4068,
      "is_top_agent": true,
      "avatar_url": "https://photos.zillowstatic.com/•••",
      "platform": "zillow",
      "rating_scale": 5
    },
    {
      "id": "•••",
      "url": "https://www.zillow.com/•••",
      "name": "•••",
      "business_name": "Realty Austin Compass",
      "types": [
        "consumer",
        "agent"
      ],
      "address": "14010 N US-183, Suite 400",
      "city": "Austin",
      "state": "TX",
      "postal_code": "78717",
      "phone": "•••",
      "rating": 5,
      "review_count": 3131,
      "is_top_agent": false,
      "avatar_url": "https://photos.zillowstatic.com/•••",
      "platform": "zillow",
      "rating_scale": 5
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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