Skip to content

Latest commit

 

History

History

aviationstack

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Description

Real-time Flight Status & Global Aviation Data API

Example Request

  • Curl
curl "https://api.aviationstack.com/v1/flights?access_key={{token}}"
  • Raw
GET /v1/flights?access_key={{token}} HTTP/1.1
Host: api.aviationstack.com
...

Response

  • Success
{
    "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",
                ...
            }
        }
    ]
}
  • Error
{
    "error": {
        "code": "invalid_access_key",
        "message": "You have not supplied a valid API Access Key."
    }
}

Regex

[a-z0-9]{32}

Example API key

tue3sv9hzsey1me4l7fwq3t46u5k8wag