latestOpenAPI 3.0.12026-08-101058136.3 KB
0fbdc2f4423a
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.
get/demand-api-v2-compatible/reviewScores
Query parameters
Headers
Accept'application/json, application/xml'
Response
OK
Example response
{
"result": [
{
"hotel_url": "https://www.booking.com/hotel/nl/amsterdam-canal-hotel.html?tab=4&aid=338734&label=hotel-472820_reviewscore",
"score_breakdown": [
{
"average_score": 8.5,
"question": [
{
"score": 8.5
}
]
}
],
"score_distribution": [
{
"count": 435,
"percent": 17.76,
"score": 10
}
]
}
]
}