เอกสาร API Hop
เอกสารอ้างอิง Zillow
ค้นหาประกาศอสังหาริมทรัพย์บน Zillow
ขีดจำกัดการทำงานพร้อมกัน
AI และ Data ใช้โควตาคำขอพร้อมกันร่วมกันภายในแต่ละหมวดของบัญชี ค่าเริ่มต้นคือ 5 AI / 2 Data และปรับตามแพ็กเกจสมาชิก ขีดจำกัดเฉพาะ endpoint ยังอยู่ภายใต้ขีดจำกัดรวมของหมวด เมื่อถึงขีดจำกัดใดจะส่ง HTTP 429 งานอะซิงโครนัสใช้ช่องจนกว่าการทำงานจะสิ้นสุด
GET /v1/zillow/search ค้นหาประกาศอสังหาริมทรัพย์บน Zillow
การยืนยันตัวตนและค่าบริการ
ราคามาตรฐานต่อคำขอที่สำเร็จคือ $0.0003 (300 credits) ใช้คีย์ API ของ API Hop การเข้าถึงขึ้นอยู่กับเกตเวย์และสิทธิ์ ดูราคาต่อคำขอที่สำเร็จในแค็ตตาล็อกและบัญชี โดยใช้ราคาบัญชีก่อน ผลลัพธ์ว่างที่สำเร็จก็คิดค่าบริการ คำขอที่ล้มเหลวคืนยอดสำรอง หมดเวลาที่ 60 วินาที ไม่ลองซ้ำหรือแบ่งหน้าอัตโนมัติ ข้อผิดพลาดการชำระไม่เรียกผู้ให้บริการซ้ำ
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 | ช่วง (min หรือ min,max) (price); price: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
beds | string | ช่วง (min หรือ min,max) (beds); beds: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
baths | string | ช่วง (min หรือ min,max) (baths); baths: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
sqft | string | ช่วง (min หรือ min,max) (sqft); sqft: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
year_built | string | ช่วง (min หรือ min,max) (year_built); year_built: optional; UTF-8 bytes: 80; ^(?:[0-9]+(?:\.[0-9]+)?)?(?:,(?:[0-9]+(?:\.[0-9]+)?)?)?$ | - |
lot_size | string | ช่วง (min หรือ min,max) (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
ตัวอย่าง
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
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}