Download OpenAPI specification:
Our Hotels API gives you a complete B2B gateway for searching, pricing, booking, and managing hotel inventory with precision. It connects your system to real-time availability, rich hotel content, multi-rate handling, instant confirmations, and full booking lifecycle controls.
Built for speed, stability, and clean integration, it lets your platform deliver consistent results, automate operations, and scale without friction. Whether you are powering a B2B portal, a mobile app, or a distribution engine, this API provides the structure you need to move fast, stay reliable, and serve your customers with confidence.
| Area | What it does | Endpoints |
|---|---|---|
| Autocomplete | Find cities, hotels and nationalities while the user types | Location Autocomplete, Nationality Autocomplete |
| Booking Flow | Search hotels, pick rooms, book, hold, pay and confirm | Search Hotels, Collect Results, Get Hotel Details, Get Available Rooms, Check Availability, Save Guest Details, Hold Booking, Pay and Confirm Booking, Retrieve Order Details |
| Hold | Reserve free-cancellation rooms now and pay later | Hold Booking, then Pay and Confirm Booking |
| Cancel Booking | Cancel a free-cancellation booking before its deadline | Retrieve Order Details, Cancel Booking |
| Balance | Check your agency balance before paying | Get Balance |
| Hotels Dump | Download all our hotels once, then only what changed | Hotels Dump |
Build the search form from two lookups (no token needed):
User types "cairo" ──▶ Location Autocomplete
├── city hit: code CAI, country.code EG ──▶ Search: city + country_code
└── hotel hit: id 2135352 ──────────────▶ Search: hotels_ids (only this hotel)
or requested_hotel_ids + city
User types "eg" ────▶ Nationality Autocomplete ──▶ code EG ──────▶ Search: nationality
Search returns hotels with their cheapest price, either all at once or progressively with mode: poll and Collect Results. Get the rooms of the chosen hotel, then call Check Availability with the selected room combination: it confirms the rooms and price and creates the order. Save the guests on the order, then either hold it (when can_hold is true) or pay and confirm right away. Confirmation with the supplier runs in the background, so poll Retrieve Order Details until booking_status is final.
Search Hotels ──(mode: poll)──▶ Collect Results until status: completed
│
▼
Get Hotel Details (optional)
│
▼
Get Available Rooms ──────────▶ room_combinations[].can_hold / deadline
│
▼
Check Availability ───────────▶ creates the order, returns can_hold / deadline
│
▼
Save Guest Details
│
├── can_hold = true ──▶ Hold Booking ──▶ (pay before deadline) ──┐
│ │
▼ ▼
Pay and Confirm Booking ◀─────────────────────────────────────────────┘
│
▼
Poll Retrieve Order Details (every 10 min, up to 3 hours)
│
▼
booking_status: book_success or book_failed
can_hold tells you whether the booking can be held without payment, and deadline until when (pay before it, or the hold is released). They are returned by Get Available Rooms (per room combination), Check Availability and Retrieve Order Details; always use the latest one. A hold is offered only for fully free-cancellation rooms from suppliers that support it, and must be enabled for your account.
can_hold = true ──▶ Hold Booking ──▶ order status: hold
│
before `deadline` ▼
Pay and Confirm Booking ──▶ booking confirmed
│
after `deadline` ▼
hold released, book again
Hold can still be refused (403 with the reason) when your account's hold limits are reached, e.g. the number or total amount of active holds, or a check-in date that is too close.
Cancel a booking free of charge before its free-cancellation deadline. The amount is refunded to your agency balance.
Before cancelling
cancellation_policy in Get Available Rooms): free cancellation ends at last_cancellation_deadline, after which policies show the charges.action: cancel in order.available_actions. It is listed only while the booking can be cancelled through the API (free-cancellation booking, before its deadline data.deadline). If it isn't there, the booking can't be cancelled through the API; contact your account manager.product_id.Retrieve Order Details
│
▼
order.available_actions has { action: "cancel", product_id }?
│
├── no ──▶ can't be cancelled through the API (non-refundable, or past the deadline)
│
└── yes ─▶ Cancel Booking (product_id) ──▶ booking cancelled, refund to your balance
Bookings are paid from your agency balance (in your agency currency). Check it before Pay and Confirm Booking to avoid a payment failure.
Get Balance ──▶ balance ≥ booking price? ──yes──▶ Pay and Confirm Booking
│
no ──▶ top up your balance first
Keep your own copy of our hotels, to map them to your inventory or build your own search pages.
GET /api/agency/api-out/hotels/dump first time: all hotels
GET /api/agency/api-out/hotels/dump?since=<version> every day: only what changed
since. You get type: full with a link to a file of all hotels (gzip-compressed JSON Lines, one hotel per line). Download it, import it, and keep its version.since set to your version. You get type: delta with the files of what changed, to apply in order, or type: up_to_date when nothing changed. Keep the new version. If you get type: full, replace all your hotels with it.Links are valid for 1 hour; call the endpoint again for fresh links. A new version is published every day.
first time ──▶ Hotels Dump ─────────────▶ type: full ──▶ download, check sha256, import all, keep version
│
every day ───▶ Hotels Dump?since=<version> ◀─────────────────────────────────────────────────────┘
├── type: up_to_date ──▶ nothing to do
├── type: delta ───────▶ apply each file of `deltas` in order, keep its version
└── type: full ────────▶ replace all your hotels, keep version
Hotel IDs:
id in hotels_ids or requested_hotel_ids of Search Hotels. These are the same IDs as Location Autocomplete and Sample Hotels.linked_hotel_ids. Map those to the hotel id.delete line with replaced_by means the hotel now has another ID. Move your mapping to replaced_by.All API endpoints require Bearer Token authentication. Each request must include a valid token in the header to ensure secure and authorized access.
Example:
Authorization: Bearer 9f12c3ab-47c8-4e91-bd84-2c7a1f83b6d1
Get Balance, Hold Booking, Cancel Booking, Sample Hotels and Hotels Dump must be enabled for your account. If they return 403, contact your account manager.
Send live_booking: false in Save Guest Details to make the order a test booking, or true for a live booking. When not sent, your account environment decides: live for accounts enabled for live bookings, test otherwise. Accounts not enabled for live bookings always make test bookings.
Test bookings go through the full flow (hold, pay, order details) but are never sent to the supplier. Their supplier reference and hcn start with TEST-.
Need known hotels to test with? Sample Hotels returns up to 100 4- and 5-star hotels for each test city (IST, CAI, DXB, PAR, JED); use their id in hotels_ids or requested_hotel_ids.
To test the pending flow, use a check-in date on the 17th of any month:
check-in on the 17th ──▶ Pay and Confirm ──▶ booking_status: book_pending (reference set, no HCN)
│ next confirmation run (within ~5 minutes)
▼
booking_status: book_success, hcn: TEST-HCN-...
any other check-in ────▶ Pay and Confirm ──▶ booking_status: book_success, hcn: TEST-HCN-...
The order has two status fields:
payment_pending, hold, payment_success)book_success: confirmed by the supplier.book_pending: the supplier accepted the booking but hasn't confirmed it yet. Keep polling; it moves to book_success or book_failed.book_failed: the supplier refused the booking.reference: the supplier's booking reference, available as soon as the supplier accepts the booking.hcn (hotel confirmation number): the hotel's own confirmation number, to give the guest at check-in. It depends on the supplier:book_success;book_pending first and set the HCN later, when the hotel confirms;reference.Keep polling Retrieve Order Details while booking_status is book_pending, or until hcn is set if you need it.
After Pay and Confirm Booking, you must poll the Order Details endpoint to retrieve the final booking status:
┌──────────────┐ ┌─────────────────┐ ┌──────────────────┐
│ PayAndConfirm│────▶│ Poll Order │────▶│ Check Status │
│ Booking │ │ Details │ │ │
└──────────────┘ └─────────────────┘ └────────┬─────────┘
│
┌────────────────────────────────┼────────────────────────────────┐
│ │ │
▼ ▼ ▼
┌──────────────┐ ┌──────────────┐ ┌──────────────────┐
│ book_success │ │ book_failed │ │ No final status │
│ (Confirmed) │ │ (Failed) │ │ after 3 hours │
└──────────────┘ └──────────────┘ └────────┬─────────┘
│
▼
┌──────────────────┐
│ Mark unconfirmed │
│ Contact Account │
│ Manager │
└──────────────────┘
book_success or book_failed. book_pending is not final: keep polling.book_success; see Supplier Reference and HCNDestination, hotel and nationality lookup for building the search form. No authentication needed.
Searches cities and hotels in one call while the user types. No authentication is required.
Send one query per index in queries, usually both with the same q:
cities: use the hit's code as city and country.code as country_code in Search Hotels.hotels: use the hit's id in hotels_ids (search only this hotel) or in requested_hotel_ids together with a city (show this hotel first among the city's hotels).Results come back in results, one entry per query, in the same order.
Optional per query: limit, filter (e.g. country_code = "EG") and sort (e.g. ["combined_score:desc"] for cities, to rank popular destinations first).
required | Array of objects |
{- "queries": [
- {
- "indexUid": "cities",
- "q": "cairo",
- "limit": 5,
- "sort": [
- "combined_score:desc"
]
}, - {
- "indexUid": "hotels",
- "q": "cairo",
- "limit": 10
}
]
}{- "results": [
- {
- "indexUid": "cities",
- "hits": [
- {
- "id": 1857,
- "code": "CAI",
- "type": "tk_city",
- "name": {
- "en": "Cairo",
- "ar": "القاهرة"
}, - "country": {
- "code": "EG",
- "name": {
- "en": "Egypt",
- "ar": "مصر"
}, - "permalink": "egypt"
}, - "country_code": "EG",
- "_geo": {
- "lat": 30.044388,
- "lng": 31.235726
}, - "time_zone": "Africa/Cairo"
}
], - "query": "cairo",
- "limit": 5,
- "offset": 0,
- "estimatedTotalHits": 1,
- "processingTimeMs": 1
}, - {
- "indexUid": "hotels",
- "hits": [
- {
- "id": 2135352,
- "name": {
- "en": "InterContinental Cairo Semiramis, an IHG Hotel"
}, - "address": {
- "street": "Corniche El Nil PO Casilla 60 Cairo, 11511 Egypt",
- "latitude": "30.04306",
- "longitude": "31.23199",
- "postal_code": "11511"
}, - "country": {
- "code": "EG",
- "name": {
- "en": "Egypt",
- "ar": "مصر"
}
}, - "country_code": "EG",
- "stars": 5,
- "thumbnail": null,
- "type": "hotel"
}, - {
- "id": 2137311,
- "name": {
- "en": "Sofitel Cairo Downtown Nile"
}, - "address": {
- "street": "1191 Nile Corniche, Souq Al Asr Bulaq, PO BOX 2044, Cairo, 11221, Egypt",
- "latitude": "30.06547171",
- "longitude": "31.22761542",
- "postal_code": "11221"
}, - "country": {
- "code": "EG",
- "name": {
- "en": "Egypt",
- "ar": "مصر"
}
}, - "country_code": "EG",
- "stars": 5,
- "thumbnail": null,
- "type": "hotel"
}
], - "query": "cairo",
- "limit": 10,
- "offset": 0,
- "estimatedTotalHits": 75,
- "processingTimeMs": 0
}
]
}Searches countries by name or code while the user types, for the guest nationality. No authentication is required.
Use the hit's code as nationality in Search Hotels.
| q required | string Text typed by the user |
| limit | integer Default: 20 |
{- "q": "eg"
}{- "hits": [
- {
- "id": 68,
- "code": "EG",
- "type": "country",
- "name": {
- "en": "Egypt",
- "ar": "مصر"
}, - "code3": "EGY",
}
], - "query": "eg",
- "limit": 20,
- "offset": 0,
- "estimatedTotalHits": 1,
- "processingTimeMs": 0
}Hotel search operations give your system the ability to query real-time availability, pricing, and room options across all connected suppliers. You can filter by destination, dates, occupancy, and other parameters to retrieve accurate, structured results ready for display or further processing.
Search for available hotels with comprehensive filtering options. Supports searching by city or by specific hotel IDs. Multiple rooms with different guest configurations can be searched.
Set mode in the request:
search (default): the response arrives once every supplier has answered, with the full results.poll: the response arrives immediately with the search_id, status: progress and up to 100 skeleton hotels (skeleton: true): hotel content (name, stars, photos, location) without price, so you can render the list right away. Call Collect Results with that search_id every 2-3 seconds. Each call returns everything found so far, with skeletons replaced by priced hotels as suppliers answer, so replace what you show each time. Stop when status is completed (at the latest about 60 seconds after the search).Search (mode: poll) ──▶ search_id, status: progress, skeleton hotels (no price)
│
▼
Collect Results ──▶ status: progress ──▶ priced hotels replace skeletons, call again in 2-3 s
│
└──────────▶ status: completed ──▶ final results, stop polling
Show skeleton hotels as "loading" and don't let users select them; only hotels with skeleton: false have rooms and prices.
| Field | Searches | Limit |
|---|---|---|
city + country_code |
All hotels of the city | |
hotels_ids |
Only the listed hotels | up to 1000 |
city + country_code + requested_hotel_ids |
The city and the listed hotels; the listed hotels come first (is_requested_hotel: true) and are always returned, with is_available: false when no supplier has them |
up to 10 |
Use requested_hotel_ids when the user picked a specific hotel but should still see alternatives in the same city.
Optional: min_price, max_price (total for the stay), stars, boarding (meal plans) and free_cancellation. They narrow the city results; requested hotels are never filtered out.
Search response
├── search_id ──────────────────────▶ use as `session` in every next call
├── search the destination and number of nights
├── fact_groups ◀────────────────┐ facilities and services, grouped by category
│ └── <group>.facts.<code>.id │
└── hotels[] │ one entry per available hotel
├── index ────────────────────┼─▶ use as `hotel` in Hotel Details, Rooms and Check Availability
├── name, stars, address, location, zone, thumbnail, reviews
├── amenities[] ── fact ids ──┘
├── price cheapest price for all rooms and the whole stay
├── free_cancellation at least one room option can be cancelled for free
└── boarding_type[] meal plans available (room only, breakfast, ...)
hotels[] as your results list. The price is a starting price ("from"); the exact options and prices come from Get Available Rooms.index is the hotel identifier for the next calls.amenities holds fact IDs: find each one in fact_groups (the facts are keyed by code; match on their id) to show the hotel's facilities and to build facility filters.price.display_price, stars, reviews, free_cancellation, boarding_type and amenities.required | Array of objects (RoomSearch) non-empty Array of room objects with guest configurations |
| nationality required | string = 2 characters Guest nationality code (ISO 3166-1 alpha-2) |
| country_code | string = 2 characters Country code for a city search (required with |
| city | string City code for a city search (required with |
| hotels_ids | Array of integers <= 1000 items Search only these hotels (up to 1000). When provided, |
| check_in required | string <date> Check-in date (YYYY-MM-DD) |
| check_out required | string <date> Check-out date (YYYY-MM-DD) |
| currency required | string = 3 characters Currency code (ISO 4217) |
| language required | string = 2 characters Language preference (ISO 639-1) |
| requested_hotel_ids | Array of integers <= 10 items Hotels to highlight in a normal city search (up to 10). The search still returns the city's hotels, and these hotels are searched as well and listed first, flagged with |
| mode | string Default: "search" Enum: "search" "poll"
|
| min_price | number or null Minimum total price for the stay ( |
| max_price | number or null Maximum total price for the stay ( |
| stars | Array of integers or null[ items [ 0 .. 5 ] ] Only hotels with one of these star ratings |
| boarding | Array of strings or null Only hotels offering at least one of these meal plans (values of |
| free_cancellation | boolean or null
|
{- "rooms": [
- {
- "adults": "2",
- "children": [ ]
}
], - "nationality": "EG",
- "country_code": "AE",
- "city": "DXB",
- "check_in": "2025-12-14",
- "check_out": "2025-12-16",
- "currency": "USD",
- "language": "en"
}{- "search_id": "575f395a-e8c9-4cc4-a85b-a12551678eeb",
- "search": {
- "code": "DXB",
- "country_code": "AE",
- "city": "Dubai",
- "city_geo": { },
- "nights": 2,
- "country": "United Arab Emirates"
}, - "hotels": [
- {
- "type": "HOTEL",
- "check_in": "2025-12-14",
- "check_out": "2025-12-16",
- "name": "Movenpick Grand Al Bustan Hotel",
- "description": "This hotel is located on Casablanca Road...",
- "amenities": [
- "81",
- "78"
], - "address": "Casablanca Street, Po Box 30880 Dubai Airport",
- "location": {
- "latitude": 25.247893,
- "longitude": 55.345302
}, - "rooms": { },
- "zone": {
- "id": 21,
- "name": "Dubai",
- "code": "DXB-1"
}, - "featured": false,
- "reviews": {
- "rate": 5,
- "count": 7,
- "max_rate": 5
}, - "accommodations": { },
- "stars": 5,
- "free_cancellation": true,
- "boarding_type": [
- "HALF BOARD",
- "ROOM ONLY",
- "BED AND BREAKFAST",
- "FULL BOARD"
], - "index": "0",
- "price": {
- "currency": "USD",
- "display_price": 270.4,
- "base_price": 240,
- "taxes": 30.4,
- "included_taxes": 0,
- "excluded_taxes": 0,
- "included_taxes_list": [
- { }
], - "excluded_taxes_list": [
- { }
]
}, - "skeleton": true,
- "is_requested_hotel": true,
- "is_available": true
}
], - "status": "progress",
- "requested_hotel": true,
- "is_available": true,
- "fact_groups": {
- "General": {
- "name": "General",
- "facts": {
- "adults_only": {
- "id": 82,
- "name": "Adults only",
- "description": "Adults only",
- "type_hint": "bool",
- "code": "adults_only",
- "icon": "",
- "is_popular": true,
- "identifiers": [ ]
}, - "accessible_rooms": {
- "id": 81,
- "name": "Accessible rooms",
- "description": "Accessible rooms",
- "type_hint": "bool",
- "code": "accessible_rooms",
- "icon": "ri-wheelchair-fill",
- "is_popular": true,
- "identifiers": [ ]
}, - "luggage_storage": {
- "id": 78,
- "name": "Luggage storage",
- "description": "Luggage storage",
- "type_hint": "bool",
- "code": "luggage_storage",
- "icon": "las la-luggage-cart",
- "is_popular": true,
- "identifiers": [ ]
}
}
}
}, - "fact_sheet": [
- { }
]
}Returns the results of a search made with mode: poll. Call it every 2-3 seconds with the search_id of the search.
Each call returns all hotels found so far, in the same structure as the Search response; skeleton hotels are replaced by priced hotels as suppliers answer, so replace what you show each time. Keep calling while status is progress; stop when it is completed.
| search_id required | string
|
{- "search_id": "575f395a-e8c9-4cc4-a85b-a12551678eeb",
- "search": {
- "code": "DXB",
- "country_code": "AE",
- "city": "Dubai",
- "city_geo": { },
- "nights": 2,
- "country": "United Arab Emirates"
}, - "hotels": [
- {
- "type": "HOTEL",
- "check_in": "2025-12-14",
- "check_out": "2025-12-16",
- "name": "Movenpick Grand Al Bustan Hotel",
- "description": "This hotel is located on Casablanca Road...",
- "amenities": [
- "81",
- "78"
], - "address": "Casablanca Street, Po Box 30880 Dubai Airport",
- "location": {
- "latitude": 25.247893,
- "longitude": 55.345302
}, - "rooms": { },
- "zone": {
- "id": 21,
- "name": "Dubai",
- "code": "DXB-1"
}, - "featured": false,
- "reviews": {
- "rate": 5,
- "count": 7,
- "max_rate": 5
}, - "accommodations": { },
- "stars": 5,
- "free_cancellation": true,
- "boarding_type": [
- "HALF BOARD",
- "ROOM ONLY",
- "BED AND BREAKFAST",
- "FULL BOARD"
], - "index": "0",
- "price": {
- "currency": "USD",
- "display_price": 270.4,
- "base_price": 240,
- "taxes": 30.4,
- "included_taxes": 0,
- "excluded_taxes": 0,
- "included_taxes_list": [
- { }
], - "excluded_taxes_list": [
- { }
]
}, - "skeleton": true,
- "is_requested_hotel": true,
- "is_available": true
}
], - "status": "progress",
- "requested_hotel": true,
- "is_available": true,
- "fact_groups": {
- "General": {
- "name": "General",
- "facts": {
- "adults_only": {
- "id": 82,
- "name": "Adults only",
- "description": "Adults only",
- "type_hint": "bool",
- "code": "adults_only",
- "icon": "",
- "is_popular": true,
- "identifiers": [ ]
}, - "accessible_rooms": {
- "id": 81,
- "name": "Accessible rooms",
- "description": "Accessible rooms",
- "type_hint": "bool",
- "code": "accessible_rooms",
- "icon": "ri-wheelchair-fill",
- "is_popular": true,
- "identifiers": [ ]
}, - "luggage_storage": {
- "id": 78,
- "name": "Luggage storage",
- "description": "Luggage storage",
- "type_hint": "bool",
- "code": "luggage_storage",
- "icon": "las la-luggage-cart",
- "is_popular": true,
- "identifiers": [ ]
}
}
}
}, - "fact_sheet": [
- { }
]
}Retrieve comprehensive hotel information including descriptions, amenities, images, and location data to enrich your user experience.
Retrieves comprehensive details about a specific hotel including full description, amenities, gallery images, and location information.
| session required | string <uuid> Search session ID from search response |
| hotel required | string Hotel index from search results |
| currency required | string Currency code |
| language required | string Language preference |
{- "session": "575f395a-e8c9-4cc4-a85b-a12551678eeb",
- "hotel": "0",
- "currency": "USD",
- "language": "en"
}{- "id": 989573,
- "name": "Movenpick Grand Al Bustan Hotel",
- "type": "HOTEL",
- "description": "This hotel is located on Casablanca Road in the Al Garhoud district, just 5 minutes from Dubai International Airport...",
- "stars": 5,
- "address": "Casablanca Street, Po Box 30880 Dubai Airport",
- "city": {
- "id": 5,
- "name": "Dubai",
- "code": "DXB"
}, - "country": {
- "id": 8,
- "name": "United Arab Emirates",
- "code": "AE"
}, - "postal_code": "",
- "phones": [
- {
- "type": "voice",
- "number": "+97142820000"
}
], - "provider": "hotel_beds",
- "coordinates": {
- "latitude": 25.247893,
- "longitude": 55.345302
}, - "emails": [
- "string"
], - "website": "",
- "featured": false,
- "check_in_time": "None",
- "check_out_time": "None",
- "check_in_out_policy": "string",
- "zone": {
- "id": 21,
- "name": "Dubai",
- "code": "DXB-1"
}, - "amenities": [
- "1",
- "2",
- "3"
], - "fact_details": { },
- "facts_groups": {
- "property1": {
- "name": "Object Information",
- "facts": {
- "property1": {
- "id": 1,
- "name": "Hotel Chain",
- "description": "Hotel Chain",
- "type_hint": "bool",
- "code": "hotel_chain",
- "icon": "string",
- "is_popular": false,
- "identifiers": [
- "hotel_chain",
- "Hotel Chain"
]
}, - "property2": {
- "id": 1,
- "name": "Hotel Chain",
- "description": "Hotel Chain",
- "type_hint": "bool",
- "code": "hotel_chain",
- "icon": "string",
- "is_popular": false,
- "identifiers": [
- "hotel_chain",
- "Hotel Chain"
]
}
}
}, - "property2": {
- "name": "Object Information",
- "facts": {
- "property1": {
- "id": 1,
- "name": "Hotel Chain",
- "description": "Hotel Chain",
- "type_hint": "bool",
- "code": "hotel_chain",
- "icon": "string",
- "is_popular": false,
- "identifiers": [
- "hotel_chain",
- "Hotel Chain"
]
}, - "property2": {
- "id": 1,
- "name": "Hotel Chain",
- "description": "Hotel Chain",
- "type_hint": "bool",
- "code": "hotel_chain",
- "icon": "string",
- "is_popular": false,
- "identifiers": [
- "hotel_chain",
- "Hotel Chain"
]
}
}
}
}
}Access detailed room availability, pricing options, meal plans, and cancellation policies for selected hotels to help customers make informed booking decisions.
Retrieves all available room options for a selected hotel, including room types, pricing, meal plans, and cancellation policies.
Each room combination is one complete, bookable option: one room for each room you searched for, with a single total price for all rooms and the whole stay. Similar options are grouped in accommodations.
Rooms response
├── lowest_price the cheapest room combination (same shape as below)
├── free_cancellation at least one combination can be cancelled for free
└── accommodations[] groups of similar options
└── room_combinations[] one bookable option each
├── room_ids[] ─────────────▶ send as `rooms[]` to Check Availability
├── rooms[] one room per room searched for (name, meal, amenities, gallery)
├── total_price price for all rooms and the whole stay
├── meal meal plan of the option
├── refundable false when any room can't be cancelled
├── cancellation_policy when cancellation becomes chargeable
├── can_hold the option can be held without payment
└── deadline hold deadline, when known at this step
total_price.display_price as its price.room_ids to Check Availability. When saving guests, room_index is the position of the room in rooms[] (0 for the first room).use_combination_policy is true, use the combination's cancellation_policy; when false, ignore it and use the cancellation_policy of each room in rooms.can_hold / deadline here are a first indication: confirm them with Check Availability.| session required | string <uuid> Search session ID from search response |
| hotel required | string Hotel index from search results |
| currency required | string Currency code |
| language required | string Language preference |
{- "session": "575f395a-e8c9-4cc4-a85b-a12551678eeb",
- "hotel": "0",
- "currency": "USD",
- "language": "en"
}{- "accommodations": [
- {
- "room_combinations": [
- {
- "room_ids": [
- "0",
- "1"
], - "cancellation_policy": {
- "last_cancellation_deadline": "2019-08-24T14:15:22Z",
- "free_cancellation": true,
- "policies": [
- {
- "from_date": "2025-11-26T16:04:09.771752",
- "to_date": "2025-12-09T23:59:00+04:00",
- "type": "fixed",
- "charge": 182.54,
- "currency": "USD"
}
], - "norms": "string"
}, - "use_combination_policy": true,
- "total_price": {
- "currency": "USD",
- "display_price": 270.4,
- "base_price": 240,
- "taxes": 30.4,
- "included_taxes": 0,
- "excluded_taxes": 0,
- "included_taxes_list": [
- { }
], - "excluded_taxes_list": [
- { }
]
}, - "meal": "ROOM ONLY",
- "rooms": [
- {
- "id": "0",
- "name": "Classic Room With 2 Single Beds",
- "description": "",
- "meal": "ROOM ONLY",
- "meal_amount": 0,
- "meal_description": "",
- "group": "1",
- "gallery": [
- "string"
], - "amenities": [
- "string"
], - "cancellation_policy": {
- "last_cancellation_deadline": "2019-08-24T14:15:22Z",
- "free_cancellation": true,
- "policies": [
- {
- "from_date": null,
- "to_date": null,
- "type": null,
- "charge": null,
- "currency": null
}
], - "norms": "string"
}, - "supplements": { },
- "comments": {
- "rate_comments_id": "string"
}, - "refundable": true,
- "display_price": 0,
- "minStay": 0,
- "dateApplyMinStay": "string"
}
], - "refundable": true,
- "can_hold": true,
- "deadline": "2019-08-24T14:15:22Z"
}
]
}
], - "lowest_price": {
- "room_ids": [
- "0",
- "1"
], - "cancellation_policy": {
- "last_cancellation_deadline": "2019-08-24T14:15:22Z",
- "free_cancellation": true,
- "policies": [
- {
- "from_date": "2025-11-26T16:04:09.771752",
- "to_date": "2025-12-09T23:59:00+04:00",
- "type": "fixed",
- "charge": 182.54,
- "currency": "USD"
}
], - "norms": "string"
}, - "use_combination_policy": true,
- "total_price": {
- "currency": "USD",
- "display_price": 270.4,
- "base_price": 240,
- "taxes": 30.4,
- "included_taxes": 0,
- "excluded_taxes": 0,
- "included_taxes_list": [
- { }
], - "excluded_taxes_list": [
- { }
]
}, - "meal": "ROOM ONLY",
- "rooms": [
- {
- "id": "0",
- "name": "Classic Room With 2 Single Beds",
- "description": "",
- "meal": "ROOM ONLY",
- "meal_amount": 0,
- "meal_description": "",
- "group": "1",
- "gallery": [
- "string"
], - "amenities": [
- "string"
], - "cancellation_policy": {
- "last_cancellation_deadline": "2019-08-24T14:15:22Z",
- "free_cancellation": true,
- "policies": [
- {
- "from_date": "2025-11-26T16:04:09.771752",
- "to_date": "2025-12-09T23:59:00+04:00",
- "type": "fixed",
- "charge": 182.54,
- "currency": "USD"
}
], - "norms": "string"
}, - "supplements": { },
- "comments": {
- "rate_comments_id": "string"
}, - "refundable": true,
- "display_price": 0,
- "minStay": 0,
- "dateApplyMinStay": "string"
}
], - "refundable": true,
- "can_hold": true,
- "deadline": "2019-08-24T14:15:22Z"
}, - "free_cancellation": true
}Confirm the rooms, save the guests, then hold or pay and confirm.
can_hold tells you whether the booking can be held without payment, and deadline until when (pay before it, or the hold is released). They are returned by Get Available Rooms (per room combination), Check Availability and Retrieve Order Details; always use the latest one. A hold is offered only for fully free-cancellation rooms from suppliers that support it, and must be enabled for your account.
Confirms that the selected room combination is still available at the same price, and creates the order for it.
| product_type required | string Value: "hotel" |
| search_id required | string Session ID from the search |
| hotel required | string Hotel code |
| rooms[] required | Array of strings Room IDs of the selected room combination ( |
| currency required | string Example: currency=USD |
| language required | string Example: language=en |
{- "success": true,
- "message": "Product availability checked successfully",
- "available": true,
- "price_changed": false,
- "price_change": 0,
- "price": null,
- "session_id": "575f395a-e8c9-4cc4-a85b-a12551678eeb",
- "order_id": 9120,
- "can_hold": true,
- "deadline": "2026-11-20 23:59:00"
}Saves the contact details and guests on the order created by Check Availability.
This does not book the hotel. Continue with Hold Booking (when
can_holdistrue) or Pay and Confirm Booking.
| session required | string <uuid> Example: 575f395a-e8c9-4cc4-a85b-a12551678eeb Session ID returned by Check Availability ( |
required | object |
required | Array of objects non-empty One entry per guest. The first guest is the lead guest. |
| live_booking | boolean or null
|
{- "contact": {
- "terms": true,
- "email": "john.doe@example.com",
- "mobile": "+966565565655"
}, - "passengers": [
- {
- "title": "Mr",
- "first_name": "John",
- "last_name": "Doe",
- "type": "ADT",
- "room_index": 0,
- "nationality_code": "EG"
}, - {
- "title": "Mrs",
- "first_name": "Jane",
- "last_name": "Doe",
- "type": "ADT",
- "room_index": 0,
- "nationality_code": "EG"
}
], - "live_booking": false
}{- "message": "order stored successfully"
}Reserves the booking without payment. Available only when can_hold is true (see Hold in the overview). Pay with Pay and Confirm Booking before deadline, or the hold is released.
This must be enabled for your account. If it is refused, the response is 403 with the reason (for example, your account's hold limits were reached).
| session required | string <uuid> Example: 575f395a-e8c9-4cc4-a85b-a12551678eeb Session ID returned by Check Availability ( |
{- "message": "Order held successfully",
- "data": [ ],
- "order": {
- "session_id": "575f395a-e8c9-4cc4-a85b-a12551678eeb",
- "status": "hold"
}
}Pays for the booking from your agency balance and confirms it with the supplier. Works for new and held bookings.
Important: After payment, you must poll the Order Details endpoint every 10 minutes for up to 3 hours to receive the final booking status (book_success or book_failed). If no final status is received, mark the booking as "unconfirmed" and contact your account manager.
| session required | string <uuid> Example: 575f395a-e8c9-4cc4-a85b-a12551678eeb Search session ID used in booking creation |
{- "message": "Order confirmed successfully",
- "data": [
- { }
], - "order": {
- "id": 3150,
- "name": "Mr John Doe",
- "session_id": "6b189be6-3139-4398-9a39-b4316e7e3d1a",
- "status": "payment_pending",
- "order_number": "968412709",
- "email": "john.doe@mail.com",
- "phone1": "+19517475601",
- "phone2": "string",
- "ancillaries": [
- { }
], - "created_at": "2025-11-26T16:09:45.000000Z",
- "booking_status": "book_success",
- "reference": "",
- "hcn": "HCN123456",
- "available_actions": [
- {
- "action": "cancel",
- "product_id": 12001
}
]
}
}Retrieve order details and monitor booking status. After payment, poll order details every 10 minutes for up to 3 hours to receive final booking status (book_success or book_failed).
Retrieves comprehensive details of a specific hotel booking, including guest information, room details, pricing, and booking status.
Polling Instructions:
booking_status for the final status: book_success or book_failed (book_pending means keep polling)order.hcn is set when the hotel confirms; it can arrive later than book_success, and some suppliers never return itHold: data.can_hold and data.deadline show whether the booking can be held and until when a held booking must be paid.
Cancel: order.available_actions lists cancel (with its product_id) while the booking can be cancelled through the API; see Cancel Booking.
| session required | string <uuid> Example: 575f395a-e8c9-4cc4-a85b-a12551678eeb Search session ID from booking |
{- "data": {
- "id": 338,
- "hotel_name": "Le Meridien Dubai Hotel & Conference Centre",
- "check_in": "14-12-2025",
- "check_out": "16-12-2025",
- "num_of_pax": 4,
- "num_of_rooms": 2,
- "total_amount": "2,729.99 SAR",
- "rooms": [
- {
- "id": 433,
- "name": "Room DELUXE",
- "meal_type": "BED AND BREAKFAST",
- "guests": [
- {
- "id": 625,
- "type": "ADT",
- "title": "Mr",
- "first_name": "John",
- "last_name": "Boone",
- "age": 6
}
]
}
], - "can_hold": true,
- "deadline": "string"
}, - "order": {
- "id": 3150,
- "name": "Mr John Doe",
- "session_id": "6b189be6-3139-4398-9a39-b4316e7e3d1a",
- "status": "payment_pending",
- "order_number": "968412709",
- "email": "john.doe@mail.com",
- "phone1": "+19517475601",
- "phone2": "string",
- "ancillaries": [
- { }
], - "created_at": "2025-11-26T16:09:45.000000Z",
- "booking_status": "book_success",
- "reference": "",
- "hcn": "HCN123456",
- "available_actions": [
- {
- "action": "cancel",
- "product_id": 12001
}
]
}
}Cancel a booking free of charge before its free-cancellation deadline. The amount is refunded to your agency balance.
Before cancelling
cancellation_policy in Get Available Rooms): free cancellation ends at last_cancellation_deadline, after which policies show the charges.action: cancel in order.available_actions. It is listed only while the booking can be cancelled through the API (free-cancellation booking, before its deadline data.deadline). If it isn't there, the booking can't be cancelled through the API; contact your account manager.product_id.Retrieve Order Details
│
▼
order.available_actions has { action: "cancel", product_id }?
│
├── no ──▶ can't be cancelled through the API (non-refundable, or past the deadline)
│
└── yes ─▶ Cancel Booking (product_id) ──▶ booking cancelled, refund to your balance
Cancels the booking with the supplier and refunds it to your agency balance.
Only call it for a product listed with action: cancel in order.available_actions of Retrieve Order Details; any other booking is rejected. Check the rooms' cancellation policy before cancelling.
This endpoint must be enabled for your account. If it returns 403, contact your account manager.
| session required | string <uuid> Example: 575f395a-e8c9-4cc4-a85b-a12551678eeb Session ID returned by Check Availability ( |
| product_id required | integer
|
{- "product_id": 12001
}{- "data": [ ],
- "message": "Hotel Booking Cancelled Successfully",
- "status": true
}All our hotels, to keep in your own system and keep up to date. See Hotels Dump for the download flow.
One line of the full dump file, and the hotel of a delta upsert line.
| id | integer Hotel ID. Use in |
| linked_hotel_ids | Array of integers Other IDs of the same hotel. Search results may show the hotel under one of them. |
object (LocalizedName) Text per language | |
| stars | integer or null |
| type | string or null |
object (LocalizedName) Text per language | |
| postal_code | string or null |
| phone | string or null |
object | |
object or null | |
object | |
object (LocalizedName) Text per language | |
| thumbnail | string or null <uri> |
| images | Array of strings <uri> [ items <uri > ] |
| check_in_time | string or null |
| check_out_time | string or null |
{- "id": 2135352,
- "linked_hotel_ids": [
- 2241871,
- 3011456
], - "name": {
- "en": "InterContinental Cairo Semiramis, an IHG Hotel",
- "ar": ""
}, - "stars": 5,
- "type": "hotel",
- "address": {
- "en": "Corniche El Nil, Cairo 11511",
- "ar": ""
}, - "postal_code": "11511",
- "phone": "+20227957171",
- "geo": {
- "lat": 30.04306,
- "lng": 31.23199
}, - "city": {
- "code": "CAI",
- "name": {
- "en": "Cairo",
- "ar": "القاهرة"
}
}, - "country": {
- "code": "EG",
- "name": {
- "en": "Egypt",
- "ar": "مصر"
}
}, - "description": {
- "en": "Overlooking the Nile…",
- "ar": ""
}, - "check_in_time": "15:00:00",
- "check_out_time": "12:00:00"
}One line of a delta file.
| op required | string Value: "upsert" |
required | object (DumpHotel) One line of the full dump (and the |
{- "op": "upsert",
- "hotel": {
- "id": 2135352,
- "linked_hotel_ids": [
- 2241871,
- 3011456
], - "name": {
- "en": "InterContinental Cairo Semiramis, an IHG Hotel",
- "ar": ""
}, - "stars": 5,
- "type": "hotel",
- "address": {
- "en": "Corniche El Nil, Cairo 11511",
- "ar": ""
}, - "postal_code": "11511",
- "phone": "+20227957171",
- "geo": {
- "lat": 30.04306,
- "lng": 31.23199
}, - "city": {
- "code": "CAI",
- "name": {
- "en": "Cairo",
- "ar": "القاهرة"
}
}, - "country": {
- "code": "EG",
- "name": {
- "en": "Egypt",
- "ar": "مصر"
}
}, - "description": {
- "en": "Overlooking the Nile…",
- "ar": ""
}, - "check_in_time": "15:00:00",
- "check_out_time": "12:00:00"
}
}Links to download all our hotels, or only what changed since the version you last applied.
GET /api/agency/api-out/hotels/dump first time: all hotels
GET /api/agency/api-out/hotels/dump?since=<version> every day: only what changed
type |
When | What to do |
|---|---|---|
full |
First call (no since), or when your copy needs a full reload |
Download url, check sha256, replace all your hotels, keep version |
delta |
Daily call with since |
Download each file of deltas in order, apply its lines, keep its version |
up_to_date |
Nothing changed since your version |
Nothing to do |
A new version is published every day. Links are valid until expires_at (1 hour); call this endpoint again for fresh links.
Full dump (hotels.jsonl.gz): gzip-compressed JSON Lines, one DumpHotel per line. Decompress and read it line by line; the file is large (tens of MB compressed).
Delta (delta.jsonl.gz): one DumpDeltaLine per line:
{"op": "upsert", "hotel": {…}}: add the hotel, or replace the hotel with the same id.{"op": "delete", "id": 3011456, "replaced_by": 2135352}: remove the hotel. When replaced_by is set, the hotel now has that ID; move your mapping to it.Use id in hotels_ids or requested_hotel_ids of Search Hotels; linked_hotel_ids are other IDs of the same hotel that search results may show.
The full dump response has an ETag (its version). Send it back in If-None-Match to get 304 Not Modified while it is still the latest.
This endpoint must be enabled for your account. If it returns 403, contact your account manager.
| since | string^\d{8}T\d{6}Z$ Example: since=20261011T040000Z The |
| If-None-Match | string Example: "20261012T040000Z" The |
{- "data": {
- "type": "full",
- "version": "20261012T040000Z",
- "schema_version": 1,
- "generated_at": "2026-10-12T04:03:51Z",
- "format": "jsonl",
- "compression": "gzip",
- "hotels_count": 183412,
- "size_bytes": 78217765,
- "sha256": "4ac21198d7f5c3479d3434a563d6c19263116e2df9c25c34133c8e62238b9f49",
- "expires_at": "2026-10-12T11:15:00Z"
}, - "message": "Hotels dump retrieved successfully",
- "status": true
}Returns up to 100 hotels rated 4 or 5 stars for each test city: Istanbul (IST), Cairo (CAI), Dubai (DXB), Paris (PAR) and Jeddah (JED). Hotels are in the same format as the hotel hits of Location Autocomplete, with the same IDs as Hotels Dump.
Use a hotel's id in hotels_ids or requested_hotel_ids of Search Hotels, with city_code and country_code for a city search. The list is refreshed daily.
This endpoint must be enabled for your account. If it returns 403, contact your account manager.
{- "data": {
- "CAI": [
- {
- "id": 2135352,
- "name": {
- "en": "InterContinental Cairo Semiramis, an IHG Hotel"
}, - "display_name": {
- "en": "",
- "ar": ""
}, - "description": "InterContinental Cairo Semiramis, an IHG Hotel",
- "display_description": {
- "en": "",
- "ar": ""
}, - "address": {
- "street": "Corniche El Nil PO Casilla 60 Cairo, 11511 Egypt",
- "latitude": "30.04306",
- "longitude": "31.23199",
- "postal_code": "11511"
}, - "display_address": {
- "en": "",
- "ar": ""
}, - "location": {
- "city": "Cairo",
- "country": "Egypt",
- "address": "Corniche El Nil PO Casilla 60 Cairo, 11511 Egypt"
}, - "country": {
- "code": "EG",
- "name": {
- "en": "Egypt",
- "ar": "مصر"
}
}, - "city": {
- "id": 1857,
- "code": "CAI",
- "name": {
- "en": "Cairo",
- "ar": "القاهرة"
}
}, - "_geo": {
- "lat": 30.04306,
- "lng": 31.23199
}, - "city_code": "CAI",
- "country_code": "EG",
- "country_iso_code_2alph": "EG",
- "hotel_type": "hotel",
- "type": "hotel",
- "stars": 5,
- "featured": false,
- "thumbnail": null
}
]
}, - "message": "Sample hotels retrieved successfully",
- "status": true
}