Tài liệu API Hop
Tham chiếu Zillow
Tìm tin đăng bất động sản trên Zillow.
Giới hạn đồng thời
AI và Data mỗi loại dùng chung một nhóm lượt đồng thời trên toàn tài khoản: mặc định 5 AI / 2 Data, tùy theo gói đăng ký. Giới hạn riêng của endpoint vẫn chịu giới hạn tổng của loại API. Khi đạt bất kỳ giới hạn nào, API trả về HTTP 429. Tác vụ bất đồng bộ giữ chỗ đến khi thực thi kết thúc.
GET /v1/zillow/search Tìm tin đăng bất động sản trên Zillow.
Xác thực và phí
Giá mặc định là $0.0003 (300 credits) cho mỗi yêu cầu thành công. Dùng khóa API API Hop. Quyền truy cập phụ thuộc cổng đang bật và quyền khóa. Xem danh mục và tài khoản để biết giá mỗi yêu cầu thành công; ưu tiên giá tài khoản. Kết quả rỗng thành công vẫn tính phí. Lỗi giải phóng khoản giữ trước. Hết hạn sau 60 giây, không tự thử lại hay phân trang. Lỗi quyết toán không gọi lại nhà cung cấp.
Authorization: Bearer YOUR_API_KEYTìm tin đăng bất động sản trên Zillow
GET https://api.apihop.ai/v1/zillow/search
Tham số
| Trường | Kiểu | Giới hạn | Ví dụ |
|---|---|---|---|
query | string | Từ khóa tìm kiếm; query: optional | Austin, TX |
page | integer | Trang bắt đầu từ 1; page: optional; min: 1; max: 20 | 1 |
device | string | Thiết bị; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Không lưu trữ phản hồi; zero_trace: optional | true |
region_id | string | Vùng bất động sản (region_id); region_id: optional; ^[1-9][0-9]{0,9}$ | - |
map_bounds | string | Ranh giới bản đồ (bắc,đông,nam,tây) (map_bounds); map_bounds: optional; UTF-8 bytes: 160 | - |
status_type | string | Thị trường bất động sản (status_type); status_type: optional; sale, rent, sold | sale |
price | string | Khoảng (min hoặc min,max) (price); price: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
beds | string | Khoảng (min hoặc min,max) (beds); beds: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
baths | string | Khoảng (min hoặc min,max) (baths); baths: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
sqft | string | Khoảng (min hoặc min,max) (sqft); sqft: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
year_built | string | Khoảng (min hoặc min,max) (year_built); year_built: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
lot_size | string | Khoảng (min hoặc min,max) (lot_size); lot_size: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
has_garage | boolean | Bộ lọc bất động sản (has_garage); has_garage: optional | true |
single_story | boolean | Bộ lọc bất động sản (single_story); single_story: optional | true |
price_reduction | boolean | Bộ lọc bất động sản (price_reduction); price_reduction: optional | true |
hide_no_date_listings | boolean | Bộ lọc thuê (hide_no_date_listings); hide_no_date_listings: optional | true |
short_term_lease | boolean | Bộ lọc thuê (short_term_lease); short_term_lease: optional | true |
home_type | string | Bộ lọc bất động sản (home_type); home_type: optional | - |
amenities | string | Bộ lọc bất động sản (amenities); amenities: optional | - |
view | string | Bộ lọc bất động sản (view); view: optional | - |
basement | string | Bộ lọc bất động sản (basement); basement: optional | - |
listing_type | string | Bộ lọc bất động sản (listing_type); listing_type: optional | - |
listing_status | string | Bộ lọc bất động sản (listing_status); listing_status: optional | - |
tours | string | Bộ lọc bất động sản (tours); tours: optional | - |
pets | string | Bộ lọc thuê (pets); pets: optional | - |
listing_features | string | Bộ lọc thuê (listing_features); listing_features: optional | - |
age_55_plus | string | Bộ lọc bất động sản (age_55_plus); age_55_plus: optional; include, exclude, only | include |
time_on_zillow | string | Bộ lọc bất động sản (time_on_zillow); time_on_zillow: optional; ^(?:[1-9][0-9]{0,4}|6m|12m|24m|36m)$ | - |
keywords | string | Bộ lọc bất động sản (keywords); keywords: optional; UTF-8 bytes: 512 | - |
hoa_max | integer | Bộ lọc bất động sản (hoa_max); hoa_max: optional; min: 0; max: 1000000 | 0 |
parking_spots | integer | Bộ lọc bất động sản (parking_spots); parking_spots: optional; min: 0; max: 100 | 0 |
space | string | Bộ lọc thuê (space); space: optional; any, entire_place, room | any |
move_in_date | string | Ngày chuyển vào (YYYY-MM-DD) (move_in_date); move_in_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ | - |
sort_by | string | Sắp xếp; sort_by: optional; globalrelevanceex, featured, priced, pricea, paymentd, paymenta, days, beds, baths, size, lot, priorityscore | globalrelevanceex |
Kiểm tra
Chỉ nhận tham số truy vấn, không có phần thân. Từ chối giá trị lạ, trùng lặp, trống hoặc không hợp lệ. Chỉ hỗ trợ JSON; không tự phân trang hay thử lại. Quy tắc: AND = cả hai, OR = hoặc, XOR = đúng một, NOT = loại trừ, => = yêu cầu.
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
Ví dụ
curl --get "https://api.apihop.ai/v1/zillow/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=Austin, TX"Phản hồi và lỗi
Giữ JSON gốc và độ chính xác. Ví dụ kết quả rỗng thành công. HTTP 400: đầu vào; 401: xác thực; 402: số dư; 403: quyền; 405: phương thức; 429: giới hạn; 5xx: dịch vụ. Giữ X-Request-Id.
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}