Retrieve hotelpage

#affiliate

https://api.worldota.net/api/b2b/v3/search/hp/
ℹ️
  • This call is required for the general pre-booking integration.
  • Request this call only when the user has chosen the hotel.
  • Don’t request this call for each of the hotels found from the calls made by the SERP mechanism.

The call gets the hotel available rates. Show this information to the user when they have chosen the hotel and want to see the rates.

ℹ️

The limitations:

  • The recommended rate lifetime is 30 minutes.
  • The actual rate lifetime is longer and depends on different internal factors.

Request example

ℹ️
Either Numeric hotel identifier (HID) field or the Alphabetic hotel identifier (ID) field is required.
curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/b2b/v3/search/hp/' \
--header 'Content-Type: application/json' \
--data '{
  "checkin": "2025-11-25",
  "checkout": "2025-11-26",
  "residency": "us",
  "language": "en",
  "guests": [
      {
          "adults": 2,
          "children": []
      }
  ],
  "timeout": 8,
  "hid": 8473727,
  "currency": "EUR"
}'
curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/b2b/v3/search/hp/' \
--header 'Content-Type: application/json' \
--data '{
  "checkin": "2025-11-25",
  "checkout": "2025-11-26",
  "residency": "us",
  "language": "en",
  "guests": [
      {
          "adults": 2,
          "children": []
      }
  ],
  "timeout": 8,
  "id": "test_hotel_do_not_book",
  "currency": "EUR"
}'

Request body

Response

Response example

