Skip to navigation

πŸ“‹ 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:

GET /flights/a2ba983f73364c359420a12faf67179d?adults=1&children=2&infant=1

Search-Unified Flow (Simplified): After user selects an inbound flight from /search-unified, you can use just the flightHash:

GET /flights?inboundFlightHash={inboundFlightHash}&outboundFlightHash={outboundFlightHash}&adults=2

Or with solutionKey (for validation):

GET /flights/{solutionKey}?inboundFlightHash={inboundFlightHash}&outboundFlightHash={outboundFlightHash}&adults=2

Where:

  • inboundFlightHash (required): The flightHash of the selected inbound flight. solutionKey and solutionId are auto-extracted from cache.
  • outboundFlightHash (optional): The flightHash of 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:

GET /flights/a2ba983f73364c359420a12faf67179d?adults=1&children=2&infant=1

Search-Unified:

GET /flights/abc123?solutionId=xyz789&inboundFlightHash=EK_8_LHR_DXB_1737792000000_1737810300000&outboundFlightHash=EK_29_DXB_LHR_1737705600000_1737723000000&adults=2

Path parameters

solutionKeystringRequired

Solution key (offer ID) from search results

Query parameters

adultsdoubleOptional>=1
Number of adult passengers
childrendoubleOptional>=0
Number of child passengers
infantdoubleOptional>=0
Number of infant passengers
solutionIdstringOptional

Solution ID from search-unified (required for search-unified flow)

outboundFlightHashstringOptional

Outbound flight hash from search-unified (optional, for validation)

inboundFlightHashstringOptional

Inbound flight hash from search-unified (required for search-unified flow)

formatenumOptional

Response format: β€˜default’ (simplified) or β€˜booking’ (raw FlightOffer for booking service)

Allowed values:

Response

This endpoint returns an object.