B2C API (wrapper)


The Wrapper API serves as an enhanced version of our Hotels API, offering additional functionalities specifically designed for B2C workflows. This API is distinguished by its focus on improving user experience and response times.

Notably, it utilizes static data, which eliminates the delay typically associated with waiting for supplier responses.

Key Features

Hotels Filtering

The Wrapper API provides comprehensive filtering options to tailor the hotel search experience. These options include:

  • Price Range - Filter hotels based on minimum and maximum price limits.
  • Amenities - Select hotels offering specific amenities like fitness centers, parking, pet-friendliness, Wi-Fi, etc.
  • Hotel Chains - Filter based on specific hotel chains.
  • Refundability - Find hotels offering refundable booking options.
  • Room Basis - Filter by types of accommodation, such as Bed and Breakfast (BB), Half Board (HB), or Room Only (RO).
  • Room Class - Choose from various room classes like Business, Deluxe, Executive with view, etc.
  • Room Type - Select specific room types such as Double, King, Dorm, Queen.
  • Star Rating - Filter hotels based on their star ratings.
  • Supplier - Choose hotels from specific suppliers.


Pagination in an API, like the Wrapper API, facilitates the efficient management of large data sets. By enabling the retrieval of data in smaller, manageable chunks, it prevents the overload that can occur when attempting to fetch all data in a single request.

Enhanced User Experience

Implementing Wrapper API enhances the user experience. Users can navigate through the data more easily, accessing specific sections of information without being overwhelmed by an excess of data at once. This approach is particularly useful in applications where user interaction with data is a key aspect.

Wrapper API Flow

LoginLogin using user credentials to establish a Session.
SearchHotel Search request allows you to search for Hotels, either by Geolocations or by HotelIDs.
GetPageRetrieves a specific page from the results.
Get DetailsRetrieves the Details of a specific Hotel.
Get Hotel ContentRetrieves the Content of a specific Hotel.
Get Supplier BreakdownRetrieves a breakdown/summary of the available results per Supplier.
BookSubmits a new booking request for the selected hotel and returns the booking reference and booking status.


The Wrapper API is a session-based service, so proper session creation and management are crucial.

The "Login" request is mandatory in this API - as it establishes a connection and retrieves the sessionID.

Login API examples (Postman) - Click here.


The Search request provides the capability to find hotels using the following criteria:

  • Geo Locations, specified by latitude and longitude, within a radius of up to 75 km.
  • Hotel IDs, with the option to include up to 3,000 hotel IDs in a single request.

Before initiating the Search request, you can select the number of results to display on each page. The results will also include the 'TotalPages' information, which can be accessed through the GetPage request.

The response will only contain the actual entities if the “IsPaginatedSearch” flag is set to “False” in the request, otherwise no entities will be returned in the response. (If not defined, default is False).



The Search Request not only provides search results but also generates and builds and returns available filters in the response.

This allows users to utilize these filters when making GetPage requests to filter the returned hotels.

Search API examples (Postman) - Click here.

Get Page

The GetPage request is used to fetch a particular page from the search results. Within the GetPage response, you will find information regarding the total number of pages, referred to as 'TotalPages'.

This enables you to request subsequent pages, starting with page 1 and progressing to the last page.

Additionally, the GetPage request allows you to fine-tune your hotel search by applying various filters, such as Minimum Price, Maximum Price, Star Rating, Basis, Class, Name, and more.

By specifying these filters, you can narrow down the results to include only hotels that meet your specific criteria.



You have the flexibility to control the 'ResultsPerPage' parameter, allowing you to adjust the number of results displayed on each page.

This can be particularly useful to reduce the total number of pages and streamline your search process.

Get Page API examples (Postman) - Click here.

GetDetails / Get Packages

GetDetails - The GetDetails request is used to obtain detailed information about a specific hotel / Car / Flight. This request operates in a manner similar to the GetPackages request, which provides information about the available rooms within a particular hotel.

GetPackages - GetPackages request is used to get updated room information in a specific a hotel.
In order to send this request, all you need is the hotelID & sessionID which returned in the Search Hotels response.

GetDetails API examples (Postman) - Click here.

GetPackages API examples (Postman) - Click here.

Get Hotel Content

The Content request allows you to retrieve specific content for a particular hotel. You have the option to choose which types of content you need, such as images, descriptions, and facilities/amenities information, depending on your requirements.

Get Hotel Content API examples (Postman) - Click here.

Get Supplier Breakdown

The request retrieves a summary breakdown of the available results per supplier. This breakdown includes information on the number of suppliers, the count of hotels provided by each supplier, and the count of rooms offered by each supplier.

Get Supplier Breakdown API examples (Postman) - Click here.


The Booking request allows you to submit a new booking request for the selected hotel, and returns the booking reference and booking status as a response.

It's important to note that you can only book items that were returned in the last search within the same session, ensuring that you're booking from the most recent and relevant search results.

Book API examples (Postman) - Click here.