# Realtor 房源搜索 API (realtor.property_search)

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | 房源位置，填写美国五位邮编或 城市,州缩写，例如 78701 或 Austin, TX；不接受任意房源描述。 |
| baths_min | integer | no | not declared | 最少卫浴数量，按整数处理，不能保留 1.5 这类半卫值。 |
| beds_min | integer | no | not declared | 最少卧室数量，整数；不是整套房屋的总房间数。 |
| city | not declared | no | not declared | 城市名覆盖值；邮编搜索时不要再传不匹配城市，避免组合成相互冲突的定位条件。 |
| max_price | not declared | no | not declared | 最高挂牌价，整数，与 min_price 配合；出售与出租请分别解读价格。带小数时向上取整。 |
| min_price | not declared | no | not declared | 最低挂牌价，整数；价格随出售或出租状态分别为售价或租金，不是 API 调用费用。带小数时向下取整。 |
| sort | enum: bedrooms_desc / lot_size_desc / newest / photo_count_desc / price_desc / recently_sold / recently_updated / sold_price_desc | no | not declared | 降序排序：newest 最新上架、price_desc 挂牌价、sold_price_desc 成交价、recently_sold 最近成交、bedrooms_desc 卧室数、lot_size_desc 地块面积、photo_count_desc 图片数、recently_updated 最近更新。默认 newest。 |
| status | not declared | no | not declared | 单个房源状态字符串，默认 for_sale；已知值包括 sold、for_rent、ready_to_build、off_market、other 或 new_community。其他值不会被拒绝。 |
| limit | integer (1–200) | no | 20 | 这次调用最多返回的条数，整数，1–200；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| status | 房源状态（在售/已售/待定等）。 |
| price | 价格数值，不含货币符号；币种见 currency。 |
| sold_price | 成交价。 |
| sold_at | 成交时间。 |
| listed_at | 挂牌时间。 |
| property_type | 房屋类型。 |
| beds | 卧室数量。 |
| baths | 卫生间数量，可能是小数（1.5 = 一全卫加一半卫）。 |
| area_sqft | 室内面积，平方英尺。 |
| lot_sqft | 地块面积，平方英尺。 |
| year_built | 建成年份。 |
| address | 详细地址，原文透传。 |
| city | 城市名，用原平台的语言书写，未做中英归一。 |
| state | 州。 |
| postal_code | 邮编。 |
| county | 所属县。 |
| lat | 纬度。 |
| lng | 经度。 |
| image_url | 图片链接。多图能力可能返回 image_urls 数组。 |
| photo_count | 房源照片数量。 |
| is_new_listing | 是否为新上架房源。 |
| is_price_reduced | 是否已降价。降价是买方议价的重要信号。 |
| is_foreclosure | 是否为法拍房。 |
| advertiser_emails | 房源挂牌方（经纪人、经纪公司）的联系邮箱列表（property_search）。 |
| advertiser_phones | 房源挂牌方的联系电话列表（property_search）。 |
| 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": "property_search",
  "params": {
    "keyword": "10022"
  }
}'
```

```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": "property_search",
        "params": {
            "keyword": "10022",
        },
    },
    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": "realtor",
  "action": "property_search",
  "results": [
    {
      "id": "•••",
      "url": "https://www.realtor.com/realestateandhomes-detail/200-E-58th-St-Apt-6D_New-York_NY_10022_M34658-52869",
      "title": "200 E 58th St Apt 6D",
      "status": "for_sale",
      "price": 850000,
      "sold_price": 182000,
      "sold_at": "1992-01-31T00:00:00+00:00",
      "listed_at": "2026-09-26T09:23:16+00:00",
      "property_type": "condos",
      "beds": 1,
      "area_sqft": 0,
      "year_built": 1963,
      "address": "200 E 58th St Apt 6D",
      "city": "New York",
      "state": "NY",
      "postal_code": "10022",
      "county": "New York",
      "lat": 40.760578,
      "lng": -73.966903,
      "image_url": "https://ap.rdcpix.com/c66ce90814bb5fd99a1e190f0148454dl-m1477315349s.jpg",
      "photo_count": 15,
      "is_new_listing": true,
      "platform": "realtor"
    },
    {
      "id": "•••",
      "url": "https://www.realtor.com/realestateandhomes-detail/303-Park-Ave-3304_New-York_NY_10022_M91518-56430",
      "title": "303 Park Ave Unit 3304",
      "status": "for_sale",
      "price": 5350000,
      "listed_at": "2026-09-25T20:01:34+00:00",
      "property_type": "condos",
      "beds": 2,
      "area_sqft": 1461,
      "year_built": 1931,
      "address": "303 Park Ave Unit 3304",
      "city": "New York",
      "state": "NY",
      "postal_code": "10022",
      "county": "New York",
      "lat": 40.756886,
      "lng": -73.973892,
      "image_url": "https://ap.rdcpix.com/f53f80b6ec7b0511ff9a94352cfa0222l-m3708302104s.jpg",
      "photo_count": 30,
      "is_new_listing": true,
      "platform": "realtor"
    }
  ],
  "count": 20,
  "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
