GET /v1/hotels/{hotelId}
Returns static hotel detail (name, stars, address, images, amenities, reviews). Use ?view=detail for the richer UI projection.
Operation ID: getHotel
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
hotelId |
path | integer | yes | |
locale |
query | string | no | |
view |
query | default | detail |
no |
Responses
| Status | Description |
|---|---|
200 |
Hotel detail (agent default) or the detail projection. |
400 |
Invalid request parameters. |
401 |
Missing or invalid bearer token. |
404 |
Unknown/expired search, or unknown hotel. |
429 |
Rate limit exceeded; retry after the Retry-After seconds. |
502 |
The upstream hotels service returned an invalid response. |
503 |
The hotels service is unavailable; retry after the Retry-After seconds. |
Example
curl -s -H "Authorization: Bearer $TOKEN" \
"https://api.wego.com/v1/hotels/$HOTEL_ID"