Retrieve rate info

#affiliate

https://api.worldota.net/api/b2b/v3/search/lookuprate/

The call gets one hotel rate. The response format is as in the Retrieve hotelpage call.

⚠️
To have permission to the call with your API key, contact the API support team.

Request example

curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/b2b/v3/search/lookuprate/' \
--header 'Content-Type: application/json' \
--data '{
  "book_hash": "h-a2cfc544-718a-59ca-b4e5-7dbd25e1210b",
  "language": "en"
} '

Request body

Response

Response example

{
  "data": {
    "hotels": [
      {
        "id": "test_hotel_do_not_book",
        "hid": 8473727,
        "rates": [
          {
            "book_hash": "h-a2cfc544-718a-59ca-b4e5-7dbd25e1210b",
            "match_hash": "m-129c6858-003d-5232-9f1b-5425cfdb490c",
            "daily_prices": [
              "2.00",
              "2.00"
            ],
            "meal": "nomeal",
            "meal_data": {
              "value": "nomeal",
              "has_breakfast": false,
              "no_child_meal": true
            },
            "payment_options": {
              "payment_types": [
                {
                  "amount": "4.00",
                  "show_amount": "4.00",
                  "currency_code": "GBP",
                  "show_currency_code": "GBP",
                  "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": "1574.30",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "electricity_fee",
                        "included_by_supplier": true,
                        "amount": "0.12",
                        "currency_code": "GBP"
                      },
                      {
                        "name": "service_fee",
                        "included_by_supplier": false,
                        "amount": "27.51",
                        "currency_code": "HNL"
                      },
                      {
                        "name": "vat",
                        "included_by_supplier": false,
                        "amount": "355.09",
                        "currency_code": "HNL"
                      }
                    ]
                  },
                  "cancellation_penalties": {
                    "policies": [
                      {
                        "start_at": null,
                        "end_at": "2026-05-12T00:00:00",
                        "amount_charge": "0.00",
                        "amount_show": "0.00"
                      },
                      {
                        "start_at": "2026-05-12T00:00:00",
                        "end_at": null,
                        "amount_charge": "4.00",
                        "amount_show": "4.00"
                      }
                    ],
                    "free_cancellation_before": "2026-05-12T00: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": 33,
            "amenities_data": [
              "non-smoking"
            ],
            "any_residency": true,
            "deposit": null,
            "no_show": {
              "amount": "5.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": null,
            "is_package": false
          }
        ]
      }
    ],
    "original_request_params": {
      "checkin": "2026-05-17",
      "checkout": "2026-05-19",
      "guests": [
        {
          "adults": 2,
          "children": []
        }
      ],
      "residency": "us"
    }
  },
  "debug": {
    "api_endpoint": {
      "endpoint": "api/b2b/v3/search/lookuprate",
      "is_active": true,
      "is_limited": true,
      "remaining": 29,
      "requests_number": 30,
      "reset": "2025-11-13T11:06:00",
      "seconds_number": 60
    },
    "request": {
      "book_hash": "h-a2cfc544-718a-59ca-b4e5-7dbd25e1210b",
      "language": "en"
    },
    "method": "POST",
    "real_ip": "104.30.161.77",
    "request_id": "f52c910b3d5db4d518cff9f43fd0c656",
    "key_id": 1234,
    "api_key_id": 1234,
    "utcnow": "2025-11-13T11:05:16.674584"
  },
  "status": "ok",
  "error": null
}

Errors

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

invalid_params

The book_hash field is required.

contract_mismatch

An attempt to make the to check the rate found with the different contract.

rate_not_found

  • The rate with the book_hash field value isn’t found.
  • The book_hash field value has expired.

Send another search request and change the book_hash field value.

core_search_error

An internal search error. Has 500 status code.