urlstring
Redfin city, ZIP, county or neighborhood search URL. Existing URL filters are retained unless overridden. Supply one location: a region URL, region_id with region_type, or map_bounds.
https://api.sandbase.ai/v1/api/redfin/searchSearch Redfin home listings by region, map bounds or search URL with price, beds, baths, size, status and property type filters, returning address, price and listing details.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Search Redfin home listings by region, map bounds or search URL with price, beds, baths, size, status and property type filters, returning address, price and listing details.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/redfin/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.redfin.com/city/30749/TX/Austin",
"timeout": 50
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
urlstringRedfin city, ZIP, county or neighborhood search URL. Existing URL filters are retained unless overridden. Supply one location: a region URL, region_id with region_type, or map_bounds.
sortstringResult ordering. Defaults to recommended when no URL is supplied.
ค่าที่เป็นไปได้: newest, price_asc, price_desc, recommended, sqft
limitintegerMaximum listings returned. Narrow the region or map bounds when results reach this limit. The response does not advertise pagination or a total count. If search_information.possibly_truncated is true, narrow the location or filters.
statusstringListing status. Defaults to for_sale when no URL is supplied.
ค่าที่เป็นไปได้: for_sale, sold
timeoutnumberSeconds the data source may spend before giving up (max 50, default 50). A timed-out call is not billed.
ค่าเริ่มต้น: 50
max_bedsintegerMaximum number of bedrooms.
max_sqftintegerMaximum interior area in square feet.
min_bedsintegerMinimum number of bedrooms.
min_sqftintegerMinimum interior area in square feet.
max_priceintegerMaximum listing price in US dollars.
min_bathsnumberMinimum number of bathrooms.
min_priceintegerMinimum listing price in US dollars.
region_idintegerRedfin region identifier; requires region_type.
map_boundsstringMap rectangle as north,east,south,west.
region_typeanyRegion kind: 1 neighborhood, 2 ZIP region, 5 county, 6 city, 11 state. A ZIP region identifier differs from the ZIP code. Use a Redfin ZIP search URL if the region identifier is unknown.
property_typestringRestrict results to one property type.
ค่าที่เป็นไปได้: co_op, condo, house, land, manufactured, multi_family, other, townhouse
sold_within_daysintegerSold listings from the last N days; requires status=sold. Defaults to 180 for sold searches.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Redfin SearchAPI นี้ Redfin | $0.00015 ต่อการเรียก | Async JSON |
Redfin | เริ่มต้นที่ $0.0008 ต่อครั้ง | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/redfin/search โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.00015 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: url (string), sort (หนึ่งใน newest, price_asc, price_desc, recommended, sqft), limit (integer), status (หนึ่งใน for_sale, sold), timeout (number) และ max_beds (integer) และอีก 11 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
ผลลัพธ์ JSON จุดเชื่อมต่อนี้ทำงานแบบอะซิงโครนัส ดังนั้นการตอบกลับจะบอกวิธีดึงผลลัพธ์ที่เสร็จแล้ว
ไม่จำเป็น Redfin Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Redfin API แยกต่างหาก