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": []
}
}
}