Call it
curl https://api.peume.com/v1/call/airbnb-search-vacation-rentals \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"pets": "your pets",
"amenities": "your amenities"
}
}'const res = await fetch("https://api.peume.com/v1/call/airbnb-search-vacation-rentals", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"pets": "your pets",
"amenities": "your amenities"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/airbnb-search-vacation-rentals",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"pets": "your pets",
"amenities": "your amenities"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: airbnb-search-vacation-rentals.
Parameters
petsstringThe number of pets. When set, only places allowing pets are shown.
amenitiesstringThe amenities the places must have. It's a comma-separated list of options (e.g., `wifi,pool,free_parking`).
accessibility_featuresstringThe accessibility features the places must have. It's a comma-separated list of options (e.g., `step_free_access,step_free_shower`).
check_out_datestringThe check-out date. The format is **YYYY-MM-DD** (e.g., `2027-01-05`). It must be used together with `check_in_date`, and be later than it.
luxestringWhether to only show Airbnb Luxe places, luxury homes with elevated design. It can be set to `true` or `false` (default).
adultsstringThe number of adults (ages 13 or above).
map_boundsstringThe 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.
childrenstringThe number of children (ages 2 to 12).
currencystringThe 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`).
host_languagesstringThe languages the host must speak. It's a comma-separated list of language codes (e.g., `en,es`).
guest_favoritestringWhether to only show Guest favorites, the most loved homes on Airbnb according to guests. It can be set to `true` or `false` (default).
airbnb_domainstringThe 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`.
infantsstringThe number of infants (under 2).
bathroomsstringThe minimum number of bathrooms.
bedroomsstringThe minimum number of bedrooms.
qstringThe 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.
max_pricestringThe 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.
min_pricestringThe 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.
property_typesstringThe 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
instant_bookstringWhether to only show places that can be booked without waiting for the host's approval. It can be set to `true` or `false` (default).
pagestringValue 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.
bedsstringThe minimum number of beds.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
check_in_datestringThe check-in date. The format is **YYYY-MM-DD** (e.g., `2027-01-01`). 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.
room_typestringThe 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`.
self_check_instringWhether to only show places with self check-in. It can be set to `true` or `false` (default).
