Suggest hotel and region

Suggest hotel and region

🆕
The Sandbox environment is available exclusively to new partners who begin their integration in Q4 2025.
https://api-sandbox.worldota.net/api/b2b/v3/search/multicomplete/

The call searches for a region or hotel by a part of its name.

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

  • language. Input value is ignored, the value is always en.

Response

  • hotels. The maximum items’ number is 5.
  • hotels.region_id. The possible field values:
    • 2011.
    • 2395.
    • 2734.
    • 6053839.
  • regions. The field is always null.

Request example

curl --user '<KEY_ID>:<API_KEY>' 'https://api-sandbox.worldota.net/api/b2b/v3/search/multicomplete/' \
--header 'Content-Type: application/json' \
--data '{
  "query": "Ber",
  "language": "en"
}'

Request body

Response

Response example

{
  "data": {
    "hotels": [
      {
        "id": "appartement_bertandeau_",
        "hid": 6531811,
        "name": "Appartement Bertandeau",
        "region_id": 2734
      },
      {
        "id": "na_levoberezhnoj_411_apartaments",
        "hid": 8756138,
        "name": "Na Levoberezhnoj; 4-11 Apartaments",
        "region_id": 2395
      },
      {
        "id": "one_bedroom_apartment_dubai_fountain_old_town_view_by_auberge",
        "hid": 10579396,
        "name": "One Bedroom Apartment Dubai Fountain & Old Town View by Auberge",
        "region_id": 6053839
      },
      {
        "id": "lokappart_enghien_number_2",
        "hid": 8313382,
        "name": "Lokappart - Enghien Number 2",
        "region_id": 2734
      },
      {
        "id": "cmg_butte_montmartre_berthe_i",
        "hid": 9812204,
        "name": "CMG Butte Montmartre Berthe I",
        "region_id": 2734
      }
    ],
    "regions": []
  },
  "debug": {
    "api_endpoint": {
      "endpoint": "api/b2b/v3/search/multicomplete",
      "is_active": true,
      "is_limited": true,
      "remaining": 29,
      "requests_number": 30,
      "reset": "2025-09-28T10:00:00",
      "seconds_number": 60
    },
    "request": {
      "query": "Ber",
      "language": "en"
    },
    "method": "POST",
    "real_ip": "10.97.2.10",
    "request_id": "d47d04bcbb967784b348035554965255",
    "key_id": 6,
    "api_key_id": 6,
    "utcnow": "2025-09-28T09:59:51.867753"
  },
  "status": "ok",
  "error": null
}

Errors

The error field has the value specified in the headers below.

invalid_params

The query field is required.

core_search_error

An internal search error. Has 500 status code.