Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

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.

Harga
$0.01USD / panggilan
Metode
POST
Respons
JSON
Parameter
0 wajib · 26 opsional

Playground

Input
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.
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik 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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Airbnb$0.01 per panggilanJSON

Pertanyaan

FAQ

Bagaimana cara menggunakan API Airbnb Search?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/airbnb/search dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Airbnb Search?

$0.01 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Airbnb Search?

Tidak ada parameter yang wajib. Opsional: q (string), map_bounds (string), airbnb_domain (string), currency (string), check_in_date (string) dan check_out_date (string) dan 20 lainnya. Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Airbnb Search?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron).

Apakah saya memerlukan akun developer atau kunci API Airbnb?

Tidak. Airbnb Search berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Airbnb secara terpisah.