APIs / Airportia / Flight History

Airportia: Flight History

Flight History from Airportia as JSON. 1 credit per successful call.

GET /v1/airportia/flight-history

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredAny
originstringOptionalAny
destinationstringOptionalAny

Example request

Airportia
GET/v1/airportia/flight-history?query=LH1392
{
  "success": true,
  "data": {
    "query": "LH1392",
    "count": 10,
    "routes": [
      {
        "origin": "FRA",
        "destination": "PRG"
      }
    ],
    "flights": [
      {
        "date": "2026-11-18",
        "flight_number": "LH1392",
        "airline": {
          "name": "Lufthansa",
          "iata": "LH"
        },
        "origin": {
          "iata": "FRA",
          "icao": "EDDF",
          "name": "Frankfurt Airport",
          "timezone": "Europe/Berlin"
        },
        "destination": {
          "iata": "PRG",
          "icao": "LKPR",
          "name": "Prague Vaclav Havel Airport",
          "timezone": "Europe/Prague"
        },
        "status": "Scheduled",
        "status_state": "scheduled",
        "departure": {
          "shown_time_local": "2026-11-18T08:35:00+01:00",
          "shown_time_utc": "2026-11-18T07:35:00Z"
        },
        "arrival": {
          "shown_time_local": "2026-11-18T09:40:00+01:00",
          "shown_time_utc": "2026-11-18T08:40:00Z"
        },
        "aircraft": {},
        "source": "airportia"
      },
      {
        "date": "2026-11-17",
        "flight_number": "LH1392",
        "airline": {
          "name": "Lufthansa",
          "iata": "LH"
        },
        "origin": {
          "iata": "FRA",
          "icao": "EDDF",
          "name": "Frankfurt Airport",
          "timezone": "Europe/Berlin"
        },
        "destination": {
          "iata": "PRG",
          "icao": "LKPR",
          "name": "Prague Vaclav Havel Airport",
          "timezone": "Europe/Prague"
        },
        "status": "Landed",
        "status_state": "landed",
        "departure": {
          "shown_time_local": "2026-11-17T08:53:00+01:00",
          "shown_time_utc": "2026-11-17T07:53:00Z"
        },
        "arrival": {
          "shown_time_local": "2026-11-17T09:41:00+01:00",
          "shown_time_utc": "2026-11-17T08:41:00Z"
        },
        "aircraft": {},
        "source": "airportia"
      },
      {
        "date": "2026-11-16",
        "flight_number": "LH1392",
        "airline": {
          "name": "Lufthansa",
          "iata": "LH"
        },
        "origin": {
          "iata": "FRA",
          "icao": "EDDF",
          "name": "Frankfurt Airport",
          "timezone": "Europe/Berlin"
        },
        "destination": {
          "iata": "PRG",
          "icao": "LKPR",
          "name": "Prague Vaclav Havel Airport",
          "timezone": "Europe/Prague"
        },
        "status": "Landed",
        "status_state": "landed",
        "departure": {
          "shown_time_local": "2026-11-16T08:51:00+01:00",
          "shown_time_utc": "2026-11-16T07:51:00Z"
        },
        "arrival": {
          "shown_time_local": "2026-11-16T09:34:00+01:00",
          "shown_time_utc": "2026-11-16T08:34:00Z"
        },
        "aircraft": {},
        "source": "airportia"
      }
    ]
  },
  "meta": {
    "endpoint_family": "flight_history",
    "window_days": 10,
    "oldest_date": "2026-11-09"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 18 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.flights has these 11 fields, read from a recorded call that returned 10 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
datestring
flight_numberstring
airlineobject
originobject
destinationobject
statusstring
status_statestring
departureobject
arrivalobject
aircraftobject
sourcestring