Retrieve hotel reviews by IDs
π
The Sandbox environment is available exclusively to new partners who begin their integration in Q4 2025.
https://api.worldota.net/api/content/v1/hotel_reviews_by_idsIn this call can get reviews on the requested hotel IDs.
βΉοΈ
- Use this call instead of call Retrieve hotel reviewsβ dump.
- Use this call after Retrieve hotels content by IDs.
Sandbox limitations
β οΈ
Use only field values, IDs, API keys, and any static content from the sandbox environment within the sandbox. Do not use sandbox data in test or production environments, and do not mix data or configuration between different environments.
Request example
βΉοΈ
Only one of HIDs or IDs can be specified in the request.
curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/content/v1/hotel_reviews_by_ids/' \
--header 'Content-Type: application/json' \
--data '{
"language": "en",
"hids": [6905392]
}'curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/content/v1/hotel_reviews_by_ids/' \
--header 'Content-Type: application/json' \
--data '{
"ids": [
"hostellerie_du_marais"
]
"language": "en"
}'Request body
Response
Response example
{
"data": [
{
"id": "hostellerie_du_marais",
"hid": 6905392,
"reviews": [
{
"id": 418560,
"review_plus": "Yes Place des Vosges\r\nBreakfast was a variety of croissantβs, baguettes, bakery pieces, juice, cafe, cheese, ham, yogurt and fruit.\r\nThe room was comfortable, great view over the rooftops where you could watch the sunset. Very clean.\r\nYes very clean and a central area for coffee and afternoon drinks.\r\nGreat welcome, service, and looking after you. Any issue or question that arose addressed quickly and professionally. Felt like a family looking after you.",
"review_minus": "",
"created": "2022-05-09 10:27:57.030573+00",
"author": "Linda",
"adults": 1,
"children": 0,
"room_name": "Standard Single room",
"nights": 7,
"images": null,
"detailed_review": {
"cleanness": 9,
"location": 10,
"price": 10,
"services": 10,
"room": 9,
"meal": 10,
"wifi": "perfect",
"hygiene": "unspecified"
},
"traveller_type": "solo_travel",
"trip_type": "leisure",
"rating": 9.7
}
]
}
],
"debug": {
"api_endpoint": {
"endpoint": "",
"is_active": false,
"is_limited": false,
"remaining": 0,
"requests_number": 0,
"reset": "",
"seconds_number": 0
},
"request": {
"language": "en",
"hids": [
6905392
]
},
"method": "",
"real_ip": "",
"request_id": "",
"key_id": 0,
"api_key_id": 0,
"utcnow": ""
},
"status": "ok",
"error": null
}Errors
The error field has the value specified in the headers below.
invalid_params
One or more input parameters are incorrect. For more details, see the response field debug validation_error.
no_hotel_reviews
An internal search error. Has 500 status code.