---
title: "Get flight's track"
method: GET
path: "/flights/{id}/track"
tags: ["flights"]
---

# Get flight's track

`GET /flights/{id}/track`

## Request

- Base URL: `https://aeroapi.flightaware.com/aeroapi`
- URL: `https://aeroapi.flightaware.com/aeroapi/flights/{id}/track`
- Auth: API key in header `x-apikey`
- TypeScript: <https://skmtc.dev/flightaware/apis/aeroapi/docs/flights/:id/track/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the track for a flight as an array of positions.
Data from up to 10 days ago can be obtained. If looking for older data,
please use the corresponding historical endpoint.

## Path parameters

- `id` string, required

## Query parameters

- `include_estimated_positions` boolean

## Response `200`

OK

- object
  - `positions` object[]
    - `fa_flight_id` string, nullable, required: Unique identifier assigned by FlightAware to the flight with this position. This field is only populated by the `/flights/search/positions` (in other cases, the user will have already specified the fa_flight_id).
    - `altitude` integer, required: Aircraft altitude in hundreds of feet
    - `altitude_change` 'C' | 'D' | '-', required: C when the aircraft is climbing, D when descending, and - when the altitude is being maintained.
    - `groundspeed` integer, required: Most recent groundspeed (knots)
    - `heading` integer, nullable, required: Aircraft heading in degrees (0-360)
    - `latitude` number, required: Most recent latitude position
    - `longitude` number, required: Most recent longitude position
    - `timestamp` string, date-time, required: Time that position was received
    - `update_type` 'P' | 'O' | 'Z' | 'A' | 'M' | 'D' | 'X' | 'S' | 'null', nullable, required: P=projected, O=oceanic, Z=radar, A=ADS-B, M=multilateration, D=datalink, X=surface and near surface (ADS-B and ASDE-X), S=space-based

## Other responses

- `400`: Incorrect parameter(s). Id may be missing or may not be fa_flight_id format. Aircraft may be blocked.
- `404`: No track is available for this flight.

---

[API](https://skmtc.dev/flightaware/apis/aeroapi.md) - [All operations](https://skmtc.dev/flightaware/apis/aeroapi/llms.txt) - [OpenAPI document](https://skmtc.dev/flightaware/apis/aeroapi/revisions/3023e7a0c54c?raw)
