Hotel Reviews Summary API
Get review metadata including total count, language breakdown, traveler types, and topics for any Booking.com hotel.
Overview
Accurate Total Counts
This endpoint provides accurate total review counts and breakdowns that are not available from the reviews endpoint.
The Hotel Reviews Summary endpoint provides review metadata including the total review count, breakdown by language, traveler type, and popular topics mentioned in reviews.
Endpoint URL
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: Upstream indicates the hotel is missing.
- 502
UPSTREAM_ERROR: Upstream non-2xx or API errors. - 503 Service Unavailable: Upstream rate-limited/maintenance (may include
Retry-After). - 504 Upstream Timeout: The provider timed out.
- 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.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| hotel_id | string | Required | Booking.com hotel ID (numeric string, e.g., "1302021") |
Getting the Hotel ID
You can get the hotel_id from the /v1/booking/hotel/details endpoint response.
Response Structure
Summary Data
total_reviews- Total number of reviews for this hotellanguages- Breakdown of reviews by language (array of name/count)traveler_types- Breakdown by traveler type (array of name/count)topics- Popular topics mentioned in reviews (array of name/count)
Usage Examples
Input requirement
Provide the numeric Booking.com hotel ID in the hotel_id parameter. Example: 1302021
Performance Tip
Use this endpoint when you need accurate total counts or review breakdowns. For individual reviews, use the /hotel/reviews endpoint.