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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp 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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
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.
Giá trị có thể dùng: 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.
Giá trị có thể dùng: for_sale, sold
timeoutnumberSeconds the data source may spend before giving up (max 50, default 50). A timed-out call is not billed.
Mặc định: 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.
Giá trị có thể dùng: 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.
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Redfin SearchAPI này Redfin | $0.00015 mỗi lần gọi | JSON bất đồng bộ |
Redfin | Từ $0.0008 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/redfin/search với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.00015 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Không có tham số bắt buộc. Tùy chọn: url (string), sort (một trong số newest, price_asc, price_desc, recommended, sqft), limit (integer), status (một trong số for_sale, sold), timeout (number) và max_beds (integer) và 11 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Kết quả JSON. Endpoint này chạy bất đồng bộ, nên phản hồi sẽ cho bạn biết cách lấy kết quả hoàn tất.
Không. Redfin Search chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Redfin.