OpenStays Property Passports
v2.0.1Search short-term rentals worldwide and book directly with the owner.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_stays Search OpenStays accommodation
Search public OpenStays Property Passports: short-term rentals that guests book directly with the owner. It searches the whole world or one country, region or town, by a property's name, and by any fact a Passport states: bedrooms, bathrooms, beds, guests, property type, amenities such as a pool or a sea view, house rules such as pets, and booking terms. Every argument is optional and each one narrows the search. A property's name alone finds it. bedrooms is an exact number and minBedrooms is a minimum. A fact matches only when the owner's Passport states it, so a filter can miss a home whose…
| Parameter | Type | Description |
|---|---|---|
amenities | array | Amenities the home must have, all of them, for example ["pool", "wifi"]. |
bedrooms | integer | Exactly this many bedrooms. For a five-bedroom house, send 5. |
bookingConfirmation | string | instant: a booking is confirmed at once. on_request: the owner confirms it. |
businessTravel | boolean | Only homes whose Passport says they suit business travel. |
cancellationCategory | array | The cancellation terms you accept, for example ["flexible", "moderate"]. |
checkIn | string | The arrival day, as YYYY-MM-DD. Send it with checkOut. |
checkOut | string | The departure day, as YYYY-MM-DD, at most 90 nights after checkIn. |
children | array | The owner's rule on children. List every answer you accept, for example ["allowed", "by_request"]. by_request means the owner decides case by case. |
country | string | One country or territory name or supported exact alias, for example New Zealand or NZ. Leave it out to search every country. |
currency | string | The currency of maxPricePerNight, as a three-letter code such as USD. It can differ from the owner's currency: the budget is converted with the day's reference rates. |
destination | string | A country, locality or region. Without country, this must identify one country among public Passport locations. With country, use this for an optional locality or region. |
events | array | The owner's rule on events and parties. List every answer you accept, for example ["allowed", "by_request"]. by_request means the owner decides case by case. |
families | boolean | Only homes whose Passport says they suit families. |
longStays | boolean | Only homes whose Passport says they suit long stays. |
maxMinimumStayNights | integer | The longest minimum stay the guest accepts, in nights. For a three-night trip, send 3. |
maxPricePerNight | number | The most the guest wants to pay for one night. Send it with currency. With dates it is compared with the published price for those nights, otherwise with the lowest published nightly price. |
minBathrooms | number | |
minBedrooms | integer | At least this many bedrooms. Never send it together with bedrooms. |
minBeds | integer | |
minGuests | integer | |
name | string | The name of one property, or part of it, for example Hinterland Harmony. You can search by name alone, without giving a country. |
page | integer | The page of results, starting at 1. Send the nextPage value of the previous answer. Needs at least one other argument. |
pets | array | The owner's rule on pets. List every answer you accept, for example ["allowed", "by_request"]. by_request means the owner decides case by case. |
propertyType | string | Public accommodation type, for example villa or cottage. |
smoking | array | The owner's rule on smoking. List every answer you accept, for example ["allowed", "by_request"]. by_request means the owner decides case by case. |
weddings | array | The owner's rule on weddings. List every answer you accept, for example ["allowed", "by_request"]. by_request means the owner decides case by case. |
get_property_passport Get one OpenStays Property Passport
Retrieve one Property Passport in full by the passportId of a search_stays result: every fact the owner states, the photos, and the owner's own booking channels in contact_routes, where the guest books. The Passport follows the schema at https://openstays.ai/passport-schema/latest/passport.schema.json, without the addresses of its own pages.
| Parameter | Type | Description |
|---|---|---|
passportId * | string | The passportId of a search_stays result, exactly as returned, or the link of a Passport page that the user gave. |