Back

Aviation REST API - AviationStack


If you are building a website or an app that shows the latest flight and airport information or track flights, then you need high-speed, real-time, and accurate data.

AviationStack is a REST API that provides real-time flight status and global aviation data. More than 5,000 companies worldwide are using aviationstack to power booking platforms, map visualizations, and flight tracking applications.

AviationStack
AviationStack

AviationStack API gets the data from over 10,000 airports, 19,000 airplanes, 300 airplane types, and 13,000 airlines. The API also provides accurate information from more than 9,000 cities in over 250 countries. And it presents data from more than 500 aviation taxes.

Aviation REST API AviationStack

Features of AviationStack API

Extensive Data: Provides all types of aviation data, including real-time flight status, historical flights, schedules, airline routes, airports, aircrafts, and more.

Global Coverage: Supported by strong backbone of aviation data-sources worldwide that provides accurate data of any global flight at any time.

Scalable: API is built on top of scalable cloud infrastructure, capable of handling any volume, from thousands of requests per month to millions per minute.

High Uptime: API has maintained 99.9% uptime.

Easy Integration: Easy to integrate in your project. API supports a simple HTTP GET request-response model that provides data in JSON format.

Secure: Secured API with 256-bit HTTPS Encryption. Each registered aviationstack account is associated with a unique API access key, which is used to authenticate with the API.

Extensive Documentation: Provides extensive documentation that shows how to use API and also featuring some essential few lines of code.

Fair Pricing: Starts with free basic plans up to 10000 requests per month. If you need to send more requests, then the plan starts from $49.99.

Getting Started with AviationStack API

AviationStack API is easy to use REST API. You need to send HTTP GET request to get the response data in JSON format from your preferred client-side or server-side language.

First, you need to sign-up for free and get your authentication key immediately.

Once you get your authentication key, start sending HTTP GET request to the API from your preferred language and get the response, as shown below.

https://api.aviationstack.com/v1/flights?access_key=YOUR_ACCESS_KEY
Example API Response:
{
    "pagination": {
        "limit": 100,
        "offset": 0,
        "count": 100,
        "total": 1669022
    },
    "data": [
        {
            "flight_date": "2019-12-12",
            "flight_status": "active",
            "departure": {
            "airport": "San Francisco International",
            "timezone": "America/Los_Angeles",
            "iata": "SFO",
            "icao": "KSFO",
            "terminal": "2",
            "gate": "D11",
            "delay": 13,
            "scheduled": "2019-12-12T04:20:00+00:00",
            "estimated": "2019-12-12T04:20:00+00:00",
            "actual": "2019-12-12T04:20:13+00:00",
            "estimated_runway": "2019-12-12T04:20:13+00:00",
            "actual_runway": "2019-12-12T04:20:13+00:00"
        },
        "arrival": {
            "airport": "Dallas/Fort Worth International",
            "timezone": "America/Chicago",
            "iata": "DFW",
            "icao": "KDFW",
            "terminal": "A",
            "gate": "A22",
            "baggage": "A17",
            "delay": 0,
            "scheduled": "2019-12-12T04:20:00+00:00",
            "estimated": "2019-12-12T04:20:00+00:00",
            "actual": null,
            "estimated_runway": null,
            "actual_runway": null
        },
        "airline": {
            "name": "American Airlines",
            "iata": "AA",
            "icao": "AAL"
        },
        "flight": {
            "number": "1004",
            "iata": "AA1004",
            "icao": "AAL1004",
            "codeshared": null
        },
        "aircraft": {
            "registration": "N160AN",
            "iata": "A321",
            "icao": "A321",
            "icao24": "A0F1BB"
        },
        "live": {
            "updated": "2019-12-12T10:00:00+00:00",
            "latitude": 36.28560000,
            "longitude": -106.80700000,
            "altitude": 8846.820,
            "direction": 114.340,
            "speed_horizontal": 894.348,
            "speed_vertical": 1.188,
            "is_ground": false
        }
    }, 
    [...]
    ]
}

Visit AviationStack documentation to know more about it.