POSTFlight
Search Flight One Way
/flight/search/one-way
Search one-way flight options using airport area codes, dates, travelers, and cabin preferences.
Source: API Documentation.pdf, pages 37-40Authorization required
Call the authentication endpoint first, then include the returned access token in the Authorization header together with Content-Type: application/json.
Parameters
| Name | Type | Example | Description |
|---|---|---|---|
journeyRequired | Object | - | Flight search criteria (route, date, class, sorting). |
passengersRequired | Object | - | Passenger count information. |
success | Boolean | true | Indicates whether the search request was successful. |
data | Object | - | Flight search result container. |
completed | Boolean | false | Indicates whether search results are fully completed. |
oneWayFlightSearchResults | Array (Object) | - | List of available one-way flight options. |
flightId | String | - | Unique flight identifier. |
departureAirport | String | CGK | Departure airport code. |
arrivalAirport | String | DPS | Arrival airport code. |
numOfTransits | String | 0 | Number of transit stops. |
journeys | Array (Object) | - | List of journey details for the flight. |
segments | Array (Object) | - | List of flight segments within the journey. |
tripDuration | String | 115 | Total trip duration in minutes. |