Retrieve rate info
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": "p-a47bf922-b7d2-4c2a-a193-4799bed33cf1",
"language": "en"
}'
Request body
Response
Response example
{
"data": {
"hotels": [
{
"id": "test_hotel_do_not_book",
"hid": 8473727,
"rates": [
{
"book_hash": "p-a47bf922-b7d2-4c2a-a193-4799bed33cf1",
"match_hash": "m-07c72d75-fc0e-55fd-b9b4-4b2ea2cd2cec",
"daily_prices": [
"0.80"
],
"meal": "nomeal",
"meal_data": {
"value": "nomeal",
"has_breakfast": false,
"no_child_meal": true
},
"payment_options": {
"payment_types": [
{
"amount": "30.40",
"show_amount": "0.80",
"currency_code": "RUB",
"show_currency_code": "EUR",
"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": "767.51",
"currency_code": "HNL"
},
{
"name": "electricity_fee",
"included_by_supplier": true,
"amount": "0.02",
"currency_code": "EUR"
},
{
"name": "service_fee",
"included_by_supplier": false,
"amount": "1.89",
"currency_code": "HNL"
},
{
"name": "vat",
"included_by_supplier": false,
"amount": "346.23",
"currency_code": "HNL"
}
]
},
"perks": {},
"commission_info": {
"show": {
"amount_gross": "1.00",
"amount_net": "0.80",
"amount_commission": "0.20"
},
"charge": {
"amount_gross": "38.00",
"amount_net": "30.40",
"amount_commission": "7.60"
}
},
"cancellation_penalties": {
"policies": [
{
"start_at": null,
"end_at": null,
"amount_charge": "30.40",
"amount_show": "0.80",
"commission_info": {
"show": {
"amount_gross": "1.00",
"amount_net": "0.80",
"amount_commission": "0.20"
},
"charge": {
"amount_gross": "38.00",
"amount_net": "30.40",
"amount_commission": "7.60"
}
}
}
],
"free_cancellation_before": null
},
"recommended_price": null
}
]
},
"bar_rate_price_data": {
"amount": "2.48",
"currency_code": "EUR"
},
"rg_ext": {
"class": 8,
"quality": 0,
"sex": 0,
"bathroom": 2,
"bedding": 0,
"family": 0,
"capacity": 0,
"club": 0,
"bedrooms": 6,
"balcony": 0,
"view": 0,
"floor": 0
},
"room_name": "6 Bedrooms Villa",
"room_name_info": {
"original_rate_name": "Villa 6 bedrooms"
},
"serp_filters": [
"has_bathroom"
],
"sell_price_limits": null,
"allotment": 3,
"amenities_data": [
"non-smoking",
"6-bedrooms"
],
"any_residency": true,
"deposit": null,
"no_show": {
"amount": "0.00",
"currency_code": "USD",
"from_time": "12:00:00"
},
"room_data_trans": {
"main_room_type": "6 Bedrooms Villa",
"main_name": "6 Bedrooms Villa",
"bathroom": null,
"bedding_type": null,
"misc_room_type": null
},
"legal_info": {
"provider": {
"name": "",
"address": "",
"taxpayer_number": "0000000000",
"state_registration_number": "0000000000000"
},
"hotel": {
"name": "Test Hotel (Do not book) test",
"address": "Avenida Roble, Frente al Mall Multiplaza, Tegucigalpa",
"taxpayer_number": "0000000000",
"state_registration_number": "0000000000000",
"work_time": "from 9-18 local time"
}
},
"is_package": false
}
],
"bar_price_data": null
}
],
"original_request_params": {
"checkin": "2025-04-25",
"checkout": "2025-04-26",
"guests": [
{
"adults": 2,
"children": []
}
],
"residency": "gb"
}
},
"debug": {
"api_endpoint": {
"endpoint": "api/b2b/v3/search/lookuprate",
"is_active": true,
"is_limited": true,
"remaining": 29,
"requests_number": 30,
"reset": "2025-10-02T09:25:00",
"seconds_number": 60
},
"request": {
"book_hash": "p-a47bf922-b7d2-4c2a-a193-4799bed33cf1",
"language": "en"
},
"method": "POST",
"real_ip": "104.30.161.77",
"request_id": "d3743f240b5e4371de0b05973b93f78b",
"key_id": 1234,
"api_key_id": 1234,
"utcnow": "2025-10-02T09:24:21.776253"
},
"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.