Skip to main content

API Reference

Search Arguments​

Use the searchoperation 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.

ParameterTypeCategoryDescription
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
queryString!filtersThe search query
adultsIntegerfiltersNumber of adults
childrenIntegerfiltersNumber of children
childrenBirthDates[Dates!]filtersRequired if children is greater than 0.
Example of usage:
childrenBirthDates: ["2021-08-30"]
departureDate[DateRange]filtersFilter 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!]]filtersFilter search results by city sourceId field.
Example of usage:
graphql citySourceId: ["79"]
citySourceName[[String!]]filtersFilter search results by city sourceName field.
Example of usage:
citySourceName: ["Rodos"]
countrySourceId[[String!]!]filtersFilter search results by country sourceId field.
Example of usage:
countrySourceId: ["Rodos"]
countrySourceName[[String!]!]filtersFilter search results by country sourceName field.
Example of usage:
countrySourceName: ["Grecja"]
departureAirportCode[String!]filtersFilter search results by departureAirportCode field.
Example of usage:
departureAirportCode: ["WAW"]
departureCity[String!]filtersFilter search results by departureCity field.
Example of usage:
departureCity: ["Warszawa"]
maintenanceCode[String!]filtersFilter search results by maintenance code field.
Example of usage:
maintenanceSourceCode: ["UA"]
maintenanceName[String!]filtersFilter search results by maintenance name field.
Example of usage:
maintenanceSourceName: ["Ultra All Inclusive"]
maintenanceSourceCode[String!]filtersFilter search results by maintenance sourceCode field.
Example of usage:
maintenanceSourceCode: ["UA"]
maintenanceSourceName[String!]filtersFilter search results by maintenance sourceName field.
Example of usage:
maintenanceSourceName: ["Ultra All Inclusive"]
periodIntRange!filtersFilter search results by period range.
Example of usage:
period: {min: 5, max: 10}
price[FloatRange!]filtersFilter search results by price range.
Example of usage:
price: {min:1000, max: 3000}
totalPrice[FloatRange!]filtersFilter search results by totalPrice range.
Example of usage:
totalPrice: {min: 2000, max: 10000}
propertyCategory[String!]filtersFilters search results by property category field.
Example of usage:
propertyCategory: ["50"]
propertyCategoryRangeIntRangefiltersFilters search results by property category range.
Example of usage:
propertyCategoryRange: {min: 30, max: 50}
propertySourceCategory[String!]filtersFilters search results by property sourceCategory field.
Example of usage:
propertySourceCategory: ["50"]
propertySourceId[String!]filtersFilters search results by property sourceId field.
Example of usage:
propertySourceId: ["50"]
propertySourceName[String!]filtersFilters search results by property sourceName field.
Example of usage:
propertySourceName: ["Maxx Royal"]
regionSourceId[[String!]!]filtersFilters search results by region sourceId field.
Example of usage:
regionSourceId: ["ID1", "ID2"]
regionSourceName[[String!]!]filtersFilters search results by region sourceName field.
Example of usage:
regionSourceName: ["Riwiera Turecka", "Belek"]
roomCode[String!]filtersFilters search results by room code field.
Example of usage:
roomCode: ["Royal Suite"]
roomName[String!]filtersFilters search results by room name field.
Example of usage:
roomName: ["Royal Suite"]
roomSourceCode[String!]filtersFilters search results by room sourceCode field.
Example of usage:
roomSourceCode: ["50"]
roomSourceName[String!]filtersFilters search results by room sourceName field.
Example of usage:
roomSourceName: ["Royal Suite"]
touroperatorCode[String!]filtersFilters search results by touroperator code field.
Example of usage:
touroperatorCode: ["demo_pl"]
touroperatorName[String!]filtersFilters search results by touroperator name field.
Example of usage:
touroperatorName: ["Demo_pl"]
transportType[String!]filtersFilters search results by transportType` field.
Example of usage:
transportType: ["samolot"]
offerType[[String!]!]filtersFilters search results by offer type field.
Example of usage:
offerType: ["Wypoczynek"]
queryStringfiltersExample of usage:
query: ["Wakacje w Turcji"]
offerIdStringfiltersFilters search results by offer id field.
Example of usage:
offerId: "5"
offerIds[String!]filtersFilters search results by offer id field.
Example of usage:
offerIds: ["2", "3"]
semanticCategoryAccommodation[[String!]!]filtersFilters search results by semantic category accomodation field.
Example of usage:
semanticCategoryAccommodation: ["hotel"]
semanticCategoryActivity[[String!]!]filtersFilters search results by semantic category activity field.
Example of usage:
semanticCategoryActivity: ["sporty wodne"]
semanticCategoryBoardType[[String!]!]filtersFilters search results by semantic category boardType field.
Example of usage:
semanticCategoryBoardType: ["ultra all inclusive"]
semanticCategoryHotelAmenities[[String!]!]filtersFilters search results by semantic category hotelAmenities field.
Example of usage:
semanticCategoryHotelAmenities: ["opieka dla dzieci"]
semanticCategoryHotelAttractions[[String!]!]filtersFilters search results by semantic category hotelAttractions field.
Example of usage:
semanticCategoryHotelAttractions: ["park wodny"]
semanticCategoryOfferType[[String!]!]filtersFilters search results by semantic category offerType field.
Example of usage:
semanticCategoryOfferType: ["wypoczynek"]
semanticCategoryRoomType[[String!]!]filtersFilters search results by semantic category roomType field.
Example of usage:
semanticCategoryRoomType: ["suite"]
semanticCategoryTransportation[[String!]!]filtersFilters search results by semantic category transportation field.
Example of usage:
semanticCategoryTransportation: ["samolot"]
semanticCategoryTripAttractions[[String!]!]filtersFilters search results by semantic category tripAttractions field.
Example of usage:
semanticCategoryTripAttractions: ["plac zabaw"]
orderOrder!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
paginationPagination!Used to paginate search results.
Example of usage:
pagination: {offset: 0, limit: 10}