Retrieve hotelpage

Retrieve hotelpage

#b2b

https://api-sandbox.worldota.net/api/b2b/v3/search/hp/
https://api.worldota.net/api/b2b/v3/search/hp/
ℹ️
  • This call is required for the Recommended Flow (Prebook from Hotelpage).
  • 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 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.
  • The value of the language field is always set to en.
  • The value of the currency field is always set to USD.
  • The maximum number of items in hotels.rates is 5.
  • The following fields are not supported:
    • 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": "2026-11-22",
    "checkout": "2026-11-25",
    "residency": "gb",
    "language": "en",
    "guests": [
        {
            "adults": 2,
            "children": []
        }
    ],
    "hid": 10004834,
    "currency": "USD",
    "filter": {
        "star_rating": [
            4
        ],
        "kind": [
            "Hotel"
        ],
        "meal_type": [
            "all-inclusive",
            "super-all-inclusive",
            "soft-all-inclusive",
            "ultra-all-inclusive"
        ]
    }
}'
curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/b2b/v3/search/hp/' \
--header 'Content-Type: application/json' \
--data '{
    "checkin": "2026-11-22",
    "checkout": "2026-11-25",
    "residency": "gb",
    "language": "en",
    "guests": [
        {
            "adults": 2,
            "children": []
        }
    ],
    "hid": 10004834,
    "currency": "USD",
    "filter": {
        "star_rating": [],
        "kind": [],
        "meal_type": []
    }
}'

Request body

Response

Response example

