Links
🎯

Flight Tracking API

With this API you will be able to track any plane with its number.
API endpoint for this API is: https://api.flightapi.io/airline

Guide

Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
You can generate an API key from your Dashboard at any time.
Here is the list of default parameters you have to use with this API:
Parameters
Description
Type
api_key required
This is your personal API key. You can find this on your Dashboard.
String
num required
This is the official flight number. You should know this in advance.
String
name required
This is the airline code.
String
date required
This is the date for which you wan to track this plane. Format - YYYYMMDD
String

Usage

You have to send a GET request to https://api.flightapi.io/airline along with all the parameters.
Take a look at how you might call this API using various different coding languages.
curl
Node
Python
curl "https://api.flightapi.io/airline/api_key?num=flight-number&name=airline-code&date=date-for-tracking"
// require the Unirest or any other module to make an HTTP GET request
const unirest = require('unirest')
​
unirest.get('https://api.flightapi.io/airline/api_key?num=flight-number&name=airline-code&date=date-for-tracking')
.then(response => {
console.log(response.body);
})
.catch(error => {
console.log(error);
});
​
​
// Set your API key before making the request
import requests
​
resp = requests.get('https://api.flightapi.io/airline/api_key?num=flight-number&name=airline-code&date=date-for-tracking')
print (resp.json())

Response

The sample response of the API will look somewhat like this.
// Sample Response
​
[
{
"departure": [
{
"Airport:": "LAX",
"Scheduled Time:": "1:52 PM, Jun 16",
"Terminal - Gate:": "Terminal 7",
"More Airport Info:": ""
}
]
},
{
"arrival": [
{
"Airport:": "SFO",
"Scheduled Time:": "3:28 PM, Jun 16",
"Terminal - Gate:": "Terminal 3",
"More Airport Info:": ""
}
]
}
]
It is just a sample API response. Some objects will have more attributes. A new array might also be there.