Hotel Review Scores API
Get aggregated review scores by category and traveler type for any Booking.com hotel.
Copy for your AI agent
Paste into Claude, ChatGPT, Cursor or Copilot — endpoint, parameters, response fields and a curl example in Markdown.
Overview
Detailed Score Breakdown
This endpoint provides category-level scores (staff, cleanliness, comfort, etc.) and per-traveler-type breakdowns that are not available from the reviews or summary endpoints.
The Hotel Review Scores endpoint returns the overall score, individual category scores on a 1-10 scale, five rating bands, and a breakdown by traveler type (family, couple, solo, group, business).
Endpoint URL
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| hotel_id | string | Required | Booking.com hotel ID (numeric string, e.g., "224399") |
Getting the Hotel ID
Use the /v1/booking/hotel/url-to-id endpoint to convert a Booking.com URL or slug to a numeric hotel ID.
Response Structure
Scores
scores.overall- Overall review score (1-10 scale); null for zero reviewsscores.staff- Staff scorescores.cleanliness- Cleanliness scorescores.comfort- Comfort scorescores.facilities- Facilities scorescores.location- Location scorescores.value_for_money- Value for money scorescores.wifi- WiFi score
Other Fields
total_reviews- Total number of reviewsscore_percentage- Five ordered bands with score_start, score_end (exclusive), score_word, count and whole-number percent: [9,10.1) Wonderful, [7,9) Good, [5,7) Okay, [3,5) Poor, [1,3) Very Poor. Independently rounded percentages may not sum to exactly 100. Empty for zero reviews.
Traveler Type Breakdown
scores_by_traveler_type[].type- Available nonzero canonical types: solo_traveller, couple, family, group_of_friends, review_category_business_travellers. Business overlaps other groups; group_of_friends combines the former separate group/friends rows.scores_by_traveler_type[].overall- Overall score for this available nonzero traveler type (1–10; never null)scores_by_traveler_type[].count- Number of reviews from this typescores_by_traveler_type[].scores- Per-category scores for this type; unavailable optional scores are null
Zero reviews versus an invalid ID
A valid Booking.com property with no reviews returns HTTP 200 with total_reviews: 0 and empty score breakdowns. A numeric hotel_id that does not exist returns HTTP 404 with error_code NOT_FOUND.
The former score_distribution field has been removed. Use score_percentage for the five bands. Examples are illustrative; counts change over time.
Usage Examples
Input requirement
Provide the numeric Booking.com hotel ID in the hotel_id parameter. Example: 224399
Use Case
This endpoint is ideal for building comparison dashboards or tracking score trends across categories and traveler segments.
Error handling and status codes
Status codes: 200 on success; errors use non-2xx (400, 404, 500, 502, 503, 504) with Problem Details.
- 400
INVALID_HOTEL_ID: The hotel_id parameter is missing or not a valid numeric ID. - 404
NOT_FOUND: The numeric hotel_id does not identify a Booking.com property. Valid zero-review properties return 200. - 502
UPSTREAM_ERROR: Review data is unavailable or inconsistent. - 500
INTERNAL_ERROR: Unexpected processing errors.
Error responses (Problem Details)
All Booking.com hotel endpoints return errors using RFC 7807 Problem Details.
{
"type": "https://api.stayapi.com/errors/invalid-url",
"title": "Invalid URL",
"status": 400,
"detail": "Parameter 'url' must be a full Booking.com hotel URL of the form https://www.booking.com/hotel/{cc}/{slug}.html.",
"error_code": "INVALID_URL",
"provided": "baan-coconut"
}
Media type: application/problem+json
Standard fields: type, title, status, detail
Extensions: error_code and any endpoint-specific fields
2xx policy: 2xx is returned only when data extraction succeeds.