# Realtor 关键词搜索 API (realtor.search)

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | 按城市和州查找经纪人，例如 Austin, TX；也可填写美国邮编，不是经纪人姓名搜索。 |
| agent_type | enum: both / buyer / seller | no | not declared | 经纪人类型：both 同时包含买方和卖方（默认），buyer 买方经纪，seller 卖方经纪；不是房源状态。 |
| min_rating | enum: 0 / 1 / 2 / 3 / 4 / 5 | no | not declared | 最低经纪人星级，可传 0–5 的单值或数组，例如 4 或 ["4"]；0 表示不按评分过滤。这里不是房屋评级。 |
| limit | integer (1–500) | no | 100 | 这次调用最多返回的条数，整数，1–500；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| url | 该记录在原平台上的可访问链接。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| office_name | 经纪办公室名称。 |
| broker_name | 经纪公司名称。 |
| city | 城市名，用原平台的语言书写，未做中英归一。 |
| state | 州。 |
| postal_code | 邮编。 |
| country | 国家或地区。可能是全称也可能是 ISO 代码，取决于平台，未归一。 |
| license_no | 经纪人执业牌照号，可用于官方核验资质。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| review_count | 评价条数，用于商品/商家类能力。null 表示不公开，不等于 0。 |
| active_listings | 该经纪人当前在售房源数。 |
| recently_sold | 该经纪人近期成交房源数。 |
| price_min | 价格区间下限（经纪人成交区间里用）。 |
| price_max | 价格区间上限。 |
| specialties | 经纪人专长领域。 |
| languages | 经纪人可用语言。 |
| served_areas | 服务区域。 |
| emails | 联系邮箱（经纪人公开信息）。 |
| phones | 联系电话（经纪人公开信息）。 |
| image_url | 图片链接。多图能力可能返回 image_urls 数组。 |
| 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": "realtor",
  "action": "search",
  "params": {
    "keyword": "Austin, 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": "realtor",
        "action": "search",
        "params": {
            "keyword": "Austin, TX",
        },
    },
    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; the list keeps the first 2 of 100. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "realtor",
  "action": "search",
  "results": [
    {
      "id": "•••",
      "name": "T•••e",
      "url": "•••",
      "title": "12 years 6 months of experience",
      "text": "•••",
      "office_name": "Horizon Realty",
      "broker_name": "Horizon Realty - Broker",
      "city": "AUSTIN",
      "state": "TX",
      "postal_code": "78759",
      "country": "US",
      "license_no": "•••",
      "rating": 5,
      "review_count": 1,
      "active_listings": 2,
      "recently_sold": 20,
      "price_min": 220000,
      "price_max": 260000,
      "specialties": [
        "Buyer's agent",
        "Seller's agent"
      ],
      "served_areas": [
        "Georgetown, TX",
        "Liberty Hill, TX",
        "Round Rock, TX"
      ],
      "emails": [
        "•••"
      ],
      "phones": [
        "•••"
      ],
      "image_url": "https://ap.rdcpix.com/•••",
      "platform": "realtor",
      "rating_scale": 5
    },
    {
      "id": "•••",
      "name": "C•••s",
      "url": "http://www.ChristopherWatters.com/•••",
      "title": "19 years 10 months of experience",
      "text": "•••",
      "office_name": "Watters International Realty",
      "broker_name": "Watters International Realty",
      "city": "AUSTIN",
      "state": "TX",
      "postal_code": "78731",
      "country": "US",
      "license_no": "•••",
      "rating": 4.6,
      "review_count": 9,
      "active_listings": 212,
      "recently_sold": 298,
      "price_min": 50000,
      "price_max": 18999000,
      "specialties": [
        "Residential",
        "Condos",
        "Single-family homes"
      ],
      "languages": [
        "English"
      ],
      "served_areas": [
        "Austin, TX",
        "Dallas, TX",
        "Fort Worth, TX"
      ],
      "emails": [
        "•••"
      ],
      "phones": [
        "•••"
      ],
      "image_url": "https://ap.rdcpix.com/•••",
      "platform": "realtor",
      "rating_scale": 5
    }
  ],
  "count": 100,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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