Retrieve hotel reviews by IDs

Retrieve hotel reviews by IDs

#content-api

πŸ†•
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_ids

In this call can get reviews on the requested hotel 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.