Skip to content

List accommodation review scores

Request

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.

Security
BearerAuth
Query
reviewScoresInputDtoobject(ReviewScoresInputDto)required
Headers
Acceptstring
Value:"application/json, application/xml"
GET
/demand-api-v2-compatible/reviewScores
import requests

url = "https://metasearch-connect-api.booking.com/demand-api-v2-compatible/reviewScores"

query = {
  "reviewScoresInputDto": "hotel_ids=0&affiliate_id=0&language=ar&reviewer_type=SOLO_TRAVELLER"
}

headers = {
  "Accept": "application/json, application/xml",
  "Authorization": "Bearer <YOUR_string_HERE>"
}

response = requests.get(url, headers=headers, params=query)

data = response.json()
print(data)

Responses

OK

Bodyapplication/json
metaobject(Meta)
resultArray of objects(ReviewScoresOutputDto)
Response
{ "meta": { "ruid": "string" }, "result": [ { … } ] }