---
title: "Airportia API: Flight History | Perceptlayer"
description: "Flight History from Airportia as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/airportia/flight-history
---

[APIs](https://perceptlayer.com/apis) / [Airportia](https://perceptlayer.com/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.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Any |
| `origin` | string | Optional | Any |
| `destination` | string | Optional | Any |

## 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 OK JSON X-Credits-Used: 1

Recorded 18 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/airportia?try=flight-history#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.

| Field | Type |
| --- | --- |
| `date` | string |
| `flight_number` | string |
| `airline` | object |
| `origin` | object |
| `destination` | object |
| `status` | string |
| `status_state` | string |
| `departure` | object |
| `arrival` | object |
| `aircraft` | object |
| `source` | string |
