Future Flights Prediction API
The future flights endpoint requires you to input a date that is ahead of the present day.
NOTE: The Future Flights Endpoint predicts schedules for future dates using an algorithm based on historical data. Note that recent changes within the last year may not be fully reflected. For more accurate and specific flight details, especially for recent changes or unique flights, consider using the Flight Prices Endpoint.
To retrieve DEPARTURES at a specific airport, searching by its IATA code:
https://goflightlabs.com/advanced-future-flights?access_key=YOUR_ACCESS_KEY&type=departure&iataCode=BER&date=2024-12-29
HTTP GET Request Parameters:
Parameter | Description | |
---|---|---|
access_key |
required | Your API access key, which can be found in your account dashboard. |
iataCode |
required | Airport IATA code. |
type |
required | Either "departure" or "arrival" as both within the same query is not possible. |
date |
required | Future date in YYYY-MM-DD format |
Example API Response:
{
"success": true,
"data": [
{
"sortTime": "2024-04-02T05:00:00+00:00",
"departureTime": {
"timeAMPM": "6:00AM",
"time24": "06:00"
},
"arrivalTime": {
"timeAMPM": "7:40AM",
"time24": "07:40"
},
"carrier": {
"fs": "FR",
"name": "Ryanair",
"flightNumber": "3311"
},
"operatedBy": "Operated by Malta Air on behalf of Ryanair",
"airport": {
"fs": "BGY",
"city": "Milan"
}
},
{...}
]
}
API Response Objects:
Response Object | Description |
---|---|
sortTime |
The flight's sorting time in ISO 8601 format. |
departureTime > timeAMPM |
The departure time in 12-hour AM/PM format. |
departureTime > time24 |
The departure time in 24-hour format. |
arrivalTime > timeAMPM |
The arrival time in 12-hour AM/PM format. |
arrivalTime > time24 |
The arrival time in 24-hour format. |
carrier > fs |
The flight status code of the carrier. |
carrier > name |
The name of the carrier. |
carrier > flightNumber |
The flight number of the carrier. |
operatedBy |
Information about the operator of the flight. |
airport > fs |
The flight status code of the airport. |
airport > city |
The city where the airport is located. |