The Flight Labs API was built to provide a simple way of accessing global aviation data for real-time and historical flights as well as allow customers to tap into an extensive data set of airline routes and other up-to-date aviation-related information.
Quickstart
Requests to the REST API are made using a straightforward HTTP GET URL structure and responses are provided in lightweight JSON format.
Example API Request:
https://goflightlabs.com/flights?access_key=YOUR_ACCESS_KEY
Flight Delay
This endpoint will allow you to retrieve the delay from a flight.
Also, this endpoint will provide you with the SCHEDULED boarding, departure, landing and arrival times. And, as well, you will be receiving the ACTUAL boarding, departure, landing and arrival times.
Example API Request:
https://goflightlabs.com/flight_delay?access_key=YOUR_ACCESS_KEY&numberICAO=SKU605
HTTP GET Request Parameters:
Object | Description |
---|---|
access_key |
[Required] Your API access key, which can be found in your acccount dashboard. |
numberICAO |
[Required] Icaos Flight number (Ex: SKU605) |
Example API Response:
{
"success": true,
"data": {
"departure_times": {
"boarding_schedule_time": "07:50AM -03",
"boarding_actual_time": "09:00AM -03",
"departure_schedule_time": "08:00AM -03",
"departure_actual_time": "09:23AM -03",
"delay": " Less than 10 minutes "
},
"arrival_times": {
"landing_schedule_time": "11:00AM -04",
"landing_actual_time": "12:30PM -04",
"arrival_schedule_time": "11:10AM -04",
"arrival_actual_time": "12:45PM -04",
"delay": " 20-40 minutes "
}
}
}
API Response Objects:
Response Object | Description |
---|---|
departure_times | Returns the boarding and departure times data. Format: Array |
departure_times > boarding_schedule_time |
Returns the schedule time of the boarding. HH:MM GMT code (ex: 07:50 AM -3) |
departure_times > boarding_actual_time |
Returns the actual time of the boarding. HH:MM GMT code (ex: 09:00 AM -3). |
departure_times > departure_schedule_time |
Returns the schedule time of the departure (take-off). HH:MM GMT code (ex: 08:00 AM -3) |
departure_times > departure_actual_time |
Returns the actual time of the departure (take-off). HH:MM GMT code (ex: 09:23 AM -3) |
departure_times > delay |
Returns the recognized delay between boarding actual and departure actual times. String (Ex: “Less than 10 minutes) |
arrival_time |
Returns the landing and arrival times data. Format: Array |
arrival_times > landing_schedule_time |
Returns the schedule time of the landing. HH:MM GMT code (ex: 11:00 AM -4) |
arrival_times > landing_actual_time |
Returns the actual time of the landing. HH:MM GMT code (ex: 12:20 AM -4) |
arrival_times > arrival_schedule_time |
Returns the schedule time of the arrival. HH:MM GMT code (ex: 11:10 AM -4) |
arrival_times > arrival_actual_time |
Returns the actual time of the arrival. HH:MM GMT code (ex: 12:30 AM -4) |
arrival_times > delay |
Returns the recognized delay between landing actual and arrival actual times. String (Ex: “10-20 minutes”) |