API Hop

Tài liệu

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
Giới hạn mặc định: 2

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.

http
Authorization: Bearer YOUR_API_KEY

Tìm tin đăng bất động sản trên Zillow

GET https://api.apihop.ai/v1/zillow/search

Tham số

TrườngKiểuGiới hạnVí dụ
querystringTừ khóa tìm kiếm; query: optionalAustin, TX
pageintegerTrang bắt đầu từ 1; page: optional; min: 1; max: 201
devicestringThiết bị; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanKhông lưu trữ phản hồi; zero_trace: optionaltrue
region_idstringVùng bất động sản (region_id); region_id: optional; ^[1-9][0-9]{0,9}$-
map_boundsstringRanh giới bản đồ (bắc,đông,nam,tây) (map_bounds); map_bounds: optional; UTF-8 bytes: 160-
status_typestringThị trường bất động sản (status_type); status_type: optional; sale, rent, soldsale
pricestringKhoảng (min hoặc min,max) (price); price: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$-
bedsstringKhoảng (min hoặc min,max) (beds); beds: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$-
bathsstringKhoảng (min hoặc min,max) (baths); baths: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$-
sqftstringKhoảng (min hoặc min,max) (sqft); sqft: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$-
year_builtstringKhoảng (min hoặc min,max) (year_built); year_built: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$-
lot_sizestringKhoảng (min hoặc min,max) (lot_size); lot_size: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$-
has_garagebooleanBộ lọc bất động sản (has_garage); has_garage: optionaltrue
single_storybooleanBộ lọc bất động sản (single_story); single_story: optionaltrue
price_reductionbooleanBộ lọc bất động sản (price_reduction); price_reduction: optionaltrue
hide_no_date_listingsbooleanBộ lọc thuê (hide_no_date_listings); hide_no_date_listings: optionaltrue
short_term_leasebooleanBộ lọc thuê (short_term_lease); short_term_lease: optionaltrue
home_typestringBộ lọc bất động sản (home_type); home_type: optional-
amenitiesstringBộ lọc bất động sản (amenities); amenities: optional-
viewstringBộ lọc bất động sản (view); view: optional-
basementstringBộ lọc bất động sản (basement); basement: optional-
listing_typestringBộ lọc bất động sản (listing_type); listing_type: optional-
listing_statusstringBộ lọc bất động sản (listing_status); listing_status: optional-
toursstringBộ lọc bất động sản (tours); tours: optional-
petsstringBộ lọc thuê (pets); pets: optional-
listing_featuresstringBộ lọc thuê (listing_features); listing_features: optional-
age_55_plusstringBộ lọc bất động sản (age_55_plus); age_55_plus: optional; include, exclude, onlyinclude
time_on_zillowstringBộ lọc bất động sản (time_on_zillow); time_on_zillow: optional; ^(?:[1-9][0-9]{0,4}|6m|12m|24m|36m)$-
keywordsstringBộ lọc bất động sản (keywords); keywords: optional; UTF-8 bytes: 512-
hoa_maxintegerBộ lọc bất động sản (hoa_max); hoa_max: optional; min: 0; max: 10000000
parking_spotsintegerBộ lọc bất động sản (parking_spots); parking_spots: optional; min: 0; max: 1000
spacestringBộ lọc thuê (space); space: optional; any, entire_place, roomany
move_in_datestringNgà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_bystringSắp xếp; sort_by: optional; globalrelevanceex, featured, priced, pricea, paymentd, paymenta, days, beds, baths, size, lot, priorityscoreglobalrelevanceex

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 supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[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 > west
  • price, beds, baths, sqft, year_built, lot_size = min OR min,max OR ,max; min <= max
  • pets, listing_features, space, move_in_date, short_term_lease => status_type = rent; hide_no_date_listings = true => move_in_date
  • move_in_date: valid calendar date in YYYY-MM-DD format

Ví dụ

bash
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.

json
{
  "success": true,
  "request_id": "example-request",
  "data": {
    "format": "json",
    "content": {
      "results": []
    }
  }
}