airports

Get future flights departing from an airport

Returns flights that are scheduled to depart from an airport or have recently been cancelled, ordered by estimated_off (or scheduled_off if estimated_off is missing) ascending. The optional start and end parameters will be compared against scheduled_off to limit the flights returned. The start parameter's default value is 2 hours before the current time. The end parameter's default value is 24 hours after the current time.

get/airports/{id}/flights/scheduled_departures

Request

Path parameters

idstring required

ICAO, IATA or LID ID of destination airport to fetch. ICAO is highly preferred to prevent ambiguity.

Query parameters

airlinestring
Example:UAL

Airline to filter flights by. Do not provide airline if type is provided.

type'General_Aviation' | 'Airline'

Type of flights to return. Do not provide type if airline is provided.

string date-time
OR
string date

The starting date range for flight results. The format is ISO8601 date or datetime, and the bound is inclusive. Specified start date must be no further than 10 days in the past and 2 days in the future. If using date instead of datetime, the time will default to 00:00:00Z.

string date-time
OR
string date

The ending date range for flight results. The format is ISO8601 date or datetime, and the bound is exclusive. Specified end date must be no further than 10 days in the past and 2 days in the future. If using date instead of datetime, the time will default to 00:00:00Z.

max_pagesinteger

Maximum number of pages to fetch. This is an upper limit and not a guarantee of how many pages will be returned.

cursorstring

Opaque value used to get the next batch of data from a paged collection.

Response

OK

num_pagesinteger required

Number of pages returned

Example response

{
  "scheduled_departures": [
    {
      "origin": {
        "timezone": "America/New_York",
        "name": "LaGuardia",
        "city": "New York"
      },
      "destination": {
        "timezone": "America/New_York",
        "name": "LaGuardia",
        "city": "New York"
      },
      "scheduled_out": "2021-12-31T19:59:59Z",
      "estimated_out": "2021-12-31T19:59:59Z",
      "actual_out": "2021-12-31T19:59:59Z",
      "scheduled_off": "2021-12-31T19:59:59Z",
      "estimated_off": "2021-12-31T19:59:59Z",
      "actual_off": "2021-12-31T19:59:59Z",
      "scheduled_on": "2021-12-31T19:59:59Z",
      "estimated_on": "2021-12-31T19:59:59Z",
      "actual_on": "2021-12-31T19:59:59Z",
      "scheduled_in": "2021-12-31T19:59:59Z",
      "estimated_in": "2021-12-31T19:59:59Z",
      "actual_in": "2021-12-31T19:59:59Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.