List bounded, paginated unique dated sailings for a public ship-itinerary group ID. Preserves cabin/date filters; older event-specific group IDs remain supported.
View input schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Free-text cruise search; use suggest_cruise_terms to resolve precise entity names."
},
"terms": {
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Complete suggestion item ID including ship:, port:, destination:, or line: prefix."
},
"description": "Stable term IDs from suggest_cruise_terms; prefer these for entity-name filtering."
},
"departureTerms": {
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"pattern": "^port:[a-f0-9]{24}$"
},
"description": "Port IDs from suggest_cruise_terms, matching departure only (OR within this list). General terms ports also match visited ports. Other filters still apply."
},
"nightsMin": {
"type": "integer",
"minimum": 1,
"maximum": 365,
"description": "Minimum nights. Uses advertised nights, otherwise calendar nights between captured departure and return dates. Unknown durations cannot match."
},
"nightsMax": {
"type": "integer",
"minimum": 1,
"maximum": 365,
"description": "Maximum nights, inclusive. Prefer nightsMin/nightsMax for cruise trip lengths; legacy durationMin/durationMax are days-only."
},
"returnBy": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Inclusive latest disembarkation date, YYYY-MM-DD; excludes unknown return dates. This deadline never expands with dateFlexDays."
},
"dateFlexDays": {
"type": "integer",
"minimum": 0,
"maximum": 30,
"description": "Optional departure flexibility, 0–30 days before dateFrom and after dateTo. Requires both dates when positive. Exact matches stay in items; outside-window options are separate dateAlternatives. All other filters remain strict. Use only when the user permits flexible dates."
},
"source": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Source ID: carnival, royal_caribbean, msc, norwegian, celebrity, princess, holland_america, costa, disney, virgin, aida, tui_cruises, p_and_o, cunard."
},
"departurePort": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Departure port selection: shared port suggestion ID or source-native items[].departurePort.id. Reviewed equivalent ports match across cruise lines; source still restricts the line. Different embarkation ports remain distinct."
},
"visitedPort": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Visited port selection: shared port suggestion ID or source-native items[].visitedPorts[].id. Reviewed equivalent ports match across cruise lines; source still restricts the line."
},
"ship": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Source-native ship ID from items[].ship.id, not a suggestion term ID. Prefer terms for names."
},
"destination": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Shared destination suggestion ID or destination label. Umbrella destinations such as Caribbean include mapped subregions across cruise lines. Specific regions remain strict; generic Caribbean does not imply Eastern Caribbean. Prefer suggest_cruise_terms to resolve names."
},
"cabinClass": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Normalized cabin class: inside, oceanview, balcony, suite, or other, as captured on the offer."
},
"dateFrom": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Inclusive earliest departure date (YYYY-MM-DD)."
},
"dateTo": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Inclusive latest departure date (YYYY-MM-DD)."
},
"durationMin": {
"type": "integer",
"minimum": 1,
"maximum": 365,
"description": "Minimum normalized duration in days, not advertised nights."
},
"durationMax": {
"type": "integer",
"minimum": 1,
"maximum": 365,
"description": "Maximum normalized duration in days, not advertised nights."
},
"priceMaxCents": {
"type": "integer",
"minimum": 0,
"maximum": 999999999,
"description": "Maximum captured USD cents per person for two guests; 50000 means USD 500/person. Not a party total."
},
"roundtrip": {
"type": "boolean"
},
"amenity": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Exact captured amenity name from get_sailing ship.amenities[].name."
},
"includeUnavailable": {
"type": "boolean"
},
"sort": {
"type": "string",
"enum": [
"price",
"departure",
"duration",
"relevance"
]
},
"view": {
"type": "string",
"enum": [
"groups",
"sailings"
],
"description": "Default groups combines departures for each ship itinerary; sailings returns one row per unique dated sailing. Event-specific fares remain available within each sailing."
},
"page": {
"type": "integer",
"minimum": 1,
"maximum": 1000000,
"description": "One-based result page; default 1."
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "Items per page, 1–50; default 3."
},
"groupId": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Public ship-itinerary group ID from search_cruises items[].groupId; this is not a sailing ID. Older event-specific group IDs remain supported."
}
},
"required": [
"groupId"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}