---
title: "FlightAware API: airport boards as JSON | Perceptlayer"
description: "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."
url: https://perceptlayer.com/apis/flightaware
---

[APIs](https://perceptlayer.com/apis) / [Travel](https://perceptlayer.com/verticals/travel) / FlightAware

1 credit per call 1 endpoint 8 datapoints 

# 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.

[Get a free API key](https://perceptlayer.com/signup) Run it below

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 OK JSON X-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.

| # | ident string | airline object | aircraft object | origin object | destination object | scheduled\_departure string | departure object | arrival object |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | THY6405 | {1 fields} | {2 fields} | {3 fields} | {2 fields} | 2026-11-18T01:30:00Z | {3 fields} | {3 fields} |
| 2 | DLH577 | {1 fields} | {2 fields} | {3 fields} | {2 fields} | 2026-11-17T17:20:00Z | {3 fields} | {3 fields} |
| 3 | DLH595 | {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 item GET /v1/flightaware/airport?code=EDDF&mode=arrivals

8 datapoints

### Identity

-   ident string

### Other

-   airline object
-   aircraft object
-   origin object
-   destination object
-   scheduled\_departure string
-   departure object
-   arrival object

Playground

## Run this API

cURL shell 

```
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.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/flightaware/airport`](https://perceptlayer.com/apis/flightaware/airport) | `code` +1 optional | `icao` `mode` `board` `airport` `rows` | 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.

Travel JSON REST MCP

### More travel APIs

[ADS-B History](https://perceptlayer.com/apis/adsb-history) [Agoda](https://perceptlayer.com/apis/agoda) [Airbnb](https://perceptlayer.com/apis/airbnb) [Airportia](https://perceptlayer.com/apis/airportia) [Bandsintown](https://perceptlayer.com/apis/bandsintown) [Booking.com](https://perceptlayer.com/apis/booking) [Economy Car Rentals](https://perceptlayer.com/apis/economy-car-rentals) [Eventbrite](https://perceptlayer.com/apis/eventbrite) [Eventim](https://perceptlayer.com/apis/eventim) [Expedia](https://perceptlayer.com/apis/expedia) [Flightradar24](https://perceptlayer.com/apis/flightradar24) [FlightStats](https://perceptlayer.com/apis/flightstats)

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.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
