Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Airbnb Search

https://api.sandbase.ai/v1/api/airbnb/search

Search Airbnb stays by location and dates, with listing name, price, rating, reviews, room type, photos and coordinates.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 26 tùy chọn

Phòng thử nghiệm

Đầu vào
Parameter defines the destination to search for. You can use anything that you would use in a regular Airbnb search: a city, a region, a neighborhood, an address, or a landmark (e.g., `Austin, TX`, `Lake Tahoe`, or `Paris, France`). Either `q` or `map_bounds` should be set.
Parameter defines the GPS coordinates of the map area to search in, like moving the map on Airbnb. Only places within these bounds are shown. Its value must be 4 comma-separated numbers matching the following format: `north` + `,` + `east` + `,` + `south` + `,` + `west` `north` and `south` are latitudes, and `east` and `west` are longitudes (e.g., `30.30,-97.70,30.24,-97.78` for Downtown Austin, TX). Either `q` or `map_bounds` should be set.
Parameter defines the Airbnb domain to use. The domain sets the language, the region, and the default currency of the results (e.g., `airbnb.co.uk` for English (United Kingdom) in GBP, or `fr.airbnb.ca` for French (Canada) in CAD). It defaults to `airbnb.com`. Head to the Airbnb domains page for a full list of supported Airbnb domains.
Parameter defines the currency of the returned prices. It defaults to the currency of the Airbnb domain (e.g., `USD` for `airbnb.com`, or `EUR` for `airbnb.fr`). Head to the Airbnb currencies page for a full list of supported currency codes.
Parameter defines the check-in date. The format is **YYYY-MM-DD** (e.g., `2026-12-12`). It must be used together with `check_out_date`. When dates aren't set, Airbnb suggests dates for each place (usually a 5-night stay), and returns prices for these dates. They are available in `check_in_date` and `check_out_date` of each result.
Parameter defines the check-out date. The format is **YYYY-MM-DD** (e.g., `2026-12-16`). It must be used together with `check_in_date`, and be later than it.
Parameter defines the number of adults (ages 13 or above).
Parameter defines the number of children (ages 2 to 12).
Parameter defines the number of infants (under 2).
Parameter defines the number of pets. When set, only places allowing pets are shown.
Parameter defines the type of place to show. It defaults to any type. Available options: `entire_home` - Entire home `private_room` - Private room To only show hotels, use `hotel` in `property_types`.
Parameter defines the minimum trip price, including all fees, like Airbnb's price range filter (e.g., `500`). It's in the currency of the results. When dates aren't set, it applies to a 5-night stay.
Parameter defines the maximum trip price, including all fees, like Airbnb's price range filter (e.g., `2000`). It's in the currency of the results. When dates aren't set, it applies to a 5-night stay.
Parameter defines the minimum number of bedrooms.
Parameter defines the minimum number of beds.
Parameter defines the minimum number of bathrooms.
Parameter defines the property types to show. It's a comma-separated list of options (e.g., `house,guesthouse`). Available options: `house` - House `apartment` - Apartment `guesthouse` - Guesthouse `hotel` - Hotel
Parameter defines the amenities the places must have. It's a comma-separated list of options (e.g., `wifi,pool,free_parking`). Head to the Airbnb amenities page for a full list of supported amenities.
Parameter defines the accessibility features the places must have. It's a comma-separated list of options (e.g., `step_free_access,step_free_shower`). Head to the Airbnb accessibility features page for a full list of supported accessibility features.
Parameter defines the languages the host must speak. It's a comma-separated list of language codes (e.g., `en,es`). Head to the Airbnb host languages page for a full list of supported languages.
Parameter defines whether to only show places that can be booked without waiting for the host's approval. It can be set to `true` or `false` (default).
Parameter defines whether to only show places with self check-in. It can be set to `true` or `false` (default).
Parameter defines whether to only show Guest favorites, the most loved homes on Airbnb according to guests. It can be set to `true` or `false` (default).
Parameter defines whether to only show Airbnb Luxe places, luxury homes with elevated design. It can be set to `true` or `false` (default).
Value is used to get results on a specific page. (e.g., `1` (default) is the first page of results, `2` is the 2nd page of results, `3` is the 3rd page of results, etc.). Airbnb returns up to 18 results per page, and up to 15 pages.
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Airbnb Search

Search Airbnb stays by location and dates, with listing name, price, rating, reviews, room type, photos and coordinates.

Request

curl -X POST "https://api.sandbase.ai/v1/api/airbnb/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "Austin, Texas"}'

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
qstringNoParameter defines the destination to search for. You can use anything that you would use in a regular Airbnb search: a city, a region, a neighborhood, an address, or a landmark (e.g., Austin, TX, Lake Tahoe, or Paris, France). Either
map_boundsstringNoParameter defines the GPS coordinates of the map area to search in, like moving the map on Airbnb. Only places within these bounds are shown. Its value must be 4 comma-separated numbers matching the following format: north + , + east
airbnb_domainstringNoParameter defines the Airbnb domain to use. The domain sets the language, the region, and the default currency of the results (e.g., airbnb.co.uk for English (United Kingdom) in GBP, or fr.airbnb.ca for French (Canada) in CAD). It defau
currencystringNoParameter defines the currency of the returned prices. It defaults to the currency of the Airbnb domain (e.g., USD for airbnb.com, or EUR for airbnb.fr). Head to the Airbnb currencies page for a full list of supported currency codes
check_in_datestringNoParameter defines the check-in date. The format is YYYY-MM-DD (e.g., 2026-12-12). It must be used together with check_out_date. When dates aren't set, Airbnb suggests dates for each place (usually a 5-night stay), and returns prices
check_out_datestringNoParameter defines the check-out date. The format is YYYY-MM-DD (e.g., 2026-12-16). It must be used together with check_in_date, and be later than it.
adultsstringNoParameter defines the number of adults (ages 13 or above).
childrenstringNoParameter defines the number of children (ages 2 to 12).
infantsstringNoParameter defines the number of infants (under 2).
petsstringNoParameter defines the number of pets. When set, only places allowing pets are shown.
room_typestringNoParameter defines the type of place to show. It defaults to any type. Available options: entire_home - Entire home private_room - Private room To only show hotels, use hotel in property_types.
min_pricestringNoParameter defines the minimum trip price, including all fees, like Airbnb's price range filter (e.g., 500). It's in the currency of the results. When dates aren't set, it applies to a 5-night stay.
max_pricestringNoParameter defines the maximum trip price, including all fees, like Airbnb's price range filter (e.g., 2000). It's in the currency of the results. When dates aren't set, it applies to a 5-night stay.
bedroomsstringNoParameter defines the minimum number of bedrooms.
bedsstringNoParameter defines the minimum number of beds.
bathroomsstringNoParameter defines the minimum number of bathrooms.
property_typesstringNoParameter defines the property types to show. It's a comma-separated list of options (e.g., house,guesthouse). Available options: house - House apartment - Apartment guesthouse - Guesthouse hotel - Hotel
amenitiesstringNoParameter defines the amenities the places must have. It's a comma-separated list of options (e.g., wifi,pool,free_parking). Head to the Airbnb amenities page for a full list of supported amenities.
accessibility_featuresstringNoParameter defines the accessibility features the places must have. It's a comma-separated list of options (e.g., step_free_access,step_free_shower). Head to the Airbnb accessibility features page for a full list of supported accessibility
host_languagesstringNoParameter defines the languages the host must speak. It's a comma-separated list of language codes (e.g., en,es). Head to the Airbnb host languages page for a full list of supported languages.
instant_bookstringNoParameter defines whether to only show places that can be booked without waiting for the host's approval. It can be set to true or false (default).
self_check_instringNoParameter defines whether to only show places with self check-in. It can be set to true or false (default).
guest_favoritestringNoParameter defines whether to only show Guest favorites, the most loved homes on Airbnb according to guests. It can be set to true or false (default).
luxestringNoParameter defines whether to only show Airbnb Luxe places, luxury homes with elevated design. It can be set to true or false (default).
pagestringNoValue is used to get results on a specific page. (e.g., 1 (default) is the first page of results, 2 is the 2nd page of results, 3 is the 3rd page of results, etc.). Airbnb returns up to 18 results per page, and up to 15 pages.
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Airbnb$0.01 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Airbnb Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/airbnb/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.

API Airbnb Search có giá bao nhiêu?

$0.01 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ý.

API Airbnb Search chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: q (string), map_bounds (string), airbnb_domain (string), currency (string), check_in_date (string) và check_out_date (string) và 20 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Airbnb Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của Airbnb không?

Không. Airbnb 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 Airbnb.