Skip to content
Scrappa Get API key
FlightAware API 1 credit / request

FlightAware Airport API Documentation

GET https://scrappa.co/api/flightaware/airport

FlightAware Airport API Documentation 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.

FlightAware Airport API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/flightaware/airport
Auth header
x-api-key
Cost
1 credit / request
code = example
Response preview
200 OK
{
    "data": {
        "code": "EDDF",
        "mode": "departures",
        "rows": [
            {
                "ident": "DLH1142",
                "origin": {
                    "iata": null,
                    "icao": "EDDF",
                    "name": null
                },
                "airline": {
                    "name": "Lufthansa"
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

1 optional filter available.

code string Required

IATA or ICAO code of the airport, e.g. FRA or EDDF.

Example value example
mode string Optional

arrivals (default), departures, enroute or scheduled.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "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

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A query parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "code": [
            "The airport code is the 4-letter ICAO code, e.g. EDDF for Frankfurt or KJFK for New York JFK."
        ]
    },
    "message": "The request validation failed"
}
503

Service Unavailable

FlightAware could not be reached or changed its answer. This response is not billable. Retry later.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "airport_board"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "FlightAware is temporarily unavailable. Please retry."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.