FlightInfoInFlightInfoGetLastTrackSearchSearchCountScheduledDepartedEnrouteFleetArrivedArrivedAllAirportsZipcodeInfoAirportInfoTailOwnerRoutesBetweenAirportsAircraftTypecountAirportOperationsblockIdentCheckMETARTAFNTAFLatLongsToDistanceLatLongsToHeadingMapFlight_Beta
FlightInfo
FlightInfo returns information about flights for a specific tail number (e.g., N12345) or ICAO airline and flight
number (e.g., SWA2558) and the maximum number of flights to be returned. Flight information will be returned from newest to old
est with the oldest not being more than 3-4 days in the past.
Times are in integer seconds-since-1970 (UNIX epoch) time, except for estimated time enroute, which is in hours and minutes.
InFlightInfo
InFlightInfo looks up a specific tail number (e.g., N12345) or ICAO airline and flight number (e.g., SWA2558)
and returns current position/direction/speed information. It is only useful for airborne flights.
GetLastTrack
GetLastTrack looks up a flight by specific tail number (e.g., N12345) or ICAO airline and flight number (e.g., SWA2558). It returns the track log from the current IFR flight or, if the aircraft is not airborne, the most recent IFR flight. It returns an array of positions, with each including the timestamp, longitude, latitude groundspeed, altitude, altitudestatus, updatetype, and altitudechange. Altitude is in hundreds of feet or Flight Level where appropriate, see http://flightaware.com/about/faq.rvt#flightLevel. Also included altitude status, update type, and altitude change
Altitude status is 'C' when the flight is more than 200 feet away from its ATC-assigned altitude. (For example, the aircraft is transitioning to its assigned altitude.) Altitude change is 'C' if the aircraft is climbing (compared to the previous position reported), 'D' for descending, and empty if it is level. This happens for VFR flights with flight following, among other things. Timestamp is integer seconds-since-1970.
Search
Search searches data on all airborne aircraft to find ones matching the search query. Query parameters include a latitude/longitude box, aircraft ident with wildcards, type with wildcards, prefix, suffix, origin airport, destination airport, origin or destination airport, groundspeed, and altitude. It takes search terms in a single string comprising "-key value" pairs and returns an array of flight structures.
Keys include:
- -prefix
- -type
- -suffix
- -idents
- -destination
- -origin
- -originOrDestination
- -aboveAltitude
- -belowAltitude
- -aboveGroundspeed
- -belowGroundspeed
- -latlong
To search for all aircraft below ten-thousand feet with a groundspeed over
200 kts:
-belowAltitude 100 -aboveGroundspeed 200
To search for all in-air Boeing 777s:
-type B77*
To search for all aircraft heading to Los Angeles International Airport (LAX) that are "heavy" aircraft:
-destination LAX -prefix H
To search for all Continental Airlines flights in Boeing 737s
-idents COA* -type B73*
SearchCount
SearchCount works like Search but returns a count of matching flights rather than information about each flight.
Scheduled
Scheduled returns information about scheduled flights (technically, filed IFR flights) for a specified airport and a maximum number of flights to be returned. Scheduled flights are returned from soonest to furthest in the future to depart.
The airport argument must be the ICAO airport ID (e.g., KLAX, KSFO, KIAH, KHOU, KJFK, KEWR, KORD, KATL, etc.
The howMany argument must be an integer value less than or equal to 15 and determines the number of results.
The offset argument must be an integer value of the offset row count you want the search to start at. Most requests should be 0.
The filter argument can be "ga" or "airline" to only show GA or Airline traffic, respectively, or null/empty to show all traffic.
The next_offset value returned advises an application of the next offset to use (if more data is available).
Times returned are UNIX epoch (integer seconds since 1970) format.
Departed
Departed returns information about already departed flights for a specified airport and maximum number of flights to be returned. Departed flights are returned in order from most recently to least recently departed.
The airport argument must be the ICAO airport ID (e.g., KLAX, KSFO, KIAH, KHOU, KJFK, KEWR, KORD, KATL, etc.
The howMany argument must be an integer value less than or equal to 15 and determines the number of results.
The offset argument must be an integer value of the offset row count you want the search to start at. Most requests should be 0.
The filter argument can be "ga" or "airline" to only show GA or Airline traffic, respectively, or null/empty to show all traffic.
The next_offset value returned advises an application of the next offset to use (if more data is available).
Enroute
Enroute returns information about flights already in the air for the specified airport and maximum number of flights to be returned. Enroute flights are returned from soonest estimated arrival to least soon estimated arrival.
The airport argument must be the ICAO airport ID (e.g., KLAX, KSFO, KIAH, KHOU, KJFK, KEWR, KORD, KATL, etc.
The howMany argument must be an integer value less than or equal to 15 and determines the number of results.
The offset argument must be an integer value of the offset row count you want the search to start at. Most requests should be 0.
The filter argument can be "ga" or "airline" to only show GA or Airline traffic, respectively, or null/empty to show all traffic.
The next_offset value returned advises an application of the next offset to use (if more data is available).
FleetArrived
The fleet argument must be an ICAO prefix (e.g., COA, DAL, UAL, OPT, etc.)
The howMany argument must be an integer value less than or equal to 15 and determines the number of results.
The offset argument must be an integer value of the offset row count you want the search to start at. Most requests should be 0.
The next_offset value returned advises an application of the next offset to use (if more data is available).
Arrived
Arrived returns information about flights that have recently arrived for the specified airport and maximum number of flights to be returned. Flights are returned from most to least recent.
The airport argument must be the ICAO airport ID (e.g., KLAX, KSFO, KIAH, KHOU, KJFK, KEWR, KORD, KATL, etc.
The howMany argument must be an integer value less than or equal to 15 and determines the number of results.
The offset argument must be an integer value of the offset row count you want the search to start at. Most requests should be 0.
The filter argument can be "ga" or "airline" to only show GA or Airline traffic, respectively, or null/empty to show all traffic.
The next_offset value returned advises an application of the next offset to use (if more data is available).
AllAirports
AllAirports returns the ICAO airport IDs of all known airports.
ZipcodeInfo
ZipcodeInfo returns information about a five-digit zipcode. Of particular importance is latitude and longitude.
AirportInfo
AirportInfo returns information about an airport given an ICAO airport code such as KLAX, KSFO, KORD, KIAH, O07, etc. Data returned includes name (Houston Intercontinental Airport), location (typically city and state), latitude and longitude.
TailOwner
TailOwner returns information about an the owner of an aircraft, given a flight number or N-number. Data returned includes owner's name, location (typically city and state), and website, if any.
RoutesBetweenAirports
RoutesBetweenAirports returns information about assigned IFR routings between two airports. For each known routing, the route, number of times that route has been assigned and the filed altitude are returned.
AircraftType
Given an aircraft type string such as GALX, AircraftType returns information about that type, comprising the manufacturer (for instance, "IAI"), type (for instance, "Gulfstream G200"), and description (like "twin-jet").
countAirportOperations
Given an airport, returns integer values on the number of aircraft scheduled or actually en route or departing from the airport. Scheduled arrival is a non-airborne flight that is scheduled to the airport in question.
blockIdentCheck
Given an aircraft identification, returns 1 if the aircraft is blocked from public tracking, 0 if it is not.
METAR
Given an airport, return the METAR weather info, if available.
TAF
Given an airport, return the terminal area forecast, if available.
NTAF
Given an airport, return the terminal area forecast, if available.
LatLongsToDistance
Given two latitudes and longitudes, lat1 lon1 lat2 and lon2, respectively, determine the great circle distance between those positions in miles.
LatLongsToHeading
Given two latitudes and longitudes, lat1 lon1 lat2 and lon2, respectively, calculate and return the initial compass heading (where 360 is North) from position one to position two. Quite accurate for relatively short distances but since it assumes the earth is a sphere rather than on irregular oblate sphereoid may be inaccurate for flights around a good chunk of the world, etc.
MapFlight_Beta
This function will return a base64 encoded GIF (with the height and width as specified in pixels) of the most recent
(past or current) flight of a specified ident. This service is in beta. Future versions will allow viewing of past
flights, configuring nexrad, and configuring zoom.
Classes/Structs | Enumerations | Array Types | Simple Types Classes/Structs
DepartureStructTafStructFlightStructScheduledFlightStructEnrouteStructAirportInfoStructTrackStructArrivalStructZipcodeInfoStructAircraftSuffixDescriptionStructRoutesBetweenAirportsStructMetarStructInFlightAircraftStructEnrouteFlightStructScheduledStructInFlightStructcountAirportOperationsStructTailOwnerStructDepartureFlightStructAircraftTypeStructArrivalFlightStructFlightInfoStruct DepartureStruct
TafStruct
FlightStruct
ScheduledFlightStruct
EnrouteStruct
AirportInfoStruct
TrackStruct
ArrivalStruct
ZipcodeInfoStruct
AircraftSuffixDescriptionStruct
RoutesBetweenAirportsStruct
MetarStruct
InFlightAircraftStruct
EnrouteFlightStruct
ScheduledStruct
InFlightStruct
countAirportOperationsStruct
- enroute int
- departed int
- scheduled_departures int
- scheduled_arrivals int
TailOwnerStruct
DepartureFlightStruct
AircraftTypeStruct
ArrivalFlightStruct
FlightInfoStruct
Enumerations
Array Types