demand-api-v2-compatible

List accommodation review scores

Gives information about review scores for specified hotel_ids and filter. The information consists of score breakdown per reviewer_type and review questions, and overall score distribution per score value (1 - 10).

The available filter is input parameter reviewer_type=... . It allows generating review score information for just one reviewer type.

Language in which the response is rendered can be controlled with the input parameter language=... (default: 'en'). Setting the language will reflect on the output fields question and review_score_word.

One additional output field can be requested with input parameter extras=review_score_word.

SecurityHTTP: BearerAuth
Request
query Parameters
required
object (ReviewScoresInputDto)
header Parameters
Accept
string
Value: "application/json, application/xml"
get
/demand-api-v2-compatible/reviewScores
Responses

200

OK

Response Schema: application/json
object (Meta)
Array of objects (ReviewScoresOutputDto)
Response samples
application/json
{ "meta": { "ruid": "string" }, "result": [ ] }

Get details of accommodations

This call returns the hotel and room data. By default, only hotel_id is returned in the output.

One of the argument: hotel_ids, city_ids, country_ids, region_ids, district_ids, chain_ids is mandatory.

Additional data needs to be requested via extras parameter.

The data is returned in English by default.

SecurityHTTP: BearerAuth
Request
query Parameters
required
object (HotelsInputDto)
header Parameters
Accept
string
Value: "application/json, application/xml"
get
/demand-api-v2-compatible/hotels
Responses

200

OK

Response Schema: application/json
object (Meta)
Array of objects (HotelsOutputDto)
Response samples
application/json
{ "meta": { "ruid": "string" }, "result": [ ] }

List hotel types

This endpoint returns hotel types names and their translations. (EN is default)

SecurityHTTP: BearerAuth
Request
query Parameters
required
object (HotelTypeInputDTO)
header Parameters
Accept
string
Value: "application/json"
get
/demand-api-v2-compatible/hotelTypes
Responses

200

OK

Response Schema: application/json
object (Meta)
Array of objects (HotelTypesOutputDto)
Response samples
application/json
{ "meta": { "ruid": "string" }, "result": [ ] }

List hotel theme types

This endpoint returns a list of hotel theme types (in English).

SecurityHTTP: BearerAuth
Request
query Parameters
required
object (HotelThemeTypeInputDTO)
header Parameters
Accept
string
Value: "application/json"
get
/demand-api-v2-compatible/hotelThemeTypes
Responses

200

OK

Response Schema: application/json
object (Meta)
Array of objects (HotelThemeTypesOutputDto)
Response samples
application/json
{ "meta": { "ruid": "string" }, "result": [ ] }

List facility room types

This endpoint returns room facility types names and their translations (EN is default).

SecurityHTTP: BearerAuth
Request
query Parameters
required
object (HotelFacilityInputDto)
header Parameters
Accept
string
Value: "application/json"
get
/demand-api-v2-compatible/hotelFacilityTypes
Responses

200

OK

Response Schema: application/json
object (Meta)
Array of objects (HotelFacilityTypeOutputDto)
Response samples
application/json
{ "meta": { "ruid": "string" }, "result": [ ] }

List available hotel rooms

This endpoint returns the cheapest available room for each hotel matching your check-in and check-out dates. You can search for hotels in a city, or for a specific list of (upto 300) hotels by hotel_ids. Here you will find whether the price included breakfast or other meals, as well as whether it is possible to cancel for free. It is possible to have a breakdown of the price returned by this endpoint and to filter by property types and/or hotel facilities.

SecurityHTTP: BearerAuth
Request
query Parameters
required
object (HotelAvailabilityInputDto)
header Parameters
Accept
string
Value: "application/json"
get
/demand-api-v2-compatible/hotelAvailability
Responses

200

OK

Response Schema: application/json
object (Meta)
Array of objects (HotelAvailabilityOutputDto)
Response samples
application/json
{ "meta": { "ruid": "string" }, "result": [ ] }

List all bookable rooms at a property

This endpoint is where you find a list of all bookable or available rooms at a property. A room can have multiple blocks, as a block is a combination of the meal, cancellation policy, occupancy and other things. You can find detailed information about one hotel per search (detail_level) which will return most of the information needed to replicate the booking.com property page.

If you want to search multiple hotels, you can, but you get less detail. For searching multiple hotels, it is recommended to use hotelAvailability.

SecurityHTTP: BearerAuth
Request
query Parameters
required
object (BlockAvailabilityInputDto)
header Parameters
Accept
string
Value: "application/json, application/xml"
get
/demand-api-v2-compatible/blockAvailability
Responses

200

OK

Response Schema:
object (Meta)
Array of objects (BlockAvailabilityOutputDto)
Response samples
{ "meta": { "ruid": "string" }, "result": [ ] }