This endpoint returns the cheapest available product for each hotel matching the search criteria.
This endpoint returns the cheapest available product for each hotel matching the search criteria.
{ "checkin": "2019-08-24", "checkout": "2019-08-24", "booker": { "country": "string", "platform": "ANDROID", "travel_purpose": "BUSINESS", "user_groups": [ "AUTHENTICATED" ] }, "currency": "EUR", "city": 0, "country": "nl", "guests": { "number_of_adults": 0, "number_of_rooms": 0, "allocation": [ { "children": [ 17 ], "number_of_adults": 1 } ], "children": [ 17 ] }, "extras": [ "EXTRA_CHARGES" ], "accommodations": [ 0 ], "accommodation_facilities": [ 0 ], "room_facilities": [ 0 ], "accommodation_types": [ 0 ], "brands": [ 0 ], "airport": "AMS", "district": 0, "landmark": 0, "coordinates": { "latitude": 0.1, "longitude": 0.1, "radius": 0.1 }, "region": 0, "rows": 1000, "page": "string" }
200
OK
{ "data": [ { "id": 0, "currency": "EUR", "deep_link_url": "string", "url": "string", "price": { "base": 0.1, "book": 0.1, "total": 0.1, "extra_charges": { "excluded": 0.1, "included": 0.1, "conditional": 0.1 } }, "products": [ { "id": "string", "policies": { "cancellation": { "free_cancellation_until": "2019-08-24T14:15:22Z", "type": "FREE_CANCELLATION" }, "meal_plan": { "meals": [ null ], "plan": "ALL_INCLUSIVE" }, "payment": { "payment_types": [ null ] } }, "price": { "base": 0.1, "book": 0.1, "total": 0.1, "extra_charges": { "excluded": [ null ], "included": [ null ], "conditional": [ null ] } }, "deal": { "discount_percentage": 0, "public_price": 0.1, "tags": [ "BLACK_FRIDAY" ] } } ] } ], "request_id": "string", "next_page": "string" }
This endpoint returns detailed information on all accommodation properties matching a given search criteria. By default, only basic information is returned. To receive extended information use the extras
parameter. Is is mandatory to pass one of the input parameters: accommodations, airport, city, country or region.
{ "accommodations": [ 0 ], "accommodation_facilities": [ 0 ], "accommodation_types": [ 0 ], "airport": "AMS", "brands": [ 0 ], "city": 0, "country": "nl", "region": 0, "extras": [ "DESCRIPTION" ], "languages": "en-us", "rows": 1000, "page": "string" }
200
OK
{ "data": [ { "id": 0, "name": { "translations": { "property1": "string", "property2": "string" } }, "accommodation_type": 0, "brands": [ 0 ], "checkin_checkout_times": { "checkin_from": { "hour": 0, "minute": 0, "second": 0, "nano": 0 }, "checkin_to": { "hour": 0, "minute": 0, "second": 0, "nano": 0 }, "checkout_from": { "hour": 0, "minute": 0, "second": 0, "nano": 0 }, "checkout_to": { "hour": 0, "minute": 0, "second": 0, "nano": 0 } }, "contacts": { "general": { "email": { "property1": "string", "property2": "string" }, "telephone": { "property1": "string", "property2": "string" } }, "reservations": { "email": { "property1": "string", "property2": "string" }, "telephone": { "property1": "string", "property2": "string" } } }, "currency": "EUR", "facilities": [ { "id": 0, "attributes": [ "OFFSITE" ] } ], "deep_link_url": "string", "description": { "important_information": { "translated_string": { "translations": { "property1": "string", "property2": "string" } }, "non_lazy_translations": { "property1": "string", "property2": "string" } }, "license_numbers": [ "string" ], "text": { "truncate": true, "translated_string": { "translations": { "property1": "string", "property2": "string" } } } }, "is_work_friendly": true, "key_collection_information": [ { "alternate_location": { "address": { "property1": "string", "property2": "string" }, "city": { "property1": "string", "property2": "string" }, "postal_code": "string" }, "checkin_method": "string", "key_location": "string" } ], "location": { "address": { "fallback": "string" }, "city": 0, "coordinates": { "latitude": 52.375859, "longitude": 4.886006 }, "country": "string", "districts": [ 0 ], "postal_code": "string", "regions": [ 0 ] }, "number_of_rooms": 0, "payment": { "payment_types": [ "PAY_LATER" ] }, "photos": [ { "main_photo": true, "tags": [ "string" ], "url": { "large": "string", "standard": "string", "thumbnail": "string", "thumbnail_large": "string" } } ], "policies": { "cancellation": { "free_cancellation_until": "2019-08-24T14:15:22Z", "type": "FREE_CANCELLATION" }, "meal_plan": { "meals": [ "BREAKFAST" ], "plan": "ALL_INCLUSIVE" }, "payment": { "payment_types": [ "PAY_LATER" ] } }, "price_category": "string", "programmes": { "travel_proud": true }, "rating": { "number_of_reviews": 0, "preferred": true, "review_score": 0.1, "stars": 4, "stars_type": "ESTIMATED_BY_ACCOMMODATION" }, "rooms": [ { "id": 0, "name": { "translations": { "property1": "string", "property2": "string" } }, "attributes": [ "NON_SMOKING" ], "bed_options": [ { "bed_configurations": [ null ], "has_bathroom": true, "is_bedroom": true } ], "cribs_and_extra_beds": { "are_allowed": true, "maximum_number_of_cribs": 0, "maximum_number_of_extra_beds": 0 }, "description": { "translations": { "property1": "string", "property2": "string" } }, "facilities": [ 0 ], "maximum_occupancy": { "adults": 0, "children": 0, "total_guests": 0 }, "number_of_rooms": { "bathrooms": 0, "bedrooms": 0, "living_rooms": 0 }, "room_type": 0, "size": 20 } ], "spoken_languages": [ "string" ], "themes": [ 0 ], "url": "string" } ], "request_id": "string", "next_page": "string" }
This endpoint enumerates the internal codes and names, in the selected languages, for relevant accommodation specific types.
These accommodation specific types include the list of facilities that may be available at a property like "Elevator" or "Swimmingpool Outdoor".
For example, the following parameters will return the full list in English (US) and French: {"languages":"en-us","fr"}
.
To get the full list call the endpoint passing an empty body. The codes returned are what is used as input and output for other endpoints in the accommodations namespace.
{ "constants": [ "ACCOMMODATION_TYPES" ], "languages": "en-us" }
200
OK
{ "data": { }, "request_id": "string", "next_page": "string" }