APIs / Travel / FlightAware

1 credit per call1 endpoint8 datapointsChecked working 6 Dec 2026

FlightAware API

FlightAware API for airport boards, one flight's full detail and a flight's last 14 days as JSON. 1 credit per call; a single flight costs 2 or 10.

FlightAware
GET/v1/flightaware/airport?code=EDDF&mode=arrivals
{
  "success": true,
  "data": {
    "code": "EDDF",
    "icao": "EDDF",
    "mode": "arrivals",
    "board": "current",
    "airport": {
      "icao": "EDDF",
      "name": "Frankfurt/Main Airport"
    },
    "count": 20,
    "rows": [
      {
        "ident": "THY6405",
        "airline": {
          "name": "Turkish Airlines"
        },
        "aircraft": {
          "type": "A330",
          "name": "Airbus A330 (twin-jet)"
        },
        "origin": {
          "icao": "LTFM",
          "iata": "IST",
          "name": "Istanbul"
        },
        "destination": {
          "icao": "EDDF",
          "name": "Frankfurt/Main Airport"
        },
        "scheduled_departure": "2026-11-18T01:30:00Z",
        "departure": {
          "local_time": "04:39",
          "zone": "+03",
          "estimated": false
        },
        "arrival": {
          "local_time": "05:26",
          "zone": "CET",
          "estimated": false
        }
      },
      {
        "ident": "DLH577",
        "airline": {
          "name": "Lufthansa"
        },
        "aircraft": {
          "type": "B789",
          "name": "Boeing 787-9 Dreamliner (twin-jet)"
        },
        "origin": {
          "icao": "FACT",
          "iata": "CPT",
          "name": "Cape Town Intl"
        },
        "destination": {
          "icao": "EDDF",
          "name": "Frankfurt/Main Airport"
        },
        "scheduled_departure": "2026-11-17T17:20:00Z",
        "departure": {
          "local_time": "19:28",
          "zone": "SAST",
          "estimated": false
        },
        "arrival": {
          "local_time": "05:24",
          "zone": "CET",
          "estimated": false
        }
      },
      {
        "ident": "DLH595",
        "airline": {
          "name": "Lufthansa"
        },
        "aircraft": {
          "type": "A343",
          "name": "Airbus A340-300 (quad-jet)"
        },
        "origin": {
          "icao": "DNAA",
          "iata": "ABV",
          "name": "Nnamdi Azikiwe Intl"
        },
        "destination": {
          "icao": "EDDF",
          "name": "Frankfurt/Main Airport"
        },
        "scheduled_departure": "2026-11-17T22:20:00Z",
        "departure": {
          "local_time": "23:28",
          "zone": "WAT",
          "estimated": false
        },
        "arrival": {
          "local_time": "05:22",
          "zone": "CET",
          "estimated": false
        }
      }
    ]
  },
  "meta": {
    "endpoint_family": "airport_board",
    "request_id": "req_54aa4283fe284a96a5e3b71b41080d62",
    "credits_charged": 1,
    "credits_remaining": 975
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of airport: the fields and shapes you will get, shortened to 3 items.

#identstringairlineobjectaircraftobjectoriginobjectdestinationobjectscheduled_departurestringdepartureobjectarrivalobject
1THY6405{1 fields}{2 fields}{3 fields}{2 fields}2026-11-18T01:30:00Z{3 fields}{3 fields}
2DLH577{1 fields}{2 fields}{3 fields}{2 fields}2026-11-17T17:20:00Z{3 fields}{3 fields}
3DLH595{1 fields}{2 fields}{3 fields}{2 fields}2026-11-17T22:20:00Z{3 fields}{3 fields}

Recorded from our API · 3 items shown · 8 datapoints per itemGET /v1/flightaware/airport?code=EDDF&mode=arrivals

8 datapoints

Identity

  • identstring

Other

  • airlineobject
  • aircraftobject
  • originobject
  • destinationobject
  • scheduled_departurestring
  • departureobject
  • arrivalobject

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/flightaware/airport?code=EDDF&mode=arrivals" \
  -H "X-API-Key: $API_KEY"

FlightAware · 1 endpoint

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/flightaware/airport
code+1 optional
icaomodeboardairportrows
1 credit

Overview

About the FlightAware API

What you can get

The FlightAware API returns FlightAware airport boards and flight data as JSON through 3 endpoints.

  • Airport board: airport takes a code, with mode (arrivals, departures, enroute or scheduled).
  • One flight: flight takes an ident and a date, with fetch_by (flight or reg), origin, destination, time and track.
  • Flight history: flight-history takes an ident, with fetch_by (flight or reg).

The recorded flight call for LH400 on 2026-11-16 returns one leg for ident DLH400. It has status, airline, aircraft, origin, destination, times, delay, distance_nm, flight_plan and track_points. In that recording the flight left Frankfurt (FRA) from gate Z50 for New York JFK in an A350-900, departed 23 minutes late and arrived 14 minutes early, with 3,435 nm flown and 735 track points. times splits into gate_departure, takeoff, landing and gate_arrival, each with scheduled, estimated and actual. The recorded airport call for EDDF arrivals returns 20 rows, each with ident, airline, aircraft, origin, destination, scheduled_departure, departure and arrival.

How a call works

List a flight's recent days, then read one: GET /v1/flightaware/flight-history?ident=LH400&fetch_by=flight, with your key in the X-API-Key header, returns its flights over 14 days, 16 in the recording, each with times. Pass a date to GET /v1/flightaware/flight?ident=LH400&date=2026-11-16 for the full leg. The date is the UTC date of the scheduled departure. Use fetch_by=reg to look up an aircraft by registration instead of a flight number.

airport and flight-history cost 1 credit per successful call. flight costs 2 credits for a flight from the last 14 days and 10 for an older one. A flight that isn't found costs nothing, and failed calls cost nothing.

TravelJSONRESTMCP

More travel APIs

Use cases

Show the current arrivals or departures board at an airport

Use the FlightAware API to show the current arrivals or departures board at an airport

List flights en route to an airport with `mode=enroute`

Use the FlightAware API to list flights en route to an airport with `mode=enroute`

Pull a flight's gate departure and arrival times for delay claims

Use the FlightAware API to pull a flight's gate departure and arrival times for delay claims

Follow one aircraft by registration with `fetch_by=reg`

Use the FlightAware API to follow one aircraft by registration with `fetch_by=reg`

FAQ

Questions

How much does the FlightAware API cost?

`airport` and `flight-history` cost one credit per successful call. `flight` costs 2 credits for a flight from the last 14 days and 10 for an older one; a flight that isn't found costs nothing. New accounts get free credits to start, and credit packs bring the price down as you scale.

Which date does `flight` expect?

The UTC date of the scheduled departure, as YYYY-MM-DD. A late-evening local departure can fall on the next UTC day. If one flight number flies twice that day, narrow it with `origin`, `destination` or `time`.

What does the airport board take as `code`?

The recorded call uses the ICAO code EDDF for Frankfurt. The response echoes it in `code` and `icao`, with the airport `name`.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Is this the official FlightAware API?

No. Perceptlayer is an independent service and is not affiliated with FlightAware. It returns FlightAware data as JSON with a Perceptlayer key, so there is no FlightAware developer account, app review or partner approval to get first. It only reads data: if FlightAware has an official API and you need to act on your own FlightAware account, such as posting, managing orders or reading private data, use that one.

Should I build a FlightAware scraper instead?

You can, but a FlightAware scraper is code you maintain: page changes break it, requests get blocked, and FlightAware's terms govern how you collect data. The FlightAware API gives you 1 endpoint of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the FlightAware API with 100 free credits

No credit card. Failed calls are never billed.