Skip to main content
GET
https://api.flystack.dev
/
v1
/
routes
Airline Routes
curl --request GET \
  --url https://api.flystack.dev/v1/routes \
  --header 'x-api-key: <x-api-key>'
[
  {
    "airline_iata": "UL",
    "airline_icao": "ALK",
    "flight_number": "2265",
    "flight_iata": "UL2265",
    "flight_icao": "ALK2265",
    "cs_airline_iata": "EY",
    "cs_flight_iata": "EY265",
    "cs_flight_number": "265",
    "dep_iata": "CMB",
    "dep_icao": "VCBI",
    "dep_time": "02:50",
    "dep_time_utc": "21:20",
    "dep_terminals": ["1"],
    "arr_iata": "AUH",
    "arr_icao": "OMAA",
    "arr_time": "05:50",
    "arr_time_utc": "01:50",
    "arr_terminals": ["1", "T3"],
    "duration": 270,
    "days": ["mon", "wed", "sat"],
    "aircraft_icao": "A320",
    "updated": "2023-02-11T22:51:55.000Z"
  }
]
The Routes dataset contains planned airline schedules that are operated by airlines. This is not real-time data and does not include live flight status. Together with the Flight Schedules API, routes data can help you predict schedules further into the future and build connection logic (days of week, departure times, aircraft type, terminals, etc.).

Authentication

x-api-key
string
required
Your FlyStack API token. You can create one from the dashboard (see Authentication).

Query parameters

Route filters

dep_iata
string
Filter by departure airport IATA code (e.g., CMB).
dep_icao
string
Filter by departure airport ICAO code (e.g., VCBI).
arr_iata
string
Filter by arrival airport IATA code (e.g., AUH).
arr_icao
string
Filter by arrival airport ICAO code (e.g., OMAA).
airline_iata
string
Filter by airline IATA code (e.g., UL).
airline_icao
string
Filter by airline ICAO code (e.g., ALK).
flight_icao
string
Filter by flight ICAO code-number (e.g., ALK2265).
flight_iata
string
Filter by flight IATA code-number (e.g., UL2265).
flight_number
string
Filter by flight number only (e.g., 2265).

Response shaping & pagination

_fields
string
Comma-separated list of fields to return (e.g., airline_iata,flight_number).
limit
number
Max number of results per response (limits may depend on your plan).
offset
number
Pagination offset (0+). Use with limit when a response indicates there are more results.
For best results, provide at least one filter (airport, airline, or flight code).

Response

The endpoint returns a list of routes.

Routes dataset response fields

[
  {
    "airline_iata": "UL",
    "airline_icao": "ALK",
    "flight_number": "2265",
    "flight_iata": "UL2265",
    "flight_icao": "ALK2265",
    "cs_airline_iata": "EY",
    "cs_flight_iata": "EY265",
    "cs_flight_number": "265",
    "dep_iata": "CMB",
    "dep_icao": "VCBI",
    "dep_time": "02:50",
    "dep_time_utc": "21:20",
    "dep_terminals": ["1"],
    "arr_iata": "AUH",
    "arr_icao": "OMAA",
    "arr_time": "05:50",
    "arr_time_utc": "01:50",
    "arr_terminals": ["1", "T3"],
    "duration": 270,
    "days": ["mon", "wed", "sat"],
    "aircraft_icao": "A320",
    "updated": "2023-02-11T22:51:55.000Z"
  }
]

See also