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

# Get flight's filed route

`GET /flights/{id}/route`

## Request

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

Returns information about a flight's filed route including coordinates,
names, and types of fixes along the route.  Not all flight routes can
be successfully decoded by this endpoint, particularly if the flight is
not entirely within the continental U.S. airspace, since this function
only has access to navaids within that area. If data on a waypoint is
missing then the type will be listed as "UNKNOWN". 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

## Response `200`

OK

- object
  - `route_distance` string, nullable, required
  - `fixes` object[], required
    - `name` string, required: Name of the route fix
    - `latitude` number, nullable, required: Longitude of the fix in decimal degrees
    - `longitude` number, nullable, required: Longitude of the fix in decimal degrees
    - `distance_from_origin` number, nullable, required: Distance from origin airport stated in statue miles, nautical miles or kilometers depending on FlightAware Account Display Options
    - `distance_this_leg` number, nullable, required: Distance from the last point on Route stated in statue miles, nautical miles or kilometers depending on FlightAware Account Display Options
    - `distance_to_destination` number, nullable, required: Distance to destination airport stated in statue miles, nautical miles or kilometers depending on FlightAware Account Display Options
    - `outbound_course` number, nullable, required: Course in integer degrees from the current point to the next relative to true north
    - `type` string, required: Type of the fix (ie Waypoint / Reporting Point)

## Other responses

- `400`: Incorrect parameter (id). Id may be missing or may not be fa_flight_id format.
- `404`: No route 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)
