# FlightAware Airport API Documentation

<p><strong>FlightAware Airport API Documentation</strong> Get the current board of an airport by its IATA or ICAO code (FRA, EDDF): arrivals, departures, flights en route to the airport or scheduled departures, about 20 rows each. Each row has the flight number, airline, aircraft type, both airports, the scheduled departure in UTC, the local departure and arrival clock time with its zone name, whether the time is an estimate, and the progress of a flight in the air. The board shows the present only: there is no date and no paging. Every row has the data to call the flight endpoint for its leg. An airport with no rows answers 200 and costs no credit. Cost: 1 credit per successful request.</p>

- **Documentation:** [https://scrappa.co/docs/flightaware-api/flightaware_airport](https://scrappa.co/docs/flightaware-api/flightaware_airport)
- **API group:** FlightAware API
- **Endpoint:** `GET https://scrappa.co/api/flightaware/airport`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | string | Yes | IATA or ICAO code of the airport, e.g. FRA or EDDF. |
| `mode` | string | No | arrivals (default), departures, enroute or scheduled. |

## Example response

```json
{
    "data": {
        "code": "EDDF",
        "mode": "departures",
        "rows": [
            {
                "ident": "DLH1142",
                "origin": {
                    "iata": null,
                    "icao": "EDDF",
                    "name": null
                },
                "airline": {
                    "name": "Lufthansa"
                },
                "arrival": {
                    "zone": "CET",
                    "estimated": true,
                    "local_time": "11:50"
                },
                "aircraft": {
                    "name": "Airbus A321 (twin-jet)",
                    "type": "A321"
                },
                "departure": {
                    "zone": "CET",
                    "estimated": false,
                    "local_time": "09:56"
                },
                "destination": {
                    "iata": "BIO",
                    "icao": "LEBB",
                    "name": "Bilbao"
                },
                "progress_percent": 0,
                "scheduled_departure": "2026-11-14T08:40:00Z"
            }
        ],
        "board": "current",
        "count": 1,
        "airport": {
            "iata": null,
            "icao": "EDDF",
            "name": "Frankfurt/Main Airport"
        }
    },
    "meta": {
        "billable": true,
        "credits_charged": 1,
        "endpoint_family": "airport_board"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing or invalid. This response is not billable. |
| 503 | Service Unavailable | FlightAware could not be reached or changed its answer. This response is not billable. Retry later. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
