1 credit per call2 endpoints13 datapointsChecked working 6 Dec 2026
Airportia API
Airportia API for airport departure and arrival boards and a flight number's recent history as JSON, with delays and status. 1 credit per successful call.
{
"success": true,
"data": {
"airport": "FRA",
"mode": "departures",
"date": "2026-11-18",
"page": 1,
"has_more": false,
"count": 64,
"rows": [
{
"flight_number": "X37106",
"airline": "TUI fly Germany",
"origin": {
"iata": "FRA"
},
"destination": {
"iata": "BVC",
"name": "Boa Vista"
},
"date": "2026-11-18",
"scheduled_local": "2026-11-18T05:00:00+01:00",
"scheduled_utc": "2026-11-18T04:00:00Z",
"actual_local": "2026-11-18T05:00:00+01:00",
"actual_utc": "2026-11-18T04:00:00Z",
"delay_minutes": 0,
"status": "En-Route",
"status_state": "active",
"source": "airportia"
},
{
"flight_number": "TP575",
"airline": "TAP Portugal",
"origin": {
"iata": "FRA"
},
"destination": {
"iata": "LIS",
"name": "Lisbon"
},
"date": "2026-11-18",
"scheduled_local": "2026-11-18T06:00:00+01:00",
"scheduled_utc": "2026-11-18T05:00:00Z",
"status": "Scheduled",
"status_state": "scheduled",
"codeshares": [
{
"flight_number": "AD7225",
"airline": "Azul Brazilian Airlines",
"status": "Scheduled",
"status_state": "scheduled"
},
{
"flight_number": "LH6954",
"airline": "Lufthansa",
"status": "Scheduled",
"status_state": "scheduled"
},
{
"flight_number": "S48765",
"airline": "Azores Airlines",
"status": "Scheduled",
"status_state": "scheduled"
}
],
"source": "airportia"
},
{
"flight_number": "X32138",
"airline": "TUI fly Germany",
"origin": {
"iata": "FRA"
},
"destination": {
"iata": "FUE",
"name": "Fuerteventura"
},
"date": "2026-11-18",
"scheduled_local": "2026-11-18T06:00:00+01:00",
"scheduled_utc": "2026-11-18T05:00:00Z",
"status": "Delayed",
"status_state": "delayed",
"source": "airportia"
}
]
},
"meta": {
"endpoint_family": "airport_board",
"local_timezone": "Europe/Berlin",
"window": "live board: about 25 minutes back to 1.5 hours ahead",
"request_id": "req_6a6c0ff50f834d0b9197abbd6751d61a",
"credits_charged": 1,
"credits_remaining": 976
}
}Sample data
What one call returns
A recorded run of airport: the fields and shapes you will get, shortened to 3 items.
| # | flight_numberstring | airlinestring | originobject | destinationobject | datestring | scheduled_localstring | scheduled_utcstring | actual_localstring | actual_utcstring | delay_minutesnumber | statusstring | status_statestring | sourcestring |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | X37106 | TUI fly Germany | {1 fields} | {2 fields} | 2026-11-18 | 2026-11-18T05:00:00+01:00 | 2026-11-18T04:00:00Z | 2026-11-18T05:00:00+01:00 | 2026-11-18T04:00:00Z | 0 | En-Route | active | airportia |
| 2 | TP575 | TAP Portugal | {1 fields} | {2 fields} | 2026-11-18 | 2026-11-18T06:00:00+01:00 | 2026-11-18T05:00:00Z | — | — | — | Scheduled | scheduled | airportia |
| 3 | X32138 | TUI fly Germany | {1 fields} | {2 fields} | 2026-11-18 | 2026-11-18T06:00:00+01:00 | 2026-11-18T05:00:00Z | — | — | — | Delayed | delayed | airportia |
[
{
"flight_number": "X37106",
"airline": "TUI fly Germany",
"origin": {
"iata": "FRA"
},
"destination": {
"iata": "BVC",
"name": "Boa Vista"
},
"date": "2026-11-18",
"scheduled_local": "2026-11-18T05:00:00+01:00",
"scheduled_utc": "2026-11-18T04:00:00Z",
"actual_local": "2026-11-18T05:00:00+01:00",
"actual_utc": "2026-11-18T04:00:00Z",
"delay_minutes": 0,
"status": "En-Route",
"status_state": "active",
"source": "airportia"
},
{
"flight_number": "TP575",
"airline": "TAP Portugal",
"origin": {
"iata": "FRA"
},
"destination": {
"iata": "LIS",
"name": "Lisbon"
},
"date": "2026-11-18",
"scheduled_local": "2026-11-18T06:00:00+01:00",
"scheduled_utc": "2026-11-18T05:00:00Z",
"status": "Scheduled",
"status_state": "scheduled",
"codeshares": [
{
"flight_number": "AD7225",
"airline": "Azul Brazilian Airlines",
"status": "Scheduled",
"status_state": "scheduled"
},
{
"flight_number": "LH6954",
"airline": "Lufthansa",
"status": "Scheduled",
"status_state": "scheduled"
},
{
"flight_number": "S48765",
"airline": "Azores Airlines",
"status": "Scheduled",
"status_state": "scheduled"
}
],
"source": "airportia"
},
{
"flight_number": "X32138",
"airline": "TUI fly Germany",
"origin": {
"iata": "FRA"
},
"destination": {
"iata": "FUE",
"name": "Fuerteventura"
},
"date": "2026-11-18",
"scheduled_local": "2026-11-18T06:00:00+01:00",
"scheduled_utc": "2026-11-18T05:00:00Z",
"status": "Delayed",
"status_state": "delayed",
"source": "airportia"
}
]flight_number,airline,origin,destination,date,scheduled_local,scheduled_utc,actual_local,actual_utc,delay_minutes,status,status_state,source
X37106,TUI fly Germany,"{""iata"":""FRA""}","{""iata"":""BVC"",""name"":""Boa Vista""}",2026-11-18,2026-11-18T05:00:00+01:00,2026-11-18T04:00:00Z,2026-11-18T05:00:00+01:00,2026-11-18T04:00:00Z,0,En-Route,active,airportia
TP575,TAP Portugal,"{""iata"":""FRA""}","{""iata"":""LIS"",""name"":""Lisbon""}",2026-11-18,2026-11-18T06:00:00+01:00,2026-11-18T05:00:00Z,,,,Scheduled,scheduled,airportia
X32138,TUI fly Germany,"{""iata"":""FRA""}","{""iata"":""FUE"",""name"":""Fuerteventura""}",2026-11-18,2026-11-18T06:00:00+01:00,2026-11-18T05:00:00Z,,,,Delayed,delayed,airportiaRecorded from our API · 3 items shown · 13 datapoints per itemGET /v1/airportia/airport?code=FRA&mode=departures
13 datapoints
Identity
- statusstring
Location
- status_statestring
Other
- flight_numberstring
- airlinestring
- originobject
- destinationobject
- datestring
- scheduled_localstring
- scheduled_utcstring
- actual_localstring
- actual_utcstring
- delay_minutesnumber
- sourcestring
Playground
Run this API
curl "https://api.perceptlayer.com/v1/airportia/airport?code=FRA&mode=departures" \
-H "X-API-Key: $API_KEY"Airportia · 2 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/airportia/airport | code+2 optional | airportmodedaterows | 1 credit |
GET/v1/airportia/flight-history | query+2 optional | dateflight_numberairlineorigindestinationstatus+5 more | 1 credit |
Overview
About the Airportia API
What you can get
The Airportia API returns Airportia airport boards and flight history as JSON through 2 endpoints.
- Airport board:
airporttakes acode, withmode(departuresorarrivals) andpage. - Flight history:
flight-historytakes aquery(a flight number), withoriginanddestination.
The recorded airport call for FRA departures returns a count of 64 rows, with page 1 and has_more false. Each row has flight_number, airline, origin, destination, scheduled_local, scheduled_utc, actual_local, actual_utc, delay_minutes, status and status_state, and some carry codeshares. The board covers about 25 minutes back to 1.5 hours ahead. The recorded flight-history for LH1392 returns 10 flights over a 10-day window, on one route, FRA to PRG.
How a call works
Read a board, then look back at one flight: GET /v1/airportia/airport?code=FRA&mode=departures, with your key in the X-API-Key header, returns each departure's flight_number. Pass one to GET /v1/airportia/flight-history?query=LH1392 for its recent days. When a flight number flies more than one route, narrow it with origin and destination. Check has_more before asking for the next page of a board. Every successful call costs 1 credit; failed calls cost nothing.
More travel APIs
Use cases
Show the next departures or arrivals at an airport
Use the Airportia API to show the next departures or arrivals at an airportFlag delayed flights with `delay_minutes` and `status`
Use the Airportia API to flag delayed flights with `delay_minutes` and `status`Check how a flight number ran over its last 10 days
Use the Airportia API to check how a flight number ran over its last 10 daysMap codeshare flight numbers to the operating flight
Use the Airportia API to map codeshare flight numbers to the operating flightFAQ
Questions
How much does the Airportia API cost?
Each successful call costs one credit, whichever endpoint you call. New accounts get free credits to start, and credit packs bring the price down as you scale.
How far back does flight history go?
The recorded `flight-history` call covers 10 days, from 2026-11-09 to the day of the call. The response names the window in `window_days` and `oldest_date`.
Are times local or UTC?
Both. Board rows carry `scheduled_local` and `scheduled_utc`, plus `actual_local` and `actual_utc` once a flight has moved.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Is this the official Airportia API?
No. Perceptlayer is an independent service and is not affiliated with Airportia. It returns Airportia data as JSON with a Perceptlayer key, so there is no Airportia developer account, app review or partner approval to get first. It only reads data: if Airportia has an official API and you need to act on your own Airportia account, such as posting, managing orders or reading private data, use that one.
Should I build an Airportia scraper instead?
You can, but an Airportia scraper is code you maintain: page changes break it, requests get blocked, and Airportia's terms govern how you collect data. The Airportia API gives you 2 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Airportia API with 100 free credits
No credit card. Failed calls are never billed.