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

Airportia Airport Board API Documentation

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

Airportia Airport Board API Documentation Read the departure or arrival board of an airport (IATA code) for today. A board is a live window: about 25 minutes back to 1.5 hours ahead. Each row has the flight number, airline, the other airport, scheduled and actual time in local time and UTC, delay in minutes, status and the codeshare flights of the main flight. Times are the local times of the airport. A board has many rows and is cut into pages: use page, and has_more tells you if another page exists. Busy airports are supported (about 90): an airport that is not supported answers 404. A page with no flights answers 200 with an empty list. Every failed request and every empty answer cost no credit. Cost: 1 credit per page. Scrappa is an independent service and is not affiliated with Airportia.

Airportia Airport Board API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/airportia/airport
Auth header
x-api-key
Cost
1 credit / request
code = example
Response preview
200 OK
{
    "data": {
        "date": "2026-11-14",
        "mode": "departures",
        "page": 1,
        "rows": [
            {
                "date": "2026-11-14",
                "origin": {
                    "iata": "FRA"
                },
                "source": "airportia",
                "status": "En-Route",
                "airline": "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.

2 optional filters available.

code string Required

IATA airport code, e.g. FRA.

Example value example
mode string Optional

departures (default) or arrivals.

Example value example
page integer Optional

Page number, 1 to 30. Default: 1.

Example value 1

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": {
        "date": "2026-11-14",
        "mode": "departures",
        "page": 1,
        "rows": [
            {
                "date": "2026-11-14",
                "origin": {
                    "iata": "FRA"
                },
                "source": "airportia",
                "status": "En-Route",
                "airline": "Lufthansa",
                "actual_utc": "2026-11-14T08:05:00Z",
                "codeshares": [
                    {
                        "status": "En-Route",
                        "airline": "Air Canada",
                        "status_state": "active",
                        "flight_number": "AC9290"
                    }
                ],
                "destination": {
                    "iata": "SZG",
                    "name": "Salzburg"
                },
                "actual_local": "2026-11-14T09:05:00+01:00",
                "status_state": "active",
                "delay_minutes": 0,
                "flight_number": "LH1260",
                "scheduled_utc": "2026-11-14T08:05:00Z",
                "scheduled_local": "2026-11-14T09:05:00+01:00"
            }
        ],
        "count": 1,
        "airport": "FRA",
        "has_more": true
    },
    "meta": {
        "window": "live board: about 25 minutes back to 1.5 hours ahead",
        "credits": 1,
        "billable": true,
        "local_timezone": "Europe/Berlin",
        "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 an IATA code like FRA."
        ]
    },
    "message": "The request validation failed"
}
404

Not Found

The airport is not supported. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "airport_board"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "Airportia has no data for this flight or airport."
    },
    "success": false
}
503

Service Unavailable

Airportia could not be reached or changed its page. This response is not billable. Retry later.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "airport_board"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The Airportia data 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.