locationstringbắt buộc
Location slug matching Zoopla URL structure (e.g., 'london', 'manchester', 'se1', 'oxford').
https://api.sandbase.ai/v1/api/zoopla/search-properties-to-rentSearch properties to rent in a specific UK location. Returns paginated results including featured and regular rental listings with monthly price, address, property type, and listing metadata. Each page returns ~25 listings.
Đầ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 properties to rent in a specific UK location. Returns paginated results including featured and regular rental listings with monthly price, address, property type, and listing metadata. Each page returns ~25 listings.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "zoopla/search-properties-to-rent", "page": 1, "radius": 5, "location": "london", "max_beds": 4, "min_beds": 1, "max_price": 2000, "min_price": 500, "property_type": "detached"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
location | string | Yes | Location slug matching Zoopla URL structure (e.g., 'london', 'manchester', 'se1', 'oxford'). |
max_beds | integer | No | Maximum number of bedrooms. |
max_price | integer | No | Maximum monthly rent in GBP (pcm). |
min_beds | integer | No | Minimum number of bedrooms. |
min_price | integer | No | Minimum monthly rent in GBP (pcm). |
page | integer | No | Page number for pagination. |
property_type | string | No | Property type slug. |
radius | integer | No | Search radius in miles. |
Flat $0.03 per call. Failed calls are not charged.
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/zoopla/search-properties-to-rent" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"radius": 5,
"location": "london",
"max_beds": 4,
"min_beds": 1,
"max_price": 2000,
"min_price": 500,
"property_type": "detached"
}'Đặ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.
locationstringbắt buộcLocation slug matching Zoopla URL structure (e.g., 'london', 'manchester', 'se1', 'oxford').
pageintegerPage number for pagination.
Mặc định: 1
radiusintegerSearch radius in miles.
max_bedsintegerMaximum number of bedrooms.
min_bedsintegerMinimum number of bedrooms.
max_priceintegerMaximum monthly rent in GBP (pcm).
min_priceintegerMinimum monthly rent in GBP (pcm).
property_typestringProperty type slug.
Đâ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 |
|---|---|---|
Zoopla | $0.03 mỗi lần gọi | JSON |
Zoopla | $0.09 mỗi lần gọi | JSON |
Zoopla | $0.03 mỗi lần gọi | JSON |
Zoopla | $0.09 mỗi lần gọi | JSON |
Zoopla | $0.06 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/zoopla/search-properties-to-rent 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.03 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ý.
Bắt buộc: location (string). Tùy chọn: page (integer), radius (integer), max_beds (integer), min_beds (integer), max_price (integer) và min_price (integer) và 1 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).
Không. Zoopla Search Properties To Rent 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 Zoopla.