Retrieve hotelpage

🆕
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/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.

Sandbox limitations

⚠️
Use all field values and API keys obtained from the sandbox environment only within the sandbox. Don’t mix them with test or production environments.

Request

  • language. The field value is always en.
  • currency. The field value is always USD.

Response

  • hotels.rates. The maximum items’ number is 5.
  • Not supported fields:
    • hotels.rates.payment_options.payment_types.cancellation_penalties.policies.commission_info.charge.amount_gross.
    • hotels.rates.payment_options.payment_types.cancellation_penalties.policies.commission_info.charge.amount_commission.

Request example

curl --user '<KEY_ID>:<API_KEY>' 'https://api-sandbox.worldota.net/api/b2b/v3/search/hp/' \
--header 'Content-Type: application/json' \
--data '{
  "checkin": "2025-11-27",
  "checkout": "2025-11-28",
  "residency": "gb",
  "language": "en",
  "guests": [
    {
      "adults": 2,
      "children": []
    }
  ],
  "hid": 10595223,
  "currency": "USD"
}'

Request body

Response

Response example

{
  "data": {
    "hotels": [
      {
        "id": "key_view_the_residences",
        "hid": 10595223,
        "rates": [
          {
            "book_hash": "h-b49550fd-26df-437f-b6c6-1f00f0b9f4b4",
            "match_hash": "m-c70d323a-00b4-5145-923b-a00142971e5d",
            "daily_prices": [
              "90.00"
            ],
            "meal": "nomeal",
            "meal_data": {
              "value": "nomeal",
              "has_breakfast": false,
              "no_child_meal": true
            },
            "payment_options": {
              "payment_types": [
                {
                  "amount": "77.16",
                  "show_amount": "90.00",
                  "currency_code": "EUR",
                  "show_currency_code": "USD",
                  "by": null,
                  "is_need_credit_card_data": false,
                  "is_need_cvc": false,
                  "type": "deposit",
                  "vat_data": {
                    "included": false,
                    "applied": false,
                    "amount": "0.00",
                    "currency_code": "USD",
                    "value": "0.00"
                  },
                  "tax_data": {
                    "taxes": [
                      {
                        "name": "city_tax",
                        "included_by_supplier": false,
                        "amount": "3.85",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "occupancy_tax",
                        "included_by_supplier": false,
                        "amount": "3.08",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "resort_fee",
                        "included_by_supplier": true,
                        "amount": "1.54",
                        "currency_code": "USD"
                      },
                      {
                        "name": "service_fee",
                        "included_by_supplier": true,
                        "amount": "7.71",
                        "currency_code": "USD"
                      }
                    ]
                  },
                  "perks": {},
                  "commission_info": {
                    "show": {
                      "amount_gross": "90.00",
                      "amount_net": "90.00",
                      "amount_commission": "0.00"
                    },
                    "charge": {
                      "amount_gross": "77.16",
                      "amount_net": "77.16",
                      "amount_commission": "0.00"
                    }
                  },
                  "cancellation_penalties": {
                    "policies": [
                      {
                        "start_at": null,
                        "end_at": "2025-11-26T00:00:00",
                        "amount_charge": "0.00",
                        "amount_show": "0.00",
                        "commission_info": {
                          "show": {
                            "amount_gross": "0.00",
                            "amount_net": "0.00",
                            "amount_commission": "0.00"
                          },
                          "charge": {
                            "amount_gross": "0.00",
                            "amount_net": "0.00",
                            "amount_commission": "0.00"
                          }
                        }
                      },
                      {
                        "start_at": "2025-11-26T00:00:00",
                        "end_at": null,
                        "amount_charge": "77.16",
                        "amount_show": "90.00",
                        "commission_info": {
                          "show": {
                            "amount_gross": "100.00",
                            "amount_net": "90.00",
                            "amount_commission": "10.00"
                          },
                          "charge": {
                            "amount_gross": "85.74",
                            "amount_net": "77.16",
                            "amount_commission": "8.57"
                          }
                        }
                      }
                    ],
                    "free_cancellation_before": "2025-11-26T00:00:00"
                  },
                  "recommended_price": null
                }
              ]
            },
            "bar_rate_price_data": null,
            "rg_ext": {
              "class": 4,
              "quality": 0,
              "sex": 0,
              "bathroom": 1,
              "bedding": 1,
              "family": 0,
              "capacity": 2,
              "club": 0,
              "bedrooms": 0,
              "balcony": 0,
              "view": 0,
              "floor": 0
            },
            "room_name": "Junior Suite",
            "room_name_info": null,
            "serp_filters": [
              "has_bathroom"
            ],
            "sell_price_limits": null,
            "allotment": 2,
            "amenities_data": [
              "king-bed",
              "non-smoking"
            ],
            "any_residency": true,
            "deposit": null,
            "no_show": {
              "amount": "0.00",
              "currency_code": "USD",
              "from_time": "00:00:00"
            },
            "room_data_trans": {
              "main_room_type": "Junior Suite",
              "main_name": "Junior Suite",
              "bathroom": null,
              "bedding_type": null,
              "misc_room_type": null
            },
            "legal_info": null,
            "is_package": false
          },
          {
            "book_hash": "h-00616075-befb-44cb-8371-fa7c341d4011",
            "match_hash": "m-f72fc264-9366-5e4e-90ac-b0c4dc154d92",
            "daily_prices": [
              "92.00"
            ],
            "meal": "breakfast-buffet",
            "meal_data": {
              "value": "breakfast-buffet",
              "has_breakfast": true,
              "no_child_meal": false
            },
            "payment_options": {
              "payment_types": [
                {
                  "amount": "78.87",
                  "show_amount": "92.00",
                  "currency_code": "EUR",
                  "show_currency_code": "USD",
                  "by": null,
                  "is_need_credit_card_data": false,
                  "is_need_cvc": false,
                  "type": "deposit",
                  "vat_data": {
                    "included": false,
                    "applied": false,
                    "amount": "0.00",
                    "currency_code": "USD",
                    "value": "0.00"
                  },
                  "tax_data": {
                    "taxes": [
                      {
                        "name": "city_tax",
                        "included_by_supplier": false,
                        "amount": "3.94",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "occupancy_tax",
                        "included_by_supplier": false,
                        "amount": "3.15",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "resort_fee",
                        "included_by_supplier": true,
                        "amount": "1.57",
                        "currency_code": "USD"
                      },
                      {
                        "name": "service_fee",
                        "included_by_supplier": true,
                        "amount": "7.88",
                        "currency_code": "USD"
                      }
                    ]
                  },
                  "perks": {},
                  "commission_info": {
                    "show": {
                      "amount_gross": "92.00",
                      "amount_net": "92.00",
                      "amount_commission": "0.00"
                    },
                    "charge": {
                      "amount_gross": "78.88",
                      "amount_net": "78.88",
                      "amount_commission": "0.00"
                    }
                  },
                  "cancellation_penalties": {
                    "policies": [
                      {
                        "start_at": null,
                        "end_at": "2025-11-25T00:00:00",
                        "amount_charge": "0.00",
                        "amount_show": "0.00",
                        "commission_info": {
                          "show": {
                            "amount_gross": "0.00",
                            "amount_net": "0.00",
                            "amount_commission": "0.00"
                          },
                          "charge": {
                            "amount_gross": "0.00",
                            "amount_net": "0.00",
                            "amount_commission": "0.00"
                          }
                        }
                      },
                      {
                        "start_at": "2025-11-25T00:00:00",
                        "end_at": "2025-11-26T00:00:00",
                        "amount_charge": "39.43",
                        "amount_show": "46.00",
                        "commission_info": {
                          "show": {
                            "amount_gross": "51.11",
                            "amount_net": "46.00",
                            "amount_commission": "5.11"
                          },
                          "charge": {
                            "amount_gross": "43.82",
                            "amount_net": "39.44",
                            "amount_commission": "4.38"
                          }
                        }
                      },
                      {
                        "start_at": "2025-11-26T00:00:00",
                        "end_at": null,
                        "amount_charge": "78.87",
                        "amount_show": "92.00",
                        "commission_info": {
                          "show": {
                            "amount_gross": "102.22",
                            "amount_net": "92.00",
                            "amount_commission": "10.22"
                          },
                          "charge": {
                            "amount_gross": "87.64",
                            "amount_net": "78.88",
                            "amount_commission": "8.76"
                          }
                        }
                      }
                    ],
                    "free_cancellation_before": "2025-11-25T00:00:00"
                  },
                  "recommended_price": null
                }
              ]
            },
            "bar_rate_price_data": null,
            "rg_ext": {
              "class": 4,
              "quality": 0,
              "sex": 0,
              "bathroom": 1,
              "bedding": 1,
              "family": 0,
              "capacity": 2,
              "club": 0,
              "bedrooms": 0,
              "balcony": 0,
              "view": 0,
              "floor": 0
            },
            "room_name": "Junior Suite",
            "room_name_info": null,
            "serp_filters": [
              "has_breakfast",
              "has_bathroom"
            ],
            "sell_price_limits": null,
            "allotment": 2,
            "amenities_data": [
              "king-bed",
              "non-smoking"
            ],
            "any_residency": true,
            "deposit": null,
            "no_show": {
              "amount": "0.00",
              "currency_code": "USD",
              "from_time": "00:00:00"
            },
            "room_data_trans": {
              "main_room_type": "Junior Suite",
              "main_name": "Junior Suite",
              "bathroom": null,
              "bedding_type": null,
              "misc_room_type": null
            },
            "legal_info": null,
            "is_package": false
          },
          {
            "book_hash": "h-e0000001-3ac2-4e53-af2b-605a716a0b75",
            "match_hash": "m-09276cf9-d7f4-5e1b-8c27-0b765f6fd46f",
            "daily_prices": [
              "114.00"
            ],
            "meal": "breakfast-buffet",
            "meal_data": {
              "value": "breakfast-buffet",
              "has_breakfast": true,
              "no_child_meal": false
            },
            "payment_options": {
              "payment_types": [
                {
                  "amount": "97.73",
                  "show_amount": "114.00",
                  "currency_code": "EUR",
                  "show_currency_code": "USD",
                  "by": null,
                  "is_need_credit_card_data": false,
                  "is_need_cvc": false,
                  "type": "deposit",
                  "vat_data": {
                    "included": false,
                    "applied": false,
                    "amount": "0.00",
                    "currency_code": "USD",
                    "value": "0.00"
                  },
                  "tax_data": {
                    "taxes": [
                      {
                        "name": "city_tax",
                        "included_by_supplier": false,
                        "amount": "4.88",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "occupancy_tax",
                        "included_by_supplier": false,
                        "amount": "3.90",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "resort_fee",
                        "included_by_supplier": true,
                        "amount": "1.95",
                        "currency_code": "USD"
                      },
                      {
                        "name": "service_fee",
                        "included_by_supplier": true,
                        "amount": "9.77",
                        "currency_code": "USD"
                      }
                    ]
                  },
                  "perks": {},
                  "commission_info": {
                    "show": {
                      "amount_gross": "114.00",
                      "amount_net": "114.00",
                      "amount_commission": "0.00"
                    },
                    "charge": {
                      "amount_gross": "97.74",
                      "amount_net": "97.74",
                      "amount_commission": "0.00"
                    }
                  },
                  "cancellation_penalties": {
                    "policies": [
                      {
                        "start_at": null,
                        "end_at": null,
                        "amount_charge": "97.73",
                        "amount_show": "114.00",
                        "commission_info": {
                          "show": {
                            "amount_gross": "126.67",
                            "amount_net": "114.00",
                            "amount_commission": "12.67"
                          },
                          "charge": {
                            "amount_gross": "108.60",
                            "amount_net": "97.74",
                            "amount_commission": "10.86"
                          }
                        }
                      }
                    ],
                    "free_cancellation_before": null
                  },
                  "recommended_price": null
                }
              ]
            },
            "bar_rate_price_data": null,
            "rg_ext": {
              "class": 5,
              "quality": 0,
              "sex": 0,
              "bathroom": 1,
              "bedding": 1,
              "family": 0,
              "capacity": 2,
              "club": 0,
              "bedrooms": 0,
              "balcony": 0,
              "view": 0,
              "floor": 0
            },
            "room_name": "Suite",
            "room_name_info": null,
            "serp_filters": [
              "has_breakfast",
              "has_bathroom"
            ],
            "sell_price_limits": null,
            "allotment": 2,
            "amenities_data": [
              "king-bed",
              "non-smoking"
            ],
            "any_residency": true,
            "deposit": null,
            "no_show": {
              "amount": "0.00",
              "currency_code": "USD",
              "from_time": "00:00:00"
            },
            "room_data_trans": {
              "main_room_type": "Suite",
              "main_name": "Suite",
              "bathroom": null,
              "bedding_type": null,
              "misc_room_type": null
            },
            "legal_info": null,
            "is_package": false
          }
        ],
        "bar_price_data": null
      }
    ]
  },
  "debug": {
    "api_endpoint": {
      "endpoint": "api/b2b/v3/search/hp",
      "is_active": true,
      "is_limited": true,
      "remaining": 9,
      "requests_number": 10,
      "reset": "2025-09-30T19:09:00",
      "seconds_number": 60
    },
    "request": {
      "checkin": "2025-11-27",
      "checkout": "2025-11-28",
      "residency": "gb",
      "language": "en",
      "guests": [
        {
          "adults": 2,
          "children": []
        }
      ],
      "hid": 10595223,
      "currency": "USD"
    },
    "method": "POST",
    "real_ip": "104.30.161.77",
    "request_id": "593a20e6cc7b3b6769a503b927c55722",
    "key_id": 5,
    "api_key_id": 5,
    "utcnow": "2025-09-30T19:08:27.925930"
  },
  "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.