Search holiday packages
search_packagesSearches holiday packages (flight + hotel) to one destination country. Returns packages with hotel name, stars, guest rating, board, departure date and airports, total and per-person price, and a link to book on the brand's website. Filters: dates, nights, travellers, departure airport, price, stars, board and region (regionCode from get_regions of the same country, countryCode from get_countries); sorting by popularity, price, rating or stars; cursor pagination. Only countryCode is required (defaults: departures in the next 2 months, 7 nights, 2 adults). Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return (default 6, max 30) | |
| adults | No | Number of adults (default: 2) | |
| cursor | No | Cursor for pagination (from previous response's nextCursor) | |
| dateTo | No | Latest return date, YYYY-MM-DD (optional, defaults to 2 months from now). At least the minimum nights after dateFrom; a shorter window is rejected. | |
| nights | No | Number of nights (default: 7) | |
| sortBy | No | Sort results by: 'popularity' (default, most booked first), 'price', 'rating', or 'stars'. | |
| dateFrom | No | Earliest departure, YYYY-MM-DD (optional, defaults to tomorrow). With dateTo, the window the whole trip must fit in. | |
| maxPrice | No | Maximum price in the local currency (optional) | |
| maxStars | No | Maximum hotel star rating 1-5 (optional) | |
| mealType | No | Meal plan filter: 'breakfast' (BB), 'half-board' (HB), 'full-board' (FB), 'all-inclusive' (AI), or 'room-only' (RO) | |
| minPrice | No | Minimum price in the local currency (optional) | |
| minStars | No | Minimum hotel star rating 1-5 (optional) | |
| nightsMax | No | Maximum number of nights of a flexible range (optional, together with nightsMin). When set, 'nights' is ignored. | |
| nightsMin | No | Minimum number of nights of a flexible range (optional, together with nightsMax). When set, 'nights' is ignored. | |
| sortOrder | No | Sort order: 'asc' (ascending) or 'desc' (descending). Default depends on sort type. | |
| regionCode | No | Optional region or city code from get_regions for the same countryCode (e.g. 're-ACA'); a code of another country is rejected. Narrows the search. | |
| countryCode | Yes | Two-letter destination country code (e.g. 'ES' for Spain, 'GR' for Greece, 'TR' for Turkey, 'EG' for Egypt), as listed by get_countries. | |
| childrenAges | No | Ages of children (optional, empty array if no children) | |
| departureAirport | No | Departure airport IATA code (e.g. 'WAW' or 'KTW' on eSky, 'MAN' or 'LGW' on Thomas Cook UK). Omitted = all available departure airports. |