{ "opencollection": "1.0.0", "info": { "name": "Airline Code Lookup air-traffic flight-dates API", "version": "1.2.1" }, "items": [ { "info": { "name": "flight-dates", "type": "folder" }, "items": [ { "info": { "name": "Amadeus Find the Cheapest Flight Dates from an Origin to a Destination.", "type": "http" }, "http": { "method": "GET", "url": "https://test.api.amadeus.com/v1/shopping/flight-dates", "params": [ { "name": "origin", "value": "", "type": "query", "description": "IATA code of the city from which the flight will depart\n\n[IATA table codes](http://www.iata.org/publications/Pages/code-search.aspx) - e.g. MAD for Madrid\n" }, { "name": "destination", "value": "", "type": "query", "description": "IATA code of the city to which the flight is going.\n\n[IATA table codes](http://www.iata.org/publications/Pages/code-search.aspx) - e.g. MUC for Munich\n" }, { "name": "departureDate", "value": "", "type": "query", "description": "the date, or range of dates, on which the flight will depart from the origin. Dates are specified in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format, e.g. 2017-12-25. Ranges are specified with a comma and are inclusive" }, { "name": "oneWay", "value": "", "type": "query", "description": "if this parameter is set to true, only one-way flights are considered. If this parameter is not set or set to false, only round-trip flights are considered" }, { "name": "duration", "value": "", "type": "query", "description": "exact duration or range of durations of the travel, in days. This parameter must not be set if oneWay is true. Ranges are specified with a comma and are inclusive, e.g. 2,8" }, { "name": "nonStop", "value": "", "type": "query", "description": "if this parameter is set to true, only flights going from the origin to the destination with no stop in-between are considered" }, { "name": "maxPrice", "value": "", "type": "query", "description": "defines the price limit for each offer returned. The value should be a positive number, without decimals" }, { "name": "viewBy", "value": "", "type": "query", "description": "view the flight dates by DATE, DURATION, or WEEK. View by DATE (default when oneWay is true) to get the cheapest flight dates for every departure date in the given range. View by DURATION (default when oneWay is false) to get the cheapest flight dates for every departure date and for every duration in the given ranges. View by WEEK to get the cheapest flight destination for every week in the given range of departure dates. Note that specifying a detailed view but large ranges may result in a huge number of flight dates being returned. For some very large numbers of flight dates, the API may refuse to provide a response" } ] }, "docs": "Amadeus Find the Cheapest Flight Dates from an Origin to a Destination." } ] } ], "bundled": true }