{
  "data": {
    "hotels": [
      {
        "id": "conrad_los_angeles",
        "hid": 10004834,
        "rates": [
          {
            "book_hash": "h-14eb5985-5e2b-505d-b67f-113e20411698",
            "match_hash": "m-7c23a289-cef7-5ef5-919c-0fce06e7713d",
            "daily_prices": [
              "306.09",
              "306.09",
              "306.09"
            ],
            "meal": "nomeal",
            "meal_data": {
              "value": "nomeal",
              "has_breakfast": false,
              "no_child_meal": true
            },
            "payment_options": {
              "payment_types": [
                {
                  "amount": "70036.68",
                  "show_amount": "918.26",
                  "currency_code": "USD",
                  "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": "occupancy_tax",
                        "included_by_supplier": true,
                        "amount": "126.66",
                        "currency_code": "USD"
                      },
                      {
                        "name": "resort_fee",
                        "included_by_supplier": false,
                        "amount": "135.00",
                        "currency_code": "USD"
                      }
                    ]
                  },
                  "perks": {},
                  "commission_info": {
                    "show": {
                      "amount_gross": "937.00",
                      "amount_net": "918.26",
                      "amount_commission": "18.74"
                    },
                    "charge": {
                      "amount_gross": "71466.00",
                      "amount_net": "70036.68",
                      "amount_commission": "1429.32"
                    }
                  },
                  "cancellation_penalties": {
                    "policies": [
                      {
                        "start_at": null,
                        "end_at": null,
                        "amount_charge": "70036.68",
                        "amount_show": "918.26",
                        "commission_info": {
                          "show": {
                            "amount_gross": "937.00",
                            "amount_net": "918.26",
                            "amount_commission": "18.74"
                          },
                          "charge": {
                            "amount_gross": "71466.00",
                            "amount_net": "70036.68",
                            "amount_commission": "1429.32"
                          }
                        }
                      }
                    ],
                    "free_cancellation_before": null
                  },
                  "recommended_price": null
                }
              ]
            },
            "bar_rate_price_data": 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) (king size bed)",
            "room_name_info": {
              "original_rate_name": "Deluxe One King Bed"
            },
            "serp_filters": [
              "has_bathroom"
            ],
            "sell_price_limits": null,
            "allotment": 1,
            "amenities_data": [
              "king-bed",
              "non-smoking"
            ],
            "any_residency": false,
            "deposit": null,
            "no_show": null,
            "room_data_trans": {
              "main_room_type": "Deluxe Double room",
              "main_name": "Deluxe Double room",
              "bathroom": null,
              "bedding_type": "full double bed",
              "misc_room_type": "king size bed",
              "beds": [
                {
                  "bed": "double",
                  "count": 1
                }
              ]
            },
            "legal_info": {
              "provider": {
                "name": "",
                "address": "",
                "taxpayer_number": "0000000000",
                "state_registration_number": "0000000000000"
              },
              "hotel": {
                "name": "Conrad Los Angeles",
                "address": "100 South Grand Avenue, Лос-Анджелес",
                "taxpayer_number": "0000000000",
                "state_registration_number": "0000000000000",
                "work_time": "from 9-18 local time"
              }
            },
            "is_package": false
          },
          {
            "book_hash": "h-56055c91-a6f3-5b14-889c-53e2556f67f1",
            "match_hash": "m-453eb380-8110-5433-9b7a-762711fa7e46",
            "daily_prices": [
              "321.77",
              "321.77",
              "321.77"
            ],
            "meal": "nomeal",
            "meal_data": {
              "value": "nomeal",
              "has_breakfast": false,
              "no_child_meal": true
            },
            "payment_options": {
              "payment_types": [
                {
                  "amount": "73662.68",
                  "show_amount": "965.30",
                  "currency_code": "USD",
                  "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": "occupancy_tax",
                        "included_by_supplier": true,
                        "amount": "133.14",
                        "currency_code": "USD"
                      },
                      {
                        "name": "resort_fee",
                        "included_by_supplier": false,
                        "amount": "135.00",
                        "currency_code": "USD"
                      }
                    ]
                  },
                  "perks": {},
                  "commission_info": {
                    "show": {
                      "amount_gross": "985.00",
                      "amount_net": "965.30",
                      "amount_commission": "19.70"
                    },
                    "charge": {
                      "amount_gross": "75166.00",
                      "amount_net": "73662.68",
                      "amount_commission": "1503.32"
                    }
                  },
                  "cancellation_penalties": {
                    "policies": [
                      {
                        "start_at": null,
                        "end_at": "2026-11-12T02: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": "2026-11-12T02:00:00",
                        "end_at": "2026-11-20T02:00:00",
                        "amount_charge": "24505.88",
                        "amount_show": "321.44",
                        "commission_info": {
                          "show": {
                            "amount_gross": "328.00",
                            "amount_net": "321.44",
                            "amount_commission": "6.56"
                          },
                          "charge": {
                            "amount_gross": "25006.00",
                            "amount_net": "24505.88",
                            "amount_commission": "500.12"
                          }
                        }
                      },
                      {
                        "start_at": "2026-11-20T02:00:00",
                        "end_at": null,
                        "amount_charge": "73662.68",
                        "amount_show": "965.30",
                        "commission_info": {
                          "show": {
                            "amount_gross": "985.00",
                            "amount_net": "965.30",
                            "amount_commission": "19.70"
                          },
                          "charge": {
                            "amount_gross": "75166.00",
                            "amount_net": "73662.68",
                            "amount_commission": "1503.32"
                          }
                        }
                      }
                    ],
                    "free_cancellation_before": "2026-11-12T02:00:00"
                  },
                  "recommended_price": null
                }
              ]
            },
            "bar_rate_price_data": {
              "amount": "1330.38",
              "currency_code": "USD"
            },
            "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) (king size bed)",
            "room_name_info": {
              "original_rate_name": "Deluxe Room, 1 King Bed"
            },
            "serp_filters": [
              "has_bathroom"
            ],
            "sell_price_limits": null,
            "allotment": 1,
            "amenities_data": [
              "non-smoking",
              "king-bed"
            ],
            "any_residency": false,
            "deposit": null,
            "no_show": null,
            "room_data_trans": {
              "main_room_type": "Deluxe Double room",
              "main_name": "Deluxe Double room",
              "bathroom": null,
              "bedding_type": "full double bed",
              "misc_room_type": "king size bed",
              "beds": [
                {
                  "bed": "double",
                  "count": 1
                }
              ]
            },
            "legal_info": {
              "provider": {
                "name": "",
                "address": "",
                "taxpayer_number": "0000000000",
                "state_registration_number": "0000000000000"
              },
              "hotel": {
                "name": "Conrad Los Angeles",
                "address": "100 South Grand Avenue, Лос-Анджелес",
                "taxpayer_number": "0000000000",
                "state_registration_number": "0000000000000",
                "work_time": "from 9-18 local time"
              }
            },
            "is_package": false
          }
        ],
        "bar_price_data": {
          "hotel": {
            "price": "1330.38",
            "currency": "USD"
          },
          "room_groups": [
            {
              "rg_ext": {
                "class": 3,
                "quality": 6,
                "sex": 0,
                "bathroom": 2,
                "bedding": 0,
                "family": 0,
                "capacity": 0,
                "club": 0,
                "bedrooms": 0,
                "balcony": 0,
                "view": 0,
                "floor": 0
              },
              "price": "1399.50",
              "currency": "USD"
            },
            {
              "rg_ext": {
                "class": 6,
                "quality": 20,
                "sex": 0,
                "bathroom": 2,
                "bedding": 3,
                "family": 0,
                "capacity": 2,
                "club": 0,
                "bedrooms": 0,
                "balcony": 0,
                "view": 0,
                "floor": 0
              }
            }
          ]
        }
      }
    ]
  },
  "debug": {
    "api_endpoint": {
      "endpoint": "api/b2b/v3/search/hp",
      "is_active": true,
      "is_limited": true,
      "remaining": 9,
      "requests_number": 10,
      "reset": "2026-04-16T19:19:00",
      "seconds_number": 60
    },
    "request": {
      "checkin": "2026-11-22",
      "checkout": "2026-11-25",
      "residency": "gb",
      "language": "en",
      "guests": [
        {
          "adults": 2,
          "children": []
        }
      ],
      "hid": 10004834,
      "currency": "USD",
      "filter": {
        "star_rating": [],
        "kind": [],
        "meal_type": []
      }
    },
    "method": "POST",
    "real_ip": "104.30.161.77",
    "request_id": "bb8cb3201e92944fb8f9191cccf5b31d",
    "key_id": 1234,
    "api_key_id": 1234,
    "utcnow": "2026-04-16T19:18:06.432524"
  },
  "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.