Redfin API

Redfin 搜索 API

通过 URL 执行 Redfin 地图搜索,获取匹配的房源(价格、地址、卧室数、浴室数、状态),以标准化 JSON 返回。

US$0.80/千次请求,按请求付费,无需订阅。

Austin homes for sale | Redfin
redfin.com/city/30818/TX/Austin
RedfinJoin / Sign in
For salePriceBeds/bathsSave search

Austin homes for sale & real estate

5,884 homes

$674,900

2 beds · 2 baths · 1734 sq ft

4502 Avenue G, Austin, TX

$899,000

3 beds · 2.5 baths · 2134 sq ft

1819 Village Oak Ct, Austin, TX

$512,000

1 beds · 1.5 baths · 1000 sq ft

210 Lavaca St #2104, Austin, TX

API 返回的内容items[0]
{
"propertyId": "30981993",
"listingId": "163092774",
"mlsId": "6554321",
"url": "https://www.redfin.com/TX/Austin/1819-Village-Oak-Ct-78704/home/30981993",
"title": "1819 Village Oak Ct",
"addressLine": "1819 Village Oak Ct",
"city": "Austin",
"state": "TX",
... 还有 20 个字段
}
可用率
100.00%
30d · 33 次调用
请求数
33
30d · 按周,近 12 周
响应时间
6.9s
中位数 · 30d

价格与服务商

Redfin 搜索 API 价格:一个 API,2 个可互换的服务商

最便宜的服务商优先响应。如果它失败,下一个会在同一次调用中接手。

你需支付
US$8.00
US$0.80/千次请求,只为实际用量付费。没有月度套餐。
有了 US$0.10 的初始余额,你的前 125 次请求免费。

试一试

一个请求获取 Redfin 搜索

requireFieldsarray
可选;省略时路由不变,由最便宜的数据源处理。列出本次请求必须能返回的输出字段,例如 `description`,请求就只会由能返回全部这些字段的数据源处理。未列出的字段,只要处理请求的数据源有,仍会照常返回。这可能提高你的价格:最便宜的数据源无法返回某个列出的字段时,会改由更贵的数据源处理,并按它的价格报价和扣费。如果某个房源确实没有某个列出的字段,该字段仍可能缺失。如果列出的字段组合没有任何单一数据源能同时返回,请求会作为无效输入被拒绝,不扣费。
打开于
获取免费密钥
示例响应
免费运行只返回前 3 条结果。为密钥充值即可获得完整响应。

这个示例展示了 32 个字段中的 31 个。查看全部字段

{
  "found": true,
  "data": {
    "items": [
      {
        "propertyId": "30981993",
        "listingId": "163092774",
        "mlsId": "6554321",
        "url": "https://www.redfin.com/TX/Austin/1819-Village-Oak-Ct-78704/home/30981993",
        "title": "1819 Village Oak Ct",
        "addressLine": "1819 Village Oak Ct",
        "city": "Austin",
        "state": "TX",
        "postalCode": "78704",
        "latitude": 30.2352,
        "longitude": -97.7731,
        "price": 899000,
        "pricePerSqft": 421,
        "beds": 3,
        "baths": 2.5,
        "sqft": 2134,
        "lotSize": 6970,
        "yearBuilt": 1987,
        "status": "Active",
        "soldUtc": null,
        "description": "Beautifully updated home on a quiet cul-de-sac with a chef's kitchen and vaulted living room.",
        "countryCode": "US",
        "daysOnMarket": 6,
        "hoaFee": null,
        "stories": 2,
        "garageSpaces": 2,
        "parkingSpaces": 2,
        "agentName": "Marisol Vance"
      },
      {
        "propertyId": "30982150",
        "listingId": "163094410",
        "mlsId": "6554877",
        "url": "https://www.redfin.com/TX/Austin/4502-Avenue-G-78751/home/30982150",
        "title": "4502 Avenue G",
        "addressLine": "4502 Avenue G",
        "city": "Austin",
        "state": "TX",
        "postalCode": "78751",
        "latitude": 30.3103,
        "longitude": -97.7215,
        "price": 674900,
        "pricePerSqft": 389,
        "beds": 2,
        "baths": 2,
        "sqft": 1734,
        "lotSize": 5620,
        "yearBuilt": 1946,
        "status": "Active",
        "soldUtc": null,
        "description": "Charming Hyde Park bungalow with original hardwood floors and a fully permitted rear addition.",
        "countryCode": "US",
        "daysOnMarket": 14,
        "hoaFee": null,
        "stories": 1,
        "garageSpaces": 0,
        "parkingSpaces": 2,
        "agentName": "Devon Okafor"
      },
      {
        "propertyId": "30979340",
        "listingId": "163088902",
        "mlsId": "6551029",
        "url": "https://www.redfin.com/TX/Austin/210-Lavaca-St-78701/home/30979340",
        "title": "210 Lavaca St #2104",
        "addressLine": "210 Lavaca St #2104",
        "city": "Austin",
        "state": "TX",
        "postalCode": "78701",
        "latitude": 30.2657,
        "longitude": -97.7466,
        "price": 512000,
        "pricePerSqft": 512,
        "beds": 1,
        "baths": 1.5,
        "sqft": 1000,
        "lotSize": 0,
        "yearBuilt": 2010,
        "status": "Coming Soon",
        "soldUtc": null,
        "description": null,
        "countryCode": "US",
        "daysOnMarket": 1,
        "hoaFee": 612,
        "stories": 1,
        "garageSpaces": 1,
        "parkingSpaces": 1,
        "agentName": null
      }
    ]
  }
}

完整的参数与响应参考:这个接口的每个字段、类型和示例。

参考

一个请求,一种响应结构。

你发送的每个字段和收到的每个字段,都附有真实示例。

最近验证于 2026-11-14 · 可用率和延迟按 30d 统计

请求体

JSON,POST 到这个接口。

  • urlstring

    https://www.redfin.com/city/30818/TX/Austin

    城市、ZIP 码或地图区域的 Redfin 搜索结果 URL(例如 https://www.redfin.com/city/30772/CA/San-Francisco)。

  • limitinteger

    3

    最多返回的结果数量(1-25,默认 25)。

  • requireFieldsarray

    可选;省略时路由不变,由最便宜的数据源处理。列出本次请求必须能返回的输出字段,例如 `description`,请求就只会由能返回全部这些字段的数据源处理。未列出的字段,只要处理请求的数据源有,仍会照常返回。这可能提高你的价格:最便宜的数据源无法返回某个列出的字段时,会改由更贵的数据源处理,并按它的价格报价和扣费。如果某个房源确实没有某个列出的字段,该字段仍可能缺失。如果列出的字段组合没有任何单一数据源能同时返回,请求会作为无效输入被拒绝,不扣费。

你发送。 一个简短的 JSON 请求体。显示的值只是示例,请换成你自己的。

响应

JSON,每个字段一个示例值。

each itemdata.items[]

Matching Redfin home listing records. Populated whenever the provider has data for the entity.

  • addressLinestring

    1819 Village Oak Ct

    Street address line of the home.

  • agentNamestring可设为必填

    Marisol Vance

    Name of the listing agent.

  • bathsnumber

    2.5

    Number of bathrooms (fractional for half baths).

  • bedsnumber

    3

    Number of bedrooms.

  • citystring

    Austin

    City the home is in.

  • countryCodestring可设为必填

    US

    ISO country code the home is in.

  • daysOnMarketnumber可设为必填

    6

    Days the listing has been on the market.

  • descriptionstring可设为必填

    Beautifully updated home on a quiet cul-de-sac with a chef's kitchen and vaulted living room.

    Listing remarks written by the agent.

  • garageSpacesnumber可设为必填

    2

    Number of garage spaces.

  • hoaFeenumber可设为必填

    null

    Homeowners association fee, in US dollars, at the frequency Redfin reports.

  • latitudenumber

    30.2352

    Latitude of the home in decimal degrees.

  • listingIdstring

    163092774

    Redfin listing id for this specific listing.

  • longitudenumber

    -97.7731

    Longitude of the home in decimal degrees.

  • lotSizenumber

    6970

    Lot size in square feet, or null when the listing has no lot size (common on condos).

  • mlsIdstring

    6554321

    MLS number for the listing.

  • parkingSpacesnumber可设为必填

    2

    Number of parking spaces.

  • postalCodestring

    78704

    Postal (ZIP) code of the home.

  • pricenumber

    899000

    List (or last sale) price in US dollars.

  • pricePerSqftnumber可设为必填

    421

    Price per square foot in US dollars.

  • propertyIdstring

    30981993

    Redfin property id (stable identifier for the home). Populated whenever the provider has data for the entity.

  • soldUtcnumber可设为必填

    null

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • sqftnumber

    2134

    Interior living area in square feet.

  • statestring

    TX

    Two-letter state code the home is in.

  • statusstring

    Active

    MLS listing status (e.g. Active, Coming Soon, Sold).

  • storiesnumber可设为必填

    2

    Number of storeys in the home.

  • titlestring

    1819 Village Oak Ct

    Street address line used as the listing title.

  • urlstring

    https://www.redfin.com/TX/Austin/1819-Village-Oak-Ct-78704/home/30981993

    Canonical Redfin listing detail page URL. Populated whenever the provider has data for the entity.

  • yearBuiltnumber

    1987

    Year the home was built.

top level
  • foundboolean

    true

    True when the search returned at least one matching home.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

你收到。 字段有名称、有类型,无论哪个数据源响应,结构都一样。

常见问题

关于 Redfin 搜索 API

AnyAPI 的 Redfin 搜索 API 只需一次 POST 请求 /v1/run/redfin.search,就以统一格式的 JSON 返回 Redfin 数据。通过 URL 执行 Redfin 地图搜索,获取匹配的房源(价格、地址、卧室数、浴室数、状态),以标准化 JSON 返回。AnyAPI 会在 2 个数据源之间路由每个请求,某个数据源失败时自动切换。费用:每千次请求 US$0.80 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Redfin 搜索 API 调用中有 100.0% 成功,响应时间中位数为 6.9 秒,共测量 33 次调用。

费用:每千次请求 US$0.80 起,以美元计价,无需订阅,也没有每月最低消费。你只需为一个美元钱包充值,每次调用从中扣费。部分由钱包付费的失败请求会产生处理费用,我们按成本原价转嫁,不加价;错误响应会显示收取的金额。

通过 URL 执行 Redfin 地图搜索,获取匹配的房源(价格、地址、卧室数、浴室数、状态),以标准化 JSON 返回。响应是统一格式的 JSON,外层结构与每个 AnyAPI 接口相同,所以解析另一个接口只需换一个 URL,别的都不用改。

过去 30 天,通过 AnyAPI 发起的 Redfin 搜索 API 调用中有 100.0% 成功,响应时间中位数为 6.9 秒,共测量 33 次调用。这些是 AnyAPI 对经过网关的流量的自有测量,持续重新计算,并非公开承诺的服务等级目标。

可以。新的 AnyAPI 账户自带 US$0.10 免费余额,无需绑卡,足够调用 125 次 Redfin 搜索,每次 US$0.0008。

AnyAPI 会在同一个请求中依次尝试它的 2 个数据源,从最便宜的开始,所以一个数据源宕机不会让你的调用失败。

向 https://api.getanyapi.com/v1/run/redfin.search 发送 POST 请求,在 “Authorization: Bearer” 请求头中放入你的 AnyAPI 密钥,并以 JSON 请求体传入参数。同一个密钥和同一个钱包适用于所有 AnyAPI 接口。

不需要。你向一个预付费的 AnyAPI 余额充值美元,每个请求从中扣费。没有月度套餐,也没有最低消费,同一个余额可用于所有 AnyAPI 接口。

有。TypeScript 用 npm 安装 @getanyapi/sdk,Python 用 pip 安装 getanyapi。两者都用同一个密钥调用所有 AnyAPI 接口,任何 HTTP 客户端也都可以。

可以。智能体可以连接 https://api.getanyapi.com/mcp 上的 AnyAPI MCP 服务器,或者向 https://api.getanyapi.com/agent/signup 发送一次无需认证的 POST 来创建自己的免费试用密钥,再通过 HTTP 调用这个接口。