π Get Flight Details
Get detailed flight information by solution key
This endpoint returns comprehensive flight details for a specific flight offer. The solution must be from a recent search (within 15 minutes).
URL Parameters
- solutionKey (optional): Solution key (offer ID) from search results. Required for regular search flow, optional for search-unified flow.
Query Parameters
- adults (optional): Number of adult passengers (for reference)
- children (optional): Number of child passengers (for reference)
- infant (optional): Number of infant passengers (for reference)
- inboundFlightHash (optional): Inbound flight hash from search-unified. If provided, solutionKey and solutionId are extracted automatically from cache.
- outboundFlightHash (optional): Outbound flight hash from search-unified (for complete round-trip details)
- solutionId (optional): Solution ID from search-unified (auto-extracted from cache if not provided)
Usage Scenarios
Regular Search Flow:
Search-Unified Flow (Simplified):
After user selects an inbound flight from /search-unified, you can use just the flightHash:
Or with solutionKey (for validation):
Where:
inboundFlightHash(required): TheflightHashof the selected inbound flight. solutionKey and solutionId are auto-extracted from cache.outboundFlightHash(optional): TheflightHashof the outbound flight (for complete round-trip details)solutionKey(optional): Can be omitted - will be extracted from cache automatically
Response
Returns detailed flight information including:
- Complete journey details with all segments (outbound + return for round-trip)
- Pricing breakdown
- Booking information (refundable, changeable, fees)
- Baggage allowance
- Amenities (meals, wifi, seat selection)
- Availability information
Time Window
The solution must be from a search within the last 15 minutes. If expired, youβll need to search again.
Example Requests
Regular Search:
Search-Unified:
Path parameters
Solution key (offer ID) from search results
Query parameters
Solution ID from search-unified (required for search-unified flow)
Outbound flight hash from search-unified (optional, for validation)
Inbound flight hash from search-unified (required for search-unified flow)
Response format: βdefaultβ (simplified) or βbookingβ (raw FlightOffer for booking service)

