Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

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.

价格
$0.01美元 / 次调用
方法
POST
响应
JSON
参数
0 个必填 · 26 个可选

Playground

输入
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.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

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.

探索更多

相关 APIs

全部 APIs
API价格响应
Airbnb$0.01 每次调用JSON

问题

常见问题

如何使用 Airbnb Search API?

向 https://api.sandbase.ai/v1/api/airbnb/search 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Airbnb Search API 的价格是多少?

每次调用 $0.01,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Airbnb Search API 接受哪些参数?

无需参数。 可选:q (string), map_bounds (string), airbnb_domain (string), currency (string), check_in_date (string) 和 check_out_date (string) 以及另外 20 项。 Parameters 表和本页的 Playground 列出了每个字段。

Airbnb Search API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。

我需要 Airbnb 开发者账户或 API key 吗?

不需要。Airbnb Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Airbnb API 访问权限。