API Reference
Search Arguments​
Use the search
operation to get full-text search functionality with advanced filtering options. The search operation is not publicly available and requires authentication. Authentication is managed through a generated token, which must be included in the request header.
Parameter | Type | Category | Description |
---|---|---|---|
countryCode (required) | Country! | Example of usage: countryCode: PL | |
languageCode (required) | Language! | Set language for language-specific settings such as plurals, stop words, dictionaries. Required Language ISO code. Example of usage: languageCode: PL | |
query | String! | filters | The search query |
adults | Integer | filters | Number of adults |
children | Integer | filters | Number of children |
childrenBirthDates | [Dates!] | filters | Required if children is greater than 0. Example of usage: childrenBirthDates: ["2021-08-30"] |
departureDate | [DateRange] | filters | Filter search results by departure date range. Examples of usage: departureDate: {min: "YYYY-MM-DD", max: "YYYY-MM-DD"} departureDate: {min: "YYYY-MM-DD"} |
citySourceId | [[String!]] | filters | Filter search results by city sourceId field. Example of usage: graphql citySourceId: ["79"] |
citySourceName | [[String!]] | filters | Filter search results by city sourceName field. Example of usage: citySourceName: ["Rodos"] |
countrySourceId | [[String!]!] | filters | Filter search results by country sourceId field. Example of usage: countrySourceId: ["Rodos"] |
countrySourceName | [[String!]!] | filters | Filter search results by country sourceName field. Example of usage: countrySourceName: ["Grecja"] |
departureAirportCode | [String!] | filters | Filter search results by departureAirportCode field. Example of usage: departureAirportCode: ["WAW"] |
departureCity | [String!] | filters | Filter search results by departureCity field. Example of usage: departureCity: ["Warszawa"] |
maintenanceCode | [String!] | filters | Filter search results by maintenance code field. Example of usage: maintenanceSourceCode: ["UA"] |
maintenanceName | [String!] | filters | Filter search results by maintenance name field. Example of usage: maintenanceSourceName: ["Ultra All Inclusive"] |
maintenanceSourceCode | [String!] | filters | Filter search results by maintenance sourceCode field. Example of usage: maintenanceSourceCode: ["UA"] |
maintenanceSourceName | [String!] | filters | Filter search results by maintenance sourceName field. Example of usage: maintenanceSourceName: ["Ultra All Inclusive"] |
period | IntRange! | filters | Filter search results by period range. Example of usage: period: {min: 5, max: 10} |
price | [FloatRange!] | filters | Filter search results by price range. Example of usage: price: {min:1000, max: 3000} |
totalPrice | [FloatRange!] | filters | Filter search results by totalPrice range. Example of usage: totalPrice: {min: 2000, max: 10000} |
propertyCategory | [String!] | filters | Filters search results by property category field. Example of usage: propertyCategory: ["50"] |
propertyCategoryRange | IntRange | filters | Filters search results by property category range. Example of usage: propertyCategoryRange: {min: 30, max: 50} |
propertySourceCategory | [String!] | filters | Filters search results by property sourceCategory field. Example of usage: propertySourceCategory: ["50"] |
propertySourceId | [String!] | filters | Filters search results by property sourceId field. Example of usage: propertySourceId: ["50"] |
propertySourceName | [String!] | filters | Filters search results by property sourceName field. Example of usage: propertySourceName: ["Maxx Royal"] |
regionSourceId | [[String!]!] | filters | Filters search results by region sourceId field. Example of usage: regionSourceId: ["ID1", "ID2"] |
regionSourceName | [[String!]!] | filters | Filters search results by region sourceName field. Example of usage: regionSourceName: ["Riwiera Turecka", "Belek"] |
roomCode | [String!] | filters | Filters search results by room code field. Example of usage: roomCode: ["Royal Suite"] |
roomName | [String!] | filters | Filters search results by room name field. Example of usage: roomName: ["Royal Suite"] |
roomSourceCode | [String!] | filters | Filters search results by room sourceCode field. Example of usage: roomSourceCode: ["50"] |
roomSourceName | [String!] | filters | Filters search results by room sourceName field. Example of usage: roomSourceName: ["Royal Suite"] |
touroperatorCode | [String!] | filters | Filters search results by touroperator code field. Example of usage: touroperatorCode: ["demo_pl"] |
touroperatorName | [String!] | filters | Filters search results by touroperator name field. Example of usage: touroperatorName: ["Demo_pl"] |
transportType | [String!] | filters | Filters search results by transportType` field. Example of usage: transportType: ["samolot"] |
offerType | [[String!]!] | filters | Filters search results by offer type field.Example of usage: offerType: ["Wypoczynek"] |
query | String | filters | Example of usage:query: ["Wakacje w Turcji"] |
offerId | String | filters | Filters search results by offer id field.Example of usage: offerId: "5" |
offerIds | [String!] | filters | Filters search results by offer id field. Example of usage: offerIds: ["2", "3"] |
semanticCategoryAccommodation | [[String!]!] | filters | Filters search results by semantic category accomodation field. Example of usage: semanticCategoryAccommodation: ["hotel"] |
semanticCategoryActivity | [[String!]!] | filters | Filters search results by semantic category activity field.Example of usage: semanticCategoryActivity: ["sporty wodne"] |
semanticCategoryBoardType | [[String!]!] | filters | Filters search results by semantic category boardType field.Example of usage: semanticCategoryBoardType: ["ultra all inclusive"] |
semanticCategoryHotelAmenities | [[String!]!] | filters | Filters search results by semantic category hotelAmenities field.Example of usage: semanticCategoryHotelAmenities: ["opieka dla dzieci"] |
semanticCategoryHotelAttractions | [[String!]!] | filters | Filters search results by semantic category hotelAttractions field.Example of usage: semanticCategoryHotelAttractions: ["park wodny"] |
semanticCategoryOfferType | [[String!]!] | filters | Filters search results by semantic category offerType field.Example of usage: semanticCategoryOfferType: ["wypoczynek"] |
semanticCategoryRoomType | [[String!]!] | filters | Filters search results by semantic category roomType field.Example of usage: semanticCategoryRoomType: ["suite"] |
semanticCategoryTransportation | [[String!]!] | filters | Filters search results by semantic category transportation field.Example of usage: semanticCategoryTransportation: ["samolot"] |
semanticCategoryTripAttractions | [[String!]!] | filters | Filters search results by semantic category tripAttractions field.Example of usage: semanticCategoryTripAttractions: ["plac zabaw"] |
order | Order! | Used for ordering the search results. Available sorting methods: SCORE_DESC - sorting by scoring in descending order, PRICE_ASC - sorting by price in ascending order, PRICE_DESC - sorting by price in descending order.Example of usage: order: PRICE_ASC | |
pagination | Pagination! | Used to paginate search results. Example of usage: pagination: {offset: 0, limit: 10} |