Retrieve rate info
POST
https://api.ostrovok.ru/api/b2b/v3/search/lookuprate/
Метод возвращает один тариф отеля. Формат ответа — как у метода Retrieve hotelpage.
⚠️
Чтобы получить доступ к методу для своего API-ключа, обратитесь в API-поддержку.
Пример запроса
curl --user '<KEY_ID>:<API_KEY>' 'https://api.ostrovok.ru/api/b2b/v3/search/lookuprate/' \
--header 'Content-Type: application/json' \
--data '{
"book_hash": "h-7e16d7a9-fe3c-5ba0-8aa1-0ea5b851afe7",
"language": "en"
}'Тело запроса
Ответ
Пример ответа
{
"data": {
"hotels": [
{
"id": "conrad_los_angeles",
"hid": 10004834,
"rates": [
{
"book_hash": "h-7e16d7a9-fe3c-5ba0-8aa1-0ea5b851afe7",
"match_hash": "m-850df586-6e03-5044-ba4f-4f5d0d7e8651",
"daily_prices": [
"299.00"
],
"meal": "nomeal",
"meal_data": {
"value": "nomeal",
"has_breakfast": false,
"no_child_meal": true
},
"payment_options": {
"payment_types": [
{
"amount": "27062.00",
"show_amount": "299.00",
"currency_code": "EUR",
"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": "occupancy_tax",
"included_by_supplier": true,
"amount": "41.24",
"currency_code": "EUR"
},
{
"name": "resort_fee",
"included_by_supplier": false,
"amount": "45.00",
"currency_code": "USD"
}
]
},
"perks": {},
"commission_info": {
"show": {
"amount_gross": "299.00",
"amount_net": "299.00",
"amount_commission": "0.00"
},
"charge": {
"amount_gross": "27062.00",
"amount_net": "27062.00",
"amount_commission": "0.00"
}
},
"cancellation_penalties": {
"policies": [
{
"start_at": null,
"end_at": "2026-05-18T07: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-05-18T07:00:00",
"end_at": null,
"amount_charge": "27062.00",
"amount_show": "299.00",
"commission_info": {
"show": {
"amount_gross": "299.00",
"amount_net": "299.00",
"amount_commission": "0.00"
},
"charge": {
"amount_gross": "27062.00",
"amount_net": "27062.00",
"amount_commission": "0.00"
}
}
}
],
"free_cancellation_before": "2026-05-18T07:00:00"
},
"recommended_price": null
}
]
},
"bar_rate_price_data": {
"amount": "390.00",
"currency_code": "EUR"
},
"rg_ext": {
"class": 3,
"quality": 17,
"sex": 0,
"bathroom": 2,
"bedding": 3,
"family": 0,
"capacity": 2,
"club": 0,
"bedrooms": 0,
"balcony": 0,
"view": 0,
"floor": 0
},
"room_name": "Premium Double room (full double bed) (king size bed)",
"room_name_info": {
"original_rate_name": "Premium One King Bed"
},
"serp_filters": [
"has_bathroom",
"has_internet"
],
"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": "Premium Double room",
"main_name": "Premium 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, Los Angeles",
"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": "2026-05-25",
"checkout": "2026-05-26",
"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": "2026-01-16T12:51:00",
"seconds_number": 60
},
"request": {
"book_hash": "h-7e16d7a9-fe3c-5ba0-8aa1-0ea5b851afe7",
"language": "en"
},
"method": "POST",
"real_ip": "104.30.161.77",
"request_id": "8d5ca365f5f455d978060d43e2e293a9",
"key_id": 1234,
"api_key_id": 1234,
"utcnow": "2026-01-16T12:50:21.366240"
},
"status": "ok",
"error": null
}Ошибки
Значение поля error указано в заголовках ниже.
invalid_params
Поле book_hash обязательно.
contract_mismatch
Попытка проверить тариф, относящийся к другому договору.
rate_not_found
- Тариф со значением поля
book_hashне найден. - Срок действия значения поля
book_hashистек.
Отправьте новый поисковый запрос и измените значение поля book_hash.
core_search_error
Внутренняя ошибка поиска. HTTP-статус — 500.