API Hop 文档
Zillow 接口参考
搜索 Zillow 房源。
并发上限
AI 与 Data 分别共享账户级并发槽位,默认 5 AI / 2 Data,订阅套餐可调整上限。接口单独配置仍受分类总上限约束。达到任一上限返回 HTTP 429;异步任务执行结束前占用槽位。
GET /v1/zillow/search 默认并发上限: 2
搜索 Zillow 房源。
认证与计费
默认每次成功请求 $0.0003(300 credits)。 使用 API Hop API Key。可用性取决于已启用网关和密钥权限。每次成功请求的价格以当前目录和账户显示为准,账户专属价格优先。成功的空结果也计费,失败请求释放预占额度。超时为 60 秒,不自动重试或翻页,结算失败不会重复调用上游。
http
Authorization: Bearer YOUR_API_KEY搜索 Zillow 房源
GET https://api.apihop.ai/v1/zillow/search
请求参数
| 字段 | 类型 | 约束 | 示例 |
|---|---|---|---|
query | string | 搜索词; query: optional | Austin, TX |
page | integer | 页码(从 1 开始); page: optional; min: 1; max: 20 | 1 |
device | string | 设备; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | 不归档响应产物; zero_trace: optional | true |
region_id | string | 房源区域标识 (region_id); region_id: optional; ^[1-9][0-9]{0,9}$ | - |
map_bounds | string | 地图边界(北,东,南,西) (map_bounds); map_bounds: optional; UTF-8 bytes: 160 | - |
status_type | string | 房源交易状态 (status_type); status_type: optional; sale, rent, sold | sale |
price | string | 范围(最小值或最小值,最大值) (price); price: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
beds | string | 范围(最小值或最小值,最大值) (beds); beds: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
baths | string | 范围(最小值或最小值,最大值) (baths); baths: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
sqft | string | 范围(最小值或最小值,最大值) (sqft); sqft: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
year_built | string | 范围(最小值或最小值,最大值) (year_built); year_built: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
lot_size | string | 范围(最小值或最小值,最大值) (lot_size); lot_size: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
has_garage | boolean | 房源属性筛选 (has_garage); has_garage: optional | true |
single_story | boolean | 房源属性筛选 (single_story); single_story: optional | true |
price_reduction | boolean | 房源属性筛选 (price_reduction); price_reduction: optional | true |
hide_no_date_listings | boolean | 租赁条件筛选 (hide_no_date_listings); hide_no_date_listings: optional | true |
short_term_lease | boolean | 租赁条件筛选 (short_term_lease); short_term_lease: optional | true |
home_type | string | 房源属性筛选 (home_type); home_type: optional | - |
amenities | string | 房源属性筛选 (amenities); amenities: optional | - |
view | string | 房源属性筛选 (view); view: optional | - |
basement | string | 房源属性筛选 (basement); basement: optional | - |
listing_type | string | 房源属性筛选 (listing_type); listing_type: optional | - |
listing_status | string | 房源属性筛选 (listing_status); listing_status: optional | - |
tours | string | 房源属性筛选 (tours); tours: optional | - |
pets | string | 租赁条件筛选 (pets); pets: optional | - |
listing_features | string | 租赁条件筛选 (listing_features); listing_features: optional | - |
age_55_plus | string | 房源属性筛选 (age_55_plus); age_55_plus: optional; include, exclude, only | include |
time_on_zillow | string | 房源属性筛选 (time_on_zillow); time_on_zillow: optional; ^(?:[1-9][0-9]{0,4}|6m|12m|24m|36m)$ | - |
keywords | string | 房源属性筛选 (keywords); keywords: optional; UTF-8 bytes: 512 | - |
hoa_max | integer | 房源属性筛选 (hoa_max); hoa_max: optional; min: 0; max: 1000000 | 0 |
parking_spots | integer | 房源属性筛选 (parking_spots); parking_spots: optional; min: 0; max: 100 | 0 |
space | string | 租赁条件筛选 (space); space: optional; any, entire_place, room | any |
move_in_date | string | 入住日期(YYYY-MM-DD) (move_in_date); move_in_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ | - |
sort_by | string | 排序; sort_by: optional; globalrelevanceex, featured, priced, pricea, paymentd, paymenta, days, beds, baths, size, lot, priorityscore | globalrelevanceex |
校验规则
仅接受查询参数,不接受请求体。拒绝未知、重复、空值或无效参数。仅支持 JSON 响应,不自动翻页或重试。下列规则中 AND 表示同时提供,OR 表示任一,XOR 表示二选一,NOT 表示不能提供,=> 表示需要。
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/query OR region_id OR map_bounds: required; NOT (query AND region_id)map_bounds = north,east,south,west; north > south; east > westprice, beds, baths, sqft, year_built, lot_size = min OR min,max OR ,max; min <= maxpets, listing_features, space, move_in_date, short_term_lease => status_type = rent; hide_no_date_listings = true => move_in_datemove_in_date: valid calendar date in YYYY-MM-DD format
示例
bash
curl --get "https://api.apihop.ai/v1/zillow/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=Austin, TX"响应与错误
保留原生 JSON 响应和数字精度。下方仅为空成功结果示例,不是真实调用。HTTP 400 表示输入无效;401 需要认证;402 余额不足;403 不可用或无权限;405 方法不支持;429 限流;5xx 服务或上游故障。请保留 X-Request-Id 以便排查。
json
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}