{
  "data": {
    "hotels": [
      {
        "id": "test_hotel_do_not_book",
        "hid": 8473727,
        "rates": [
          {
            "book_hash": "h-f655bdf3-6ba3-5491-938b-ea5d16618ccb",
            "match_hash": "m-24a3978b-9334-575a-b2e0-73b6c064b0c8",
            "daily_prices": [
              "2.00"
            ],
            "meal": "nomeal",
            "meal_data": {
              "value": "nomeal",
              "has_breakfast": false,
              "no_child_meal": true
            },
            "payment_options": {
              "payment_types": [
                {
                  "amount": "269.00",
                  "show_amount": "2.00",
                  "currency_code": "RUB",
                  "show_currency_code": "EUR",
                  "by": "credit_card",
                  "is_need_credit_card_data": true,
                  "is_need_cvc": true,
                  "type": "now",
                  "tax_data": {
                    "taxes": [
                      {
                        "name": "city_tax",
                        "included_by_supplier": false,
                        "amount": "784.71",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "electricity_fee",
                        "included_by_supplier": true,
                        "amount": "0.06",
                        "currency_code": "EUR"
                      },
                      {
                        "name": "service_fee",
                        "included_by_supplier": false,
                        "amount": "15.24",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "vat",
                        "included_by_supplier": false,
                        "amount": "353.99",
                        "currency_code": "HNL"
                      }
                    ]
                  },
                  "cancellation_penalties": {
                    "policies": [
                      {
                        "start_at": null,
                        "end_at": "2025-11-24T20:00:00",
                        "amount_charge": "0.00",
                        "amount_show": "0.00"
                      },
                      {
                        "start_at": "2025-11-24T20:00:00",
                        "end_at": null,
                        "amount_charge": "269.00",
                        "amount_show": "2.00"
                      }
                    ],
                    "free_cancellation_before": "2025-11-24T20:00:00"
                  }
                }
              ]
            },
            "rg_ext": {
              "class": 3,
              "quality": 2,
              "sex": 0,
              "bathroom": 2,
              "bedding": 3,
              "family": 0,
              "capacity": 2,
              "club": 0,
              "bedrooms": 0,
              "balcony": 0,
              "view": 0,
              "floor": 0
            },
            "room_name": "Standard Double room (full double bed)",
            "room_name_info": null,
            "serp_filters": [
              "has_bathroom",
              "has_internet"
            ],
            "allotment": 11,
            "amenities_data": [
              "non-smoking"
            ],
            "any_residency": true,
            "deposit": null,
            "no_show": null,
            "room_data_trans": {
              "main_room_type": "Standard Double room",
              "main_name": "Standard Double room",
              "bathroom": null,
              "bedding_type": "full double bed",
              "misc_room_type": null
            },
            "legal_info": {
              "provider": {
                "name": "",
                "address": "",
                "taxpayer_number": "0000000000",
                "state_registration_number": "0000000000000"
              },
              "hotel": {
                "name": "ООО \"ОТЕЛЬ БЛЮЗ\"",
                "address": "119048, г Москва, ул Доватора, д 8, ком 1",
                "taxpayer_number": "7704334789",
                "state_registration_number": "5157746025707",
                "work_time": "from 9-18 local time"
              }
            },
            "is_package": false
          },
          {
            "book_hash": "h-64cdb391-8d5e-5f35-9e96-3bd3dc10b854",
            "match_hash": "m-053af2a0-0da1-5d3a-8d50-d493a1e1bc09",
            "daily_prices": [
              "2.00"
            ],
            "meal": "nomeal",
            "meal_data": {
              "value": "nomeal",
              "has_breakfast": false,
              "no_child_meal": true
            },
            "payment_options": {
              "payment_types": [
                {
                  "amount": "2.70",
                  "show_amount": "2.00",
                  "currency_code": "USD",
                  "show_currency_code": "EUR",
                  "by": null,
                  "is_need_credit_card_data": false,
                  "is_need_cvc": false,
                  "type": "hotel",
                  "tax_data": {
                    "taxes": [
                      {
                        "name": "city_tax",
                        "included_by_supplier": false,
                        "amount": "784.71",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "electricity_fee",
                        "included_by_supplier": true,
                        "amount": "0.06",
                        "currency_code": "EUR"
                      },
                      {
                        "name": "service_fee",
                        "included_by_supplier": false,
                        "amount": "13.71",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "vat",
                        "included_by_supplier": false,
                        "amount": "353.99",
                        "currency_code": "HNL"
                      }
                    ]
                  },
                  "cancellation_penalties": {
                    "policies": [
                      {
                        "start_at": null,
                        "end_at": "2025-11-24T20:00:00",
                        "amount_charge": "0.00",
                        "amount_show": "0.00"
                      },
                      {
                        "start_at": "2025-11-24T20:00:00",
                        "end_at": null,
                        "amount_charge": "2.70",
                        "amount_show": "2.00"
                      }
                    ],
                    "free_cancellation_before": "2025-11-24T20:00:00"
                  }
                }
              ]
            },
            "rg_ext": {
              "class": 3,
              "quality": 2,
              "sex": 0,
              "bathroom": 2,
              "bedding": 3,
              "family": 0,
              "capacity": 2,
              "club": 0,
              "bedrooms": 0,
              "balcony": 0,
              "view": 0,
              "floor": 0
            },
            "room_name": "Standard Double room (full double bed)",
            "room_name_info": null,
            "serp_filters": [
              "has_bathroom",
              "has_internet"
            ],
            "allotment": 11,
            "amenities_data": [
              "non-smoking"
            ],
            "any_residency": true,
            "deposit": null,
            "no_show": {
              "amount": "2.00",
              "currency_code": "USD",
              "from_time": "12:00:00"
            },
            "room_data_trans": {
              "main_room_type": "Standard Double room",
              "main_name": "Standard Double room",
              "bathroom": null,
              "bedding_type": "full double bed",
              "misc_room_type": null
            },
            "legal_info": {
              "provider": {
                "name": "",
                "address": "",
                "taxpayer_number": "0000000000",
                "state_registration_number": "0000000000000"
              },
              "hotel": {
                "name": "ООО \"ОТЕЛЬ БЛЮЗ\"",
                "address": "119048, г Москва, ул Доватора, д 8, ком 1",
                "taxpayer_number": "7704334789",
                "state_registration_number": "5157746025707",
                "work_time": "from 9-18 local time"
              }
            },
            "is_package": false
          },
          {
            "book_hash": "h-c384a138-d766-57e4-a8cc-c7da323ec7e4",
            "match_hash": "m-75568bfe-ef72-54cc-801c-5997489f5134",
            "daily_prices": [
              "178.00"
            ],
            "meal": "nomeal",
            "meal_data": {
              "value": "nomeal",
              "has_breakfast": false,
              "no_child_meal": true
            },
            "payment_options": {
              "payment_types": [
                {
                  "amount": "207.00",
                  "show_amount": "178.00",
                  "currency_code": "USD",
                  "show_currency_code": "EUR",
                  "by": null,
                  "is_need_credit_card_data": true,
                  "is_need_cvc": true,
                  "type": "hotel",
                  "tax_data": {
                    "taxes": [
                      {
                        "name": "city_tax",
                        "included_by_supplier": false,
                        "amount": "784.71",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "electricity_fee",
                        "included_by_supplier": true,
                        "amount": "5.18",
                        "currency_code": "EUR"
                      },
                      {
                        "name": "service_fee",
                        "included_by_supplier": false,
                        "amount": "1051.36",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "vat",
                        "included_by_supplier": false,
                        "amount": "353.99",
                        "currency_code": "HNL"
                      }
                    ]
                  },
                  "cancellation_penalties": {
                    "policies": [
                      {
                        "start_at": null,
                        "end_at": "2025-11-24T20:00:00",
                        "amount_charge": "0.00",
                        "amount_show": "0.00"
                      },
                      {
                        "start_at": "2025-11-24T20:00:00",
                        "end_at": null,
                        "amount_charge": "207.00",
                        "amount_show": "178.00"
                      }
                    ],
                    "free_cancellation_before": "2025-11-24T20:00:00"
                  }
                }
              ]
            },
            "rg_ext": {
              "class": 3,
              "quality": 2,
              "sex": 0,
              "bathroom": 1,
              "bedding": 3,
              "family": 0,
              "capacity": 2,
              "club": 0,
              "bedrooms": 0,
              "balcony": 0,
              "view": 0,
              "floor": 0
            },
            "room_name": "Standard Double room (shared bathroom) (full double bed)",
            "room_name_info": null,
            "serp_filters": [
              "has_internet"
            ],
            "allotment": 30,
            "amenities_data": [
              "non-smoking"
            ],
            "any_residency": true,
            "deposit": null,
            "no_show": {
              "amount": "207.00",
              "currency_code": "USD",
              "from_time": "12:00:00"
            },
            "room_data_trans": {
              "main_room_type": "Standard Double room (shared bathroom)",
              "main_name": "Standard Double room",
              "bathroom": "shared bathroom",
              "bedding_type": "full double bed",
              "misc_room_type": null
            },
            "legal_info": {
              "provider": {
                "name": "",
                "address": "",
                "taxpayer_number": "0000000000",
                "state_registration_number": "0000000000000"
              },
              "hotel": {
                "name": "ООО \"ОТЕЛЬ БЛЮЗ\"",
                "address": "119048, г Москва, ул Доватора, д 8, ком 1",
                "taxpayer_number": "7704334789",
                "state_registration_number": "5157746025707",
                "work_time": "from 9-18 local time"
              }
            },
            "is_package": false
          },
          {
            "book_hash": "h-d43dabf4-2d7a-5b39-9681-bef8c6b16ca7",
            "match_hash": "m-93e24e4b-6c3f-5bb6-83cd-403577d7c442",
            "daily_prices": [
              "193.00"
            ],
            "meal": "nomeal",
            "meal_data": {
              "value": "nomeal",
              "has_breakfast": false,
              "no_child_meal": true
            },
            "payment_options": {
              "payment_types": [
                {
                  "amount": "225.00",
                  "show_amount": "193.00",
                  "currency_code": "USD",
                  "show_currency_code": "EUR",
                  "by": null,
                  "is_need_credit_card_data": true,
                  "is_need_cvc": true,
                  "type": "hotel",
                  "tax_data": {
                    "taxes": [
                      {
                        "name": "city_tax",
                        "included_by_supplier": false,
                        "amount": "784.71",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "electricity_fee",
                        "included_by_supplier": true,
                        "amount": "5.62",
                        "currency_code": "EUR"
                      },
                      {
                        "name": "service_fee",
                        "included_by_supplier": false,
                        "amount": "1142.78",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "vat",
                        "included_by_supplier": false,
                        "amount": "353.99",
                        "currency_code": "HNL"
                      }
                    ]
                  },
                  "cancellation_penalties": {
                    "policies": [
                      {
                        "start_at": null,
                        "end_at": null,
                        "amount_charge": "225.00",
                        "amount_show": "193.00"
                      }
                    ],
                    "free_cancellation_before": null
                  }
                }
              ]
            },
            "rg_ext": {
              "class": 3,
              "quality": 6,
              "sex": 0,
              "bathroom": 2,
              "bedding": 3,
              "family": 0,
              "capacity": 2,
              "club": 0,
              "bedrooms": 0,
              "balcony": 0,
              "view": 0,
              "floor": 0
            },
            "room_name": "Deluxe Double room (full double bed)",
            "room_name_info": null,
            "serp_filters": [
              "has_bathroom",
              "has_internet"
            ],
            "allotment": 36,
            "amenities_data": [
              "non-smoking"
            ],
            "any_residency": true,
            "deposit": null,
            "no_show": {
              "amount": "225.00",
              "currency_code": "USD",
              "from_time": "12:00:00"
            },
            "room_data_trans": {
              "main_room_type": "Deluxe Double room",
              "main_name": "Deluxe Double room",
              "bathroom": null,
              "bedding_type": "full double bed",
              "misc_room_type": null
            },
            "legal_info": {
              "provider": {
                "name": "",
                "address": "",
                "taxpayer_number": "0000000000",
                "state_registration_number": "0000000000000"
              },
              "hotel": {
                "name": "ООО \"ОТЕЛЬ БЛЮЗ\"",
                "address": "119048, г Москва, ул Доватора, д 8, ком 1",
                "taxpayer_number": "7704334789",
                "state_registration_number": "5157746025707",
                "work_time": "from 9-18 local time"
              }
            },
            "is_package": false
          },
          {
            "book_hash": "h-84d6ca4d-5143-58ad-88ce-463ebe9a60a6",
            "match_hash": "m-2544ec0f-e071-5577-8580-c64534b6ad9e",
            "daily_prices": [
              "197.00"
            ],
            "meal": "nomeal",
            "meal_data": {
              "value": "nomeal",
              "has_breakfast": false,
              "no_child_meal": true
            },
            "payment_options": {
              "payment_types": [
                {
                  "amount": "18565.00",
                  "show_amount": "197.00",
                  "currency_code": "RUB",
                  "show_currency_code": "EUR",
                  "by": "credit_card",
                  "is_need_credit_card_data": true,
                  "is_need_cvc": true,
                  "type": "now",
                  "tax_data": {
                    "taxes": [
                      {
                        "name": "city_tax",
                        "included_by_supplier": false,
                        "amount": "784.71",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "electricity_fee",
                        "included_by_supplier": true,
                        "amount": "5.74",
                        "currency_code": "EUR"
                      },
                      {
                        "name": "service_fee",
                        "included_by_supplier": false,
                        "amount": "1051.36",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "vat",
                        "included_by_supplier": false,
                        "amount": "353.99",
                        "currency_code": "HNL"
                      }
                    ]
                  },
                  "cancellation_penalties": {
                    "policies": [
                      {
                        "start_at": null,
                        "end_at": "2025-11-24T20:00:00",
                        "amount_charge": "0.00",
                        "amount_show": "0.00"
                      },
                      {
                        "start_at": "2025-11-24T20:00:00",
                        "end_at": null,
                        "amount_charge": "18565.00",
                        "amount_show": "197.00"
                      }
                    ],
                    "free_cancellation_before": "2025-11-24T20:00:00"
                  }
                }
              ]
            },
            "rg_ext": {
              "class": 3,
              "quality": 2,
              "sex": 0,
              "bathroom": 1,
              "bedding": 3,
              "family": 0,
              "capacity": 2,
              "club": 0,
              "bedrooms": 0,
              "balcony": 0,
              "view": 0,
              "floor": 0
            },
            "room_name": "Standard Double room (shared bathroom) (full double bed)",
            "room_name_info": null,
            "serp_filters": [
              "has_internet"
            ],
            "allotment": 30,
            "amenities_data": [
              "non-smoking"
            ],
            "any_residency": true,
            "deposit": null,
            "no_show": {
              "amount": "207.00",
              "currency_code": "USD",
              "from_time": "12:00:00"
            },
            "room_data_trans": {
              "main_room_type": "Standard Double room (shared bathroom)",
              "main_name": "Standard Double room",
              "bathroom": "shared bathroom",
              "bedding_type": "full double bed",
              "misc_room_type": null
            },
            "legal_info": {
              "provider": {
                "name": "",
                "address": "",
                "taxpayer_number": "0000000000",
                "state_registration_number": "0000000000000"
              },
              "hotel": {
                "name": "ООО \"ОТЕЛЬ БЛЮЗ\"",
                "address": "119048, г Москва, ул Доватора, д 8, ком 1",
                "taxpayer_number": "7704334789",
                "state_registration_number": "5157746025707",
                "work_time": "from 9-18 local time"
              }
            },
            "is_package": false
          }
        ]
      }
    ],
    "debug": {
      "api_endpoint": {
        "endpoint": "api/b2b/v3/search/hp",
        "is_active": true,
        "is_limited": true,
        "remaining": 9,
        "requests_number": 10,
        "reset": "2025-10-23T08:23:00",
        "seconds_number": 60
      },
      "request": {
        "checkin": "2025-11-25",
        "checkout": "2025-11-26",
        "residency": "us",
        "language": "en",
        "guests": [
          {
            "adults": 2,
            "children": []
          }
        ],
        "timeout": 8,
        "hid": 8473727,
        "currency": "EUR"
      },
      "method": "POST",
      "real_ip": "104.30.161.77",
      "request_id": "e0839e399341f4f9a7f172b0523eba7c",
      "key_id": 1234,
      "api_key_id": 1234,
      "utcnow": "2025-10-23T08:22:07.991805"
    }
  },
  "status": "ok",
  "error": null
}            

Errors

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

invalid_params

The request body is invalid.

core_search_error

An internal search error. Has 500 status code.