Extended Options
Historical Flight Status uses the standard Extended Options with the following changes/additions:
Option Description
includeDeltas Indicates that the optional "flightStatusUpdates" that describe changes to a flight status over time should be included.
excludeAppendix (usedInlinedReferences is not supported) Appendix is included by default, use "excludeAppendix" to exclude it.
usedInlinedReferences (deprecated) Historical flight status does not support useInlinedReferences.
includeNewFields (deprecated) This is deprecated for Historical Flight Status. New fields may be added at any time. Existing fields only change with a new API version. Fields noted as new in the supporting airport and airline appendix documentation will always be included (if present).
Historical Flight Status
Element Cardinality Description
<flightStatus> 0..n Holder element for all status fields related to a flight
<flightId>264915620</flightId> 1..1 The unique identifier for the flight (String).
<carrierFsCode>AA</carrierFsCode> 0..1 The Cirium unique code for the operating carrier to use as a reference for finding the entry in the appendix.
<flightNumber>100</flightNumber> 1..1 The flight identification number and any additional characters (String).
<departureAirportFsCode>JFK</departureAirportFsCode> 0..1 The Cirium unique code for the departure airport to use as a reference for finding the entry in the appendix.
<arrivalAirportFsCode>LHR</arrivalAirportFsCode> 0..1 The Cirium unique code for the arrival airport to use as a reference for finding the entry in the appendix.
<divertedAirportFsCode>LGW</divertedAirportFsCode> 0..1 The Cirium unique code for the airport to which the flight was diverted, if any, to use as a reference for finding the entry in the appendix.
<departureDate> 1..1 The departure date of the flight in local and UTC time. This value is likely the publishedDeparture or scheduledGateDeparture value, but could be some other operational value.
<dateLocal>2012-06-05T18:10:00.000</dateLocal> 0..1 The local date and time of the departure in ISO-8601 format. yyyy-MM-dd'T'HH:mm:ss.SSS
<dateUtc>2012-06-05T22:10:00.000Z</dateUtc> 0..1 The UTC date and time of the departure in ISO-8601 format. yyyy-MM-dd'T'HH:mm:ss.SSSZ
</departureDate>
<arrivalDate> 1..1 The arrival date of the flight in local and UTC time. This value is likely the publishedArrival or scheduledGateArrival value, but could be some other operational value.
<dateLocal>2012-06-05T18:10:00.000</dateLocal> 0..1 The local date and time of the arrival in ISO-8601 format. yyyy-MM-dd'T'HH:mm:ss.SSS
<dateUtc>2012-06-05T22:10:00.000Z</dateUtc> 0..1 The UTC date and time of the arrival in ISO-8601 format. yyyy-MM-dd'T'HH:mm:ss.SSSZ
</arrivalDate>
<status>S</status> 1..1 The current status of the flight.
Value Description
A Active
C Canceled
D Diverted
DN Data source needed
L Landed
NO Not Operational
R Redirected
S Scheduled
U Unknown
<schedule> 0..1 Schedule information for the flight.
<flightType>J</flightType> 0..1 The scheduled service type of the flight (IATA).
Value Description
J Scheduled Passenger(Normal Service)
S Scheduled Passenger(Shuttle Service)
U Scheduled Passenger(ServiceVehicle)
F Scheduled Cargo/Mail(Loose loaded cargo and/or preloaded devices)
V ScheduledCargo/Mail(Surface Vehicle)
M Scheduled Cargo/Mail(MailOnly)
Q Scheduled Passenger/Cargo inCabin
G Non-scheduled Passenger(NormalService)
B Non-scheduled Passenger(ShuttleService)
A Non-scheduled Cargo/Mail
C Charter(Passenger Only)
O Charter(Special handling-Migrants/Immigrants)
H Charter(Cargo and/or Mail)
L Charter(Passenger and Cargo and/or Mail)
P Non-revenue
T Technical Test
K Training
D General Aviation
E Special (FAA/Government)
W Military
R Additional Flights - Passenger/Cargo
Y IATA Special Internal(Y)
Z IATA Special Internal(Z)
<serviceClasses>RFJY</serviceClasses> 0..1 IATA service classes offered for the flight. (String)
<restrictions>A</restrictions> 0..1 IATA restrictions imposed on the flight. (String)
<uplines> 0..1 Flights on this route that occur upstream of this one (in order). For example a route that flies from SFO to LAX to JFK to LHR would have SFO and LAX upstream of the JFK to LHR flight.
<upline> 0..n A flight on this route that occurs upstream.
<fsCode>PDX</fsCode> 0..1 The Cirium unique code for the departure airport of the upline flight to use as a reference for finding the entry in the appendix.
<flightId>264915620</flightId> 0..1 The unique identifier of the upline flight. This can be used to retrieve detailed status or positions of the upline flight. (String)
<uplines> 0..1 Flights on this route that occur upstream of this one (in order). For example a route that flies from SFO to LAX to JFK to LHR would have SFO and LAX upstream of the JFK to LHR flight.
<upline> 0..n A flight on this route that occurs upstream.
<fsCode>PDX</fsCode> 0..1 The Cirium unique code for the departure airport of the upline flight to use as a reference for finding the entry in the appendix.
<flightId>264915620</flightId> 0..1 The unique identifier of the upline flight. This can be used to retrieve detailed status or positions of the upline flight. (String)
</upline>
</uplines>
<downlines> 0..1 Flights on this route that occur downstream of this one (in order). For example a route that flies from SFO to LAX to JFK to LHR would have JFK and LHR downstream of the SFO to LAX flight.
<downline> 0..n A flight on this route that occurs downstream.
<fsCode>HNL</fsCode> 0..1 The Cirium unique code for the arrival airport of the downline flight to use as a reference for finding the entry in the appendix.
<flightId>264915620</flightId> 0..1 The unique identifier of the downline flight. This can be used to retrieve detailed status or positions of the downline flight. (String)
</downline>
</downlines>
</schedule
<operationalTimes> 1..1 The operational and scheduled times for the flight.
<publishedDeparture> ... </publishedDeparture> 0..1 The published departure time for the flight provided by the airline's published operating schedule. Time Fields
<publishedArrival> ... </publishedArrival> 0..1 The published arrival time for the flight provided by the airline's published operating schedule. Time Fields
<scheduledGateDeparture> ... </scheduledGateDeparture> 0..1 The scheduled gate departure for the flight. Initially, it's the same as the published departure, but may be updated if a change is detected.Time Fields
<estimatedGateDeparture> ... </estimatedGateDeparture> 0..1 An estimated gate departure time based on current observations. Time Fields
<actualGateDeparture> ... </actualGateDeparture> 0..1 The actual gate departure time observed. Time Fields
<flightPlanPlannedDeparture> ... </flightPlanPlannedDeparture> 0..1 The departure time that was filed with the flight plan. Time Fields
<estimatedRunwayDeparture> ... </estimatedRunwayDeparture> 0..1 An estimated runway departure time based on current observations. Time Fields
<actualRunwayDeparture> ... </actualRunwayDeparture> 0..1 The actual runway departure time observed. Time Fields
<scheduledGateArrival> ... </scheduledGateArrival> 0..1 The scheduled gate arrival time for the flight. Initially, it's the same as the published arrival, but may be updated if a change is detected.Time Fields
<estimatedGateArrival> ... </estimatedGateArrival> 0..1 An estimated gate arrival time based on current observations. Time Fields
<actualGateArrival> ... </actualGateArrival> 0..1 The actual gate arrival time observed. Time Fields
<flightPlanPlannedArrival> ... </flightPlanPlannedArrival> 0..1 The arrival time that was filed with the flight plan.
<estimatedRunwayArrival> ... </estimatedRunwayArrival> 0..1 An estimated runway arrival time based on current observations. Time Fields
<actualRunwayArrival> ... </actualRunwayArrival> 0..1 The actual runway arrival time observed. Time Fields
</operationalTimes>
<codeshares> 0..1 Any codeshare information known for the flight.
<codeshare> 0..n A codeshare for the flight.
<fsCode>AA</fsCode> 1..1 The Cirium unique code for the codeshare carrier to use as a reference for finding the entry in the appendix.
<flightNumber>6654</flightNumber> 0..1 The codeshare flight identification number and any additional characters (String).
<relationship>L</relationship> 0..1 The codeshare relationship between this carrier and the operating carrier (String).
Value Description
L or Z Commercial duplicate: Flight is sold by one airline, but other airline(s) sell tickets to provide same-carrier connections. Customers will see use the operator's counter and gate at the airport.
S or X Shared airline designator or wet lease: Flight is marketed by one airline and operated by another, but under the name of the marketing carrier. The operating carrier does not sell tickets under their own name.
C Special case of commercial duplicate: a distinct flight number, with the same carrier as the operating carrier.
</codeshare>
</codeshares>
<delays> 0..1 Any calculated delays for the flight based on operational times (scheduled, estimated and actual).
<departureGateDelayMinutes>16 </departureGateDelayMinutes> 0..1 Calculated gate departure delay in whole minutes (Integer).
<departureRunwayDelayMinutes>13 </departureRunwayDelayMinutes> 0..1 Calculated runway departure delay in whole minutes (Integer).
<arrivalGateDelayMinutes>8 </arrivalGateDelayMinutes> 0..1 Calculated gate arrival delay in whole minutes (Integer).
<arrivalRunwayDelayMinutes>7 </arrivalRunwayDelayMinutes> 0..1 Calculated runway arrival delay in whole minutes (Integer).
</delays>
<flightDurations> 0..1 Calculated flight durations based on operational times (scheduled, estimated and actual).
<scheduledBlockMinutes>430 </scheduledBlockMinutes> 0..1 The calculated scheduled time between blocks (scheduled gate to gate) in whole minutes (Integer).
<blockMinutes>425</blockMinutes> 0..1 The calculated time between blocks (actual gate to gate) in whole minutes (Integer). This will be the actual block time if available.
<scheduledAirMinutes>407 </scheduledAirMinutes> 0..1 The calculated scheduled time in the air (runway to runway) in whole minutes (Integer).
<airMinutes>412</airMinutes> 0..1 The calculated time in the air (runway to runway) in whole minutes (Integer). This will be the actual air time if available, otherwise it will be the current best estimate.
<scheduledTaxiOutMinutes>7 </scheduledTaxiOutMinutes> 0..1 The calculated scheduled time for the plane to taxi out and take off (gate to runway) in whole minutes (Integer).
<taxiOutMinutes>12</taxiOutMinutes> 0..1 The calculated time for the plane to taxi out and take off (gate to runway) in whole minutes (Integer). This will be the actual taxi out time if available, otherwise it will be the current best estimate.
<scheduledTaxiInMinutes>14 </scheduledTaxiInMinutes> 0..1 The calculated scheduled time for the plane to land and taxi in (runway to gate) in whole minutes (Integer).
<taxiInMinutes>13</taxiInMinutes> 0..1 The calculated time for the plane to land and taxi in (runway to gate) in whole minutes (Integer). This will be the actual taxi in time if available, otherwise it will be the current best estimate.
</flightDurations>
<airportResources> 0..1 Information related to the departure and arrival terminal, gate and baggage.
<departureTerminal>8</departureTerminal> 0..1 The terminal from which the flight departed or will depart.
<departureGate>B2</departureGate> 0..1 The gate from which the flight departed or will depart.
<arrivalTerminal>3</arrivalTerminal> 0..1 The terminal into which the flight arrived or will arrive.
<arrivalGate>B2</arrivalGate> 0..1 The gate into which the flight arrived or will arrive.
<baggage>C</baggage> 0..1 The baggage claim information for the arrival.
</airportResources>
<flightEquipment> 0..1 Information about the equipment used for this flight.
<scheduledEquipmentIataCode>777 </scheduledEquipmentIataCode> 0..1 The IATA code for the equipment that was scheduled to be flown to use as a reference for finding the entry in the appendix.
<actualEquipmentIataCode>777 </actualEquipmentIataCode> 0..1 The IATA code for the equipment that was actually flown to use as a reference for finding the entry in the appendix.
<tailNumber>917F</tailNumber> 0..1 The tail number of the equipment for the flight.
</flightEquipment>
<flightStatusUpdates> 0..1 Contains a list of all updates that have occurred to this flight status since it was originally published.
Optionally included if the extended option "includeDeltas" is used.
<flightStatusUpdate> 0..n A set of changes applied to this status as a result of updated information.
<updatedAt> ... </updatedAt> 1..1 The date and time at which this change was applied (only UTC time is given). Time Fields
<source>Airline Direct</source> 1..1 Textual description of the source of this information (String).
<updatedTextFields> 0..1 A list of text fields that were modified as part of the update.
<updatedTextField> 0..n A single text field updated.
<field>DGT</field> 1..1 The short name of the field that was updated:
Value Description
STS The status of the flight
DGT The departure gate
DTM The departure terminal
AGT The arrival gate
ATM The arrival terminal
DIV The airport for a diversion
BGG The baggage claim information
TAL The tail number of the flight
SQP The scheduled IATA aircraft type code (used to populate the scheduled equipment)
AQP The actual IATA aircraft type code (used to populate the actual equipment)
<originalText>B3</originalText> 0..1 The original field value that was updated. This will be present only if the field original had a value to be replaced.
<newText>B2</newText> 0..1 The new value of the field. If this field is omitted it means that the value was removed as a result of the update.
</updatedTextField>
</updatedTextFields>
<updatedDateFields> 0..1 A list of date fields that were modified as part of the update.
<updatedDateField> 0..n A single date field updated.
<field>SGD</field> 1..1 The short name of the field that was updated:
Value Description
SGD The scheduled gate departure
EGD The estimated gate departure
AGD The actual gate departure
SGA The scheduled gate arrival
EGA The estimated gate arrival
AGA The actual gate arrival
SRD The scheduled runway departure
ERD The estimated runway departure
ARD The actual runway departure
SRA The scheduled runway arrival
ERA The estimated runway arrival
ARA The actual runway arrival
<originalDateLocal>2012-06-05T18:10:00.000</originalDateLocal> 0..1 The local date and time in ISO-8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS). This will be present only if the field original had a value to be replaced.
<newDateLocal>2012-06-05T18:10:00.000</newDateLocal> 0..1 The local date and time in ISO-8601 format (yyyy-MM-dd'T'HH:mm:ss.SSS). If this field is omitted it means that the value was removed as a result of the update.
</updatedDateField>
</updatedDateFields>
</flightStatusUpdate>
</flightStatusUpdates>
<irregularOperations> 0..1 The list of all irregular operations that have occurred for this flight.
<irregularOperation> 0..n An irregular operation that occurred for this flight.
<type>CANCELLATION</type> 1..1 The type of the irregular operation.
Value Description
CANCELLATION Flight has been cancelled for any reason.
CONTINUATION_OF Identifies a linked flight that this flight is a continuation of. Typically a continuation occurs when a flight is diverted to an alternate destination airport in order to get passengers to their scheduled destination.
CONTINUED_BY Identifies a linked flight which will be a continuation of this one. Typically a continuation occurs when a flight is diverted to an alternate destination airport in order to get passengers to their scheduled destination.
DIVERSION Flight is directed to land at a different airport than its scheduled destination.
FLOWN_OVER A fly-over occurs when a plane flying a route comprised of multiple stops skips one or more of the scheduled stops for some reason. The FLOWN_OVER type indicates that the flight in question is not expected to occur because the plane flying the route will not stop at the departure airport specified.
FLYOVER A fly-over occurs when a plane flying a route comprised of multiple stops skips one or more of the scheduled stops for some reason. The FLY_OVER type indicates that the flight in question will not stop at one of the scheduled destinations.
MISCELLANEOUS An irregular operation that does not qualify as one of the other identified types listed here.
REINSTATEMENT A flight was cancelled for a period of time and subsequently reinstated to operational status.
REPLACED_BY Any flight that is cancelled or does not operate for some reason may be replaced by another flight. Provides linking information for the flight that has replaced this one.
REPLACEMENT_FOR Identifies this as a flight that replaced some other flight. Provides linking information for the flight that was replaced by this one.
RETURN_TO_GATE Flight backed away from the gate and started to taxi, does not take off, and returns to gate.
RETURN_FROM_AIRBORNE Flight has taken off and is required to return to its original departure airport.
SUBSEQUENT_OPERATION_BY Identifies the ID of a new flight operation record that is the continuation of the current flight record. For example, a flight with ID 100000000 was diverted, but later continues on to its destination with the ID of 10001010110.
SUBSEQUENT_OPERATION_FOR Identifies the ID of a flight operation that is the origin of the current flight record. For example, a flight with ID 10001010110 was created based on the diversion of the flight with ID 100000000.
<newArrivalAirportFsCode>JFK </newArrivalAirportFsCode> 0..1 Cirium airport code for the new arrival airport.
<relatedFlightId>12341235</relatedFlightId> 0..1 The unique Cirium identifier for a flight that is linked to the current flight due to an operational need such as a replacement for a canceled flight.
<dateUtc>2012-06-05T22:10:00.000Z</dateUtc> 0..1 The UTC date and time in ISO-8601 format when this irregular operation information was made available to Cirium. yyyy-MM-dd'T'HH:mm:ss.SSSZ
<message>Diverted due to airport congestion.</message> 0..1 A message providing a description of this irregular operation as provided by the airline or other data source.
</irregularOperation>
</irregularOperations>
<operatingCarrierFsCode>AA</carrierFsCode> 0..1 The Cirium unique code for the operating carrier to use as a reference for finding the entry in the appendix.
<primaryCarrierFsCode>AA</carrierFsCode> 0..1 The Cirium unique code for the primary carrier to use as a reference for finding the entry in the appendix.
<confirmedIncident> 0..1 A confirmed incident for this flight.
<publishedDate>2012-06-05T22:10:00.000Z</publishedDate> 1..1 The date of the confirmed incident or the date of the last update to the confirmed incident.
<message>The plane has slid off the runway</message> 1..1 A text description of the incident.
</confirmedIncident>
</flightStatus>
Times
Element Cardinality Description
<dateLocal>2012-06-05T18:10:00.000</dateLocal> 0..1 The local date and time in ISO-8601 format. yyyy-MM-dd'T'HH:mm:ss.SSS
<dateUtc>2012-06-05T22:10:00.000Z</dateUtc> 0..1 The UTC date and time in ISO-8601 format. yyyy-MM-dd'T'HH:mm:ss.SSSZ
Airline
Element Cardinality Description
<fs>AA<fs> 1..1 The Cirium code for the carrier, globally unique across time (String).
<iata>AA<iata> 0..1 The IATA code for the carrier (String).
<icao>AAL<icao> 0..1 The ICAO code for the carrier (String).
<name>American Airlines<name> 1..1 The name of the carrier (String).
<phoneNumber>1-800-433-7300</phoneNumber> 0..1 The primary customer service phone number for the carrier (String).
<active>true</active> 1..1 Boolean value indicating if the airline is currently active (Boolean).
<category>A</category> 0..1 NEW The category of operation of the airline:
Value Description Passenger Cargo
A Scheduled Passenger Carrier Y N
B Non-Scheduled Passenger Carrier Y N
C Scheduled Cargo Carrier N Y
D Non-scheduled Cargo Carrier N Y
E Railway Company Y Y
F Ferry Company N Y
G Non-airline ULD N Y
H Computer Reservation System n/a n/a
I Scheduled Passenger/Cargo Carrier Y Y
J Non-scheduled Passenger/Cargo Carrier Y Y
K Bus Company Y Y
S Miscellaneous/Other n/a n/a
Fields marked as NEW will only be returned if the extended option "includeNewFields" is used. See the Flex API Version Policy page for details.
Airport
Element Cardinality Description
<fs>PDX</fs> 1..1 The Cirium code for the airport, globally unique across time (String).
<iata>PDX</iata> 0..1 The IATA code for the airport (String).
<icao>KPDX</icao> 0..1 The ICAO code for the airport (String).
<faa>PDX</faa> 0..1 The FAA code for the airport (String).
<name>Portland International Airport</name> 0..1 The name of the airport (String).
<street1>7000 Northeast, Airport Way</street1> 0..1 The street address of the airport, part 1 (String).
<street2></street2> 0..1 Street address of the airport, part 2 (String).
<city>Portland</city> 1..1 The city with which the airport is associated (String).
<cityCode>PDX</cityCode> 0..1 The city code with which the airport is associated (String).
<district>Chaoyang</district> 0..1 NEW The district of the city in which the airport is located (String).
<stateCode>OR</stateCode> 0..1 The State in which the airport is located (String).
<postalCode>97216</postalCode> 0..1 The postal code in which the airport resides (String).
<countryCode>US</countryCode> 1..1 The code for the country in which the airport is located (String).
<countryName>United States</countryName> 1..1 The name of the country in which the Airport is located (String).
<regionName>North America</regionName> 1..1 The name of the region in which the Airport is located (String).
<timeZoneRegionName>America/Los_Angeles</timeZoneRegionName> 1..1 The name of the Time Zone region in which the Airport is located (String).
<weatherZone>ORZ006</weatherZone> 0..1 The NOAA weather zone (US only) in which the Airport is located (String).
<localTime>2012-08-09T11:02:59.571</localTime> 1..1 The local time at the Airport when the request was made in ISO-8601 format. yyyy-MM-dd'T'HH:mm:ss.SSS.
<utcOffsetHours>-7.0</utcOffsetHours> 1..1 The current UTC offset at the Airport when the request was made (Double).
<latitude>40.642335</latitude> 1..1 The latitude of the airport in decimal degrees (Double).
<longitude>-73.78817</longitude> 1..1 The longitude of the airport in decimal degrees (Double).
<elevationFeet>30</elevationFeet> 1..1 The elevation above sea level of the airport in feet (Integer).
<classification>1</classification> 1..1 The Cirium classification of the airport, 1(max) to 5(min). (Integer).
<active>true</active> 1..1 Boolean value indicating if the airport is currently operational (Boolean).
Fields marked as NEW will only be returned if the extended option "includeNewFields" is used. See the Flex API Version Policy page for details.
Equipment
Element Cardinality Description
<iata>777</iata> 1..1 The IATA code for the equipment type. (String)
<name>Boeing 777 Passenger</name> 1..1 The descriptive name for the equipment type. (String)
<turboProp>false</turboProp> 1..1 Boolean value indicating if the equipment type uses TurboProp propulsion (Boolean).
<jet>true</jet> 1..1 Boolean value indicating if the equipment type uses jet propulsion (Boolean).
<widebody>true</widebody> 1..1 Boolean value indicating if the equipment type is a wide-body airframe (Boolean).
<regional>false</regional> 1..1 Boolean value indicating if the equipment type is a regional airframe (Boolean).
Example XML Output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <flightStatusResponse> <flightStatuses> <flightStatus> <flightId>663377859</flightId> <carrierFsCode>NK</carrierFsCode> <operatingCarrierFsCode>NK</operatingCarrierFsCode> <primaryCarrierFsCode>NK</primaryCarrierFsCode> <flightNumber>641</flightNumber> <departureAirportFsCode>BOS</departureAirportFsCode> <arrivalAirportFsCode>LAS</arrivalAirportFsCode> <departureDate> <dateUtc>2016-01-30T21:00:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T16:00:00</dateLocal> </departureDate> <arrivalDate> <dateUtc>2016-01-31T03:03:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T19:03:00</dateLocal> </arrivalDate> <status>L</status> <schedule> <flightType>J</flightType> <serviceClasses>RY</serviceClasses> <restrictions></restrictions> <uplines/> <downlines/> </schedule> <operationalTimes> <publishedDeparture> <dateUtc>2016-01-30T21:00:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T16:00:00</dateLocal> </publishedDeparture> <scheduledGateDeparture> <dateUtc>2016-01-30T21:00:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T16:00:00</dateLocal> </scheduledGateDeparture> <estimatedGateDeparture> <dateUtc>2016-01-30T22:09:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T17:09:00</dateLocal> </estimatedGateDeparture> <actualGateDeparture> <dateUtc>2016-01-30T22:09:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T17:09:00</dateLocal> </actualGateDeparture> <flightPlanPlannedDeparture> <dateUtc>2016-01-30T22:12:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T17:12:00</dateLocal> </flightPlanPlannedDeparture> <estimatedRunwayDeparture> <dateUtc>2016-01-30T22:26:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T17:26:00</dateLocal> </estimatedRunwayDeparture> <actualRunwayDeparture> <dateUtc>2016-01-30T22:26:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T17:26:00</dateLocal> </actualRunwayDeparture> <publishedArrival> <dateUtc>2016-01-31T03:03:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T19:03:00</dateLocal> </publishedArrival> <flightPlanPlannedArrival> <dateUtc>2016-01-31T03:50:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T19:50:00</dateLocal> </flightPlanPlannedArrival> <scheduledGateArrival> <dateUtc>2016-01-31T03:03:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T19:03:00</dateLocal> </scheduledGateArrival> <estimatedGateArrival> <dateUtc>2016-01-31T04:29:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T20:29:00</dateLocal> </estimatedGateArrival> <actualGateArrival> <dateUtc>2016-01-31T04:29:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T20:29:00</dateLocal> </actualGateArrival> <estimatedRunwayArrival> <dateUtc>2016-01-31T04:22:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T20:22:00</dateLocal> </estimatedRunwayArrival> <actualRunwayArrival> <dateUtc>2016-01-31T04:22:00Z[UTC]</dateUtc> <dateLocal>2016-01-30T20:22:00</dateLocal> </actualRunwayArrival> </operationalTimes> <delays> <departureGateDelayMinutes>69</departureGateDelayMinutes> <departureRunwayDelayMinutes>14</departureRunwayDelayMinutes> <arrivalGateDelayMinutes>86</arrivalGateDelayMinutes> <arrivalRunwayDelayMinutes>32</arrivalRunwayDelayMinutes> </delays> <flightDurations> <scheduledBlockMinutes>363</scheduledBlockMinutes> <blockMinutes>380</blockMinutes> <scheduledAirMinutes>338</scheduledAirMinutes> <airMinutes>356</airMinutes> <scheduledTaxiOutMinutes>72</scheduledTaxiOutMinutes> <taxiOutMinutes>17</taxiOutMinutes> <taxiInMinutes>7</taxiInMinutes> </flightDurations> <airportResources> <departureTerminal>B</departureTerminal> <departureGate>B4</departureGate> <arrivalTerminal>1</arrivalTerminal> <arrivalGate>B25</arrivalGate> </airportResources> <flightEquipment> <scheduledEquipmentIataCode>319</scheduledEquipmentIataCode> <actualEquipmentIataCode>319</actualEquipmentIataCode> <tailNumber>N526NK</tailNumber> </flightEquipment> </flightStatus> </flightStatuses> <appendix> <airlines> <airline> <fs>NK</fs> <iata>NK</iata> <icao>NKS</icao> <name>Spirit Airlines, Inc.</name> <phoneNumber>800-772-7117</phoneNumber> <active>true</active> </airline> </airlines> <airports> <airport> <fs>LAS</fs> <iata>LAS</iata> <icao>KLAS</icao> <faa>LAS</faa> <name>McCarran International Airport</name> <street1>5757 Wayne Newton Boulevard</street1> <street2>5757 Wayne Newton Boulevard</street2> <city>Las Vegas</city> <cityCode>LAS</cityCode> <stateCode>NV</stateCode> <postalCode>89119</postalCode> <countryCode>US</countryCode> <regionName>North America</regionName> <timeZoneRegionName>America/Los_Angeles</timeZoneRegionName> <weatherZone>NVZ020</weatherZone> <localTime>2016-02-01T09:18:58.57</localTime> <utcOffsetHours>-8.0</utcOffsetHours> <latitude>36.081</latitude> <longitude>-115.147599</longitude> <elevationFeet>2095</elevationFeet> <classification>1</classification> <active>true</active> </airport> <airport> <fs>BOS</fs> <iata>BOS</iata> <icao>KBOS</icao> <faa>BOS</faa> <name>Logan International Airport</name> <street1>One Harborside Drive</street1> <street2>One Harborside Drive</street2> <city>Boston</city> <cityCode>BOS</cityCode> <stateCode>MA</stateCode> <postalCode>02128-2909</postalCode> <countryCode>US</countryCode> <regionName>North America</regionName> <timeZoneRegionName>America/New_York</timeZoneRegionName> <weatherZone>MAZ015</weatherZone> <localTime>2016-02-01T12:18:58.571</localTime> <utcOffsetHours>-5.0</utcOffsetHours> <latitude>42.36646</latitude> <longitude>-71.020176</longitude> <elevationFeet>19</elevationFeet> <classification>1</classification> <active>true</active> </airport> </airports> <equipments> <equipment> <iata>319</iata> <name>Airbus A319</name> <turboProp>false</turboProp> <jet>true</jet> <widebody>false</widebody> <regional>false</regional> </equipment> </equipments> </appendix> <request> <endpoint>ByFlightById</endpoint> <flightId> <requested>663377859</requested> <interpreted xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:long">663377859 </interpreted> </flightId> <url>https://api.flightstats.com/flex/flightstatus/historical/rest/v2/xml/flight/status/663377859</url> </request> </flightStatusResponse>
Example JSON Output (whitespace added for clarity)
{ "flightStatuses": [ { "flightId": 663377859, "carrierFsCode": "NK", "operatingCarrierFsCode": "NK", "primaryCarrierFsCode": "NK", "flightNumber": "641", "departureAirportFsCode": "BOS", "arrivalAirportFsCode": "LAS", "departureDate": { "dateUtc": "2016-01-30T21:00:00Z", "dateLocal": "2016-01-30T16:00:00" }, "arrivalDate": { "dateUtc": "2016-01-31T03:03:00Z", "dateLocal": "2016-01-30T19:03:00" }, "status": "L", "schedule": { "flightType": "J", "serviceClasses": "RY", "restrictions": "", "uplines": [], "downlines": [] }, "operationalTimes": { "publishedDeparture": { "dateUtc": "2016-01-30T21:00:00Z", "dateLocal": "2016-01-30T16:00:00" }, "scheduledGateDeparture": { "dateUtc": "2016-01-30T21:00:00Z", "dateLocal": "2016-01-30T16:00:00" }, "estimatedGateDeparture": { "dateUtc": "2016-01-30T22:09:00Z", "dateLocal": "2016-01-30T17:09:00" }, "actualGateDeparture": { "dateUtc": "2016-01-30T22:09:00Z", "dateLocal": "2016-01-30T17:09:00" }, "flightPlanPlannedDeparture": { "dateUtc": "2016-01-30T22:12:00Z", "dateLocal": "2016-01-30T17:12:00" }, "estimatedRunwayDeparture": { "dateUtc": "2016-01-30T22:26:00Z", "dateLocal": "2016-01-30T17:26:00" }, "actualRunwayDeparture": { "dateUtc": "2016-01-30T22:26:00Z", "dateLocal": "2016-01-30T17:26:00" }, "publishedArrival": { "dateUtc": "2016-01-31T03:03:00Z", "dateLocal": "2016-01-30T19:03:00" }, "flightPlanPlannedArrival": { "dateUtc": "2016-01-31T03:50:00Z", "dateLocal": "2016-01-30T19:50:00" }, "scheduledGateArrival": { "dateUtc": "2016-01-31T03:03:00Z", "dateLocal": "2016-01-30T19:03:00" }, "estimatedGateArrival": { "dateUtc": "2016-01-31T04:29:00Z", "dateLocal": "2016-01-30T20:29:00" }, "actualGateArrival": { "dateUtc": "2016-01-31T04:29:00Z", "dateLocal": "2016-01-30T20:29:00" }, "estimatedRunwayArrival": { "dateUtc": "2016-01-31T04:22:00Z", "dateLocal": "2016-01-30T20:22:00" }, "actualRunwayArrival": { "dateUtc": "2016-01-31T04:22:00Z", "dateLocal": "2016-01-30T20:22:00" } }, "codeshares": [], "delays": { "departureGateDelayMinutes": 69, "departureRunwayDelayMinutes": 14, "arrivalGateDelayMinutes": 86, "arrivalRunwayDelayMinutes": 32 }, "flightDurations": { "scheduledBlockMinutes": 363, "blockMinutes": 380, "scheduledAirMinutes": 338, "airMinutes": 356, "scheduledTaxiOutMinutes": 72, "taxiOutMinutes": 17, "taxiInMinutes": 7 }, "airportResources": { "departureTerminal": "B", "departureGate": "B4", "arrivalTerminal": "1", "arrivalGate": "B25" }, "flightEquipment": { "scheduledEquipmentIataCode": "319", "actualEquipmentIataCode": "319", "tailNumber": "N526NK" }, "irregularOperations": [] } ], "appendix": { "airlines": [ { "fs": "NK", "iata": "NK", "icao": "NKS", "name": "Spirit Airlines, Inc.", "phoneNumber": "800-772-7117", "active": true } ], "airports": [ { "fs": "LAS", "iata": "LAS", "icao": "KLAS", "faa": "LAS", "name": "McCarran International Airport", "street1": "5757 Wayne Newton Boulevard", "street2": "5757 Wayne Newton Boulevard", "city": "Las Vegas", "cityCode": "LAS", "stateCode": "NV", "postalCode": "89119", "countryCode": "US", "regionName": "North America", "timeZoneRegionName": "America/Los_Angeles", "weatherZone": "NVZ020", "localTime": "2016-02-01T09:13:28.641", "utcOffsetHours": -8.0, "latitude": 36.081, "longitude": -115.147599, "elevationFeet": 2095, "classification": 1, "active": true }, { "fs": "BOS", "iata": "BOS", "icao": "KBOS", "faa": "BOS", "name": "Logan International Airport", "street1": "One Harborside Drive", "street2": "One Harborside Drive", "city": "Boston", "cityCode": "BOS", "stateCode": "MA", "postalCode": "02128-2909", "countryCode": "US", "regionName": "North America", "timeZoneRegionName": "America/New_York", "weatherZone": "MAZ015", "localTime": "2016-02-01T12:13:28.642", "utcOffsetHours": -5.0, "latitude": 42.36646, "longitude": -71.020176, "elevationFeet": 19, "classification": 1, "active": true } ], "equipments": [ { "iata": "319", "name": "Airbus A319", "turboProp": false, "jet": true, "widebody": false, "regional": false } ] }, "request": { "endpoint": "ByFlightById", "flightId": { "requested": "663377859", "interpreted": 663377859 }, "url": "https://api.flightstats.com/flex/flightstatus/historical/rest/v3/json/flight/status/663377859" } }