API Hop

เอกสาร

เอกสาร API Hop

เอกสารอ้างอิง Zillow

ค้นหาประกาศอสังหาริมทรัพย์บน Zillow

ขีดจำกัดการทำงานพร้อมกัน

AI และ Data ใช้โควตาคำขอพร้อมกันร่วมกันภายในแต่ละหมวดของบัญชี ค่าเริ่มต้นคือ 5 AI / 2 Data และปรับตามแพ็กเกจสมาชิก ขีดจำกัดเฉพาะ endpoint ยังอยู่ภายใต้ขีดจำกัดรวมของหมวด เมื่อถึงขีดจำกัดใดจะส่ง HTTP 429 งานอะซิงโครนัสใช้ช่องจนกว่าการทำงานจะสิ้นสุด

GET /v1/zillow/search
ขีดจำกัดเริ่มต้น: 2

ค้นหาประกาศอสังหาริมทรัพย์บน Zillow

การยืนยันตัวตนและค่าบริการ

ราคามาตรฐานต่อคำขอที่สำเร็จคือ $0.0003 (300 credits) ใช้คีย์ API ของ API Hop การเข้าถึงขึ้นอยู่กับเกตเวย์และสิทธิ์ ดูราคาต่อคำขอที่สำเร็จในแค็ตตาล็อกและบัญชี โดยใช้ราคาบัญชีก่อน ผลลัพธ์ว่างที่สำเร็จก็คิดค่าบริการ คำขอที่ล้มเหลวคืนยอดสำรอง หมดเวลาที่ 60 วินาที ไม่ลองซ้ำหรือแบ่งหน้าอัตโนมัติ ข้อผิดพลาดการชำระไม่เรียกผู้ให้บริการซ้ำ

http
Authorization: Bearer YOUR_API_KEY

ค้นหาประกาศอสังหาริมทรัพย์บน Zillow

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

พารามิเตอร์

ฟิลด์ชนิดข้อจำกัดตัวอย่าง
querystringคำค้น; query: optionalAustin, TX
pageintegerหน้าเริ่มจาก 1; page: optional; min: 1; max: 201
devicestringอุปกรณ์; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanไม่เก็บถาวรคำตอบ; zero_trace: optionaltrue
region_idstringรหัสพื้นที่อสังหาริมทรัพย์ (region_id); region_id: optional; ^[1-9][0-9]{0,9}$-
map_boundsstringขอบเขตแผนที่ (เหนือ,ตะวันออก,ใต้,ตะวันตก) (map_bounds); map_bounds: optional; UTF-8 bytes: 160-
status_typestringประเภทตลาดอสังหาริมทรัพย์ (status_type); status_type: optional; sale, rent, soldsale
pricestringช่วง (min หรือ min,max) (price); price: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$-
bedsstringช่วง (min หรือ min,max) (beds); beds: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$-
bathsstringช่วง (min หรือ min,max) (baths); baths: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$-
sqftstringช่วง (min หรือ min,max) (sqft); sqft: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$-
year_builtstringช่วง (min หรือ min,max) (year_built); year_built: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$-
lot_sizestringช่วง (min หรือ min,max) (lot_size); lot_size: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$-
has_garagebooleanตัวกรองอสังหาริมทรัพย์ (has_garage); has_garage: optionaltrue
single_storybooleanตัวกรองอสังหาริมทรัพย์ (single_story); single_story: optionaltrue
price_reductionbooleanตัวกรองอสังหาริมทรัพย์ (price_reduction); price_reduction: optionaltrue
hide_no_date_listingsbooleanตัวกรองเช่า (hide_no_date_listings); hide_no_date_listings: optionaltrue
short_term_leasebooleanตัวกรองเช่า (short_term_lease); short_term_lease: optionaltrue
home_typestringตัวกรองอสังหาริมทรัพย์ (home_type); home_type: optional-
amenitiesstringตัวกรองอสังหาริมทรัพย์ (amenities); amenities: optional-
viewstringตัวกรองอสังหาริมทรัพย์ (view); view: optional-
basementstringตัวกรองอสังหาริมทรัพย์ (basement); basement: optional-
listing_typestringตัวกรองอสังหาริมทรัพย์ (listing_type); listing_type: optional-
listing_statusstringตัวกรองอสังหาริมทรัพย์ (listing_status); listing_status: optional-
toursstringตัวกรองอสังหาริมทรัพย์ (tours); tours: optional-
petsstringตัวกรองเช่า (pets); pets: optional-
listing_featuresstringตัวกรองเช่า (listing_features); listing_features: optional-
age_55_plusstringตัวกรองอสังหาริมทรัพย์ (age_55_plus); age_55_plus: optional; include, exclude, onlyinclude
time_on_zillowstringตัวกรองอสังหาริมทรัพย์ (time_on_zillow); time_on_zillow: optional; ^(?:[1-9][0-9]{0,4}|6m|12m|24m|36m)$-
keywordsstringตัวกรองอสังหาริมทรัพย์ (keywords); keywords: optional; UTF-8 bytes: 512-
hoa_maxintegerตัวกรองอสังหาริมทรัพย์ (hoa_max); hoa_max: optional; min: 0; max: 10000000
parking_spotsintegerตัวกรองอสังหาริมทรัพย์ (parking_spots); parking_spots: optional; min: 0; max: 1000
spacestringตัวกรองเช่า (space); space: optional; any, entire_place, roomany
move_in_datestringวันเข้าอยู่ (YYYY-MM-DD) (move_in_date); move_in_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$-
sort_bystringการเรียง; sort_by: optional; globalrelevanceex, featured, priced, pricea, paymentd, paymenta, days, beds, baths, size, lot, priorityscoreglobalrelevanceex

การตรวจสอบ

รับเฉพาะพารามิเตอร์คิวรี ไม่รับเนื้อหาคำขอ ปฏิเสธค่าที่ไม่รู้จัก ซ้ำ ว่าง หรือไม่ถูกต้อง รองรับ JSON เท่านั้น ไม่มีการเปลี่ยนหน้าหรือลองใหม่อัตโนมัติ กฎ: AND = ทั้งคู่, OR = หรือ, XOR = อย่างใดอย่างหนึ่ง, NOT = ห้ามใช้, => = ต้องมี

  • 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

ตัวอย่าง

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