Airport Response

The Airport Response is returned for the following request type:

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).
<delayIndexUrl>https://api.flightstats.com/flex/delayindex/rest/v1/json/airports/PDX?codeType=fs</delayIndexUrl> 1..1 URL for the DelayIndex service with current delay information computed for the Airport (String).
<weatherUrl>https://api.flightstats.com/flex/weather/rest/v1/json/all/PDX?codeType=fs</weatherUrl> 1..1 URL for the Weather service with current weather data for the Airport (String).
Fields marked as NEW will only be returned if the extended option "includeNewFields" is used. See the Flex API Version Policy page for details.
Example XML Output
The following example is a partial response and uses inline references for simplicity.
See Full Sample Responses for a complete response.
<airport> <fs>PDX</fs> <iata>PDX</iata> <icao>KPDX</icao> <faa>PDX</faa> <name>Portland International Airport</name> <street1>7000 Northeast, Airport Way</street1> <street2/> <city>Portland</city> <cityCode>PDX</cityCode> <stateCode>OR</stateCode> <postalCode>97216</postalCode> <countryCode>US</countryCode> <countryName>United States</countryName> <regionName>North America</regionName> <timeZoneRegionName>America/Los_Angeles</timeZoneRegionName> <weatherZone>ORZ006</weatherZone> <localTime>2012-08-09T11:03:39.918</localTime> <utcOffsetHours>-7.0</utcOffsetHours> <latitude>45.588995</latitude> <longitude>-122.592901</longitude> <elevationFeet>30</elevationFeet> <classification>1</classification> <active>true</active> <delayIndexUrl>https://api.flightstats.com/flex/delayindex/rest/v1/json/airports/PDX?codeType=fs</delayIndexUrl> <weatherUrl>https://api.flightstats.com/flex/weather/rest/v1/json/all/PDX?codeType=fs</weatherUrl> </airport>
Example JSON Output (whitespace added for clarity)
The following example is a partial response and uses inline references for simplicity.
See Full Sample Responses for a complete response.
airport: { fs: "PDX", iata: "PDX", icao: "KPDX", faa: "PDX", name: "Portland International Airport ", street1: "7000 Northeast, Airport Way", street2: "", city: "Portland", cityCode: "PDX", stateCode: "OR", postalCode: "97216", countryCode: "US", countryName: "United States", regionName: "North America", timeZoneRegionName: "America/Los_Angeles", weatherZone: "ORZ006", localTime: "2012-08-09T11:02:59.571", utcOffsetHours: -7, latitude: 45.588995, longitude: -122.592901, elevationFeet: 30, classification: 1, active: true, delayIndexUrl: "https://api.flightstats.com/flex/delayindex/rest/v1/json/airports/PDX?codeType=fs", weatherUrl: "https://api.flightstats.com/flex/weather/rest/v1/json/all/PDX?codeType=fs" }
Full Sample Responses