flights

Get an image of a flight's track on a map

Returns a flight's track as a base64-encoded image. Image can contain a variety of additional data layers beyond just the track. Data from up to 10 days ago can be obtained. If looking for older data, please use the corresponding historical endpoint.

get/flights/{id}/map

Request

Path parameters

idstring required

The fa_flight_id to fetch. If looking for data from more than 10 days ago, please use the corresponding historical endpoint.

Query parameters

heightinteger

Height of requested image (pixels)

widthinteger

Width of requested image (pixels)

layer_onstring[]

List of map layers to enable

layer_offstring[]

List of map layers to disable

show_data_blockboolean

Whether a textual caption containing the ident, type, heading, altitude, origin, and destination should be displayed by the flight's position.

airports_expand_viewboolean

Whether to force zoom area to ensure origin/destination airports are visible. Enabling this flag forcefully enables the show_airports flag as well.

show_airportsboolean

Whether to show the origin/destination airports for the flight as labeled points on the map.

bounding_boxnumber[]

Manually specify the zoom area of the map using custom bounds. Should be a list of 4 coordinates representing the top, right, bottom, and left sides of the area (in that order).

Response

OK

mapstring byte required

Changes